Notifications
Clear all

add tag/variable S71200

11 Posts
2 Users
2 Reactions
1,914 Views
(@ilham-pratama)
Posts: 7
Member
Topic starter
 

why the variable/tag that i add can't run or not connected to the plc, here the file ( i also want to add the plc file but the file not supported) thx.


 
Posted : 13/05/2024 3:54 a.m. CET
Topic Tags
Dominik
(@d-vermehren-2542)
Posts: 24
Member Admin
 

Hello @ilham-pratama

this is because your variable is an S7String and is bound to a boolean property. You can easily fix this by setting two rules on the 'LampOn'- property. The first rule can look like this:

image

Your condition says if the variable is True set the property to True. You simply set your second rule to false as here:

image

The rules are checked one after the other in QuickHMI. If the first rule applies, the next rules are ignored. If not, the second rule is checked.

I hope this can help you. I wish you a good day.


 
Posted : 16/05/2024 9:34 a.m. CET
(@ilham-pratama)
Posts: 7
Member
Topic starter
 

@d-vermehren-2542 thankyou for your answer the problem has been solved, but now i have problem to conect plc s7 1200 (as seen in the picture) i also do follow how to connect to plc s7 1200 mecanism (if i do simulation all is normal).

 

bad status qhmi

 
Posted : 16/05/2024 9:54 a.m. CET
Dominik
(@d-vermehren-2542)
Posts: 24
Member Admin
 

Hello @ilham-pratama

Can the s7 also be reached? If it works with the simulation it seems as if there are problems with your s7.


 
Posted : 16/05/2024 10:05 a.m. CET
(@ilham-pratama)
Posts: 7
Member
Topic starter
 

@d-vermehren-2542 yes i think s7 is reached

 

s71200

 
Posted : 16/05/2024 10:08 a.m. CET
Dominik
(@d-vermehren-2542)
Posts: 24
Member Admin
 

Hello @ilham-pratama

can you please send me the modified project again.


 
Posted : 16/05/2024 10:12 a.m. CET
(@ilham-pratama)
Posts: 7
Member
Topic starter
 

@d-vermehren-2542


 
Posted : 16/05/2024 10:14 a.m. CET
Dominik
(@d-vermehren-2542)
Posts: 24
Member Admin
 

Hello @ilham-pratama

please try this Project:

 


 
Posted : 21/05/2024 7:04 a.m. CET
(@ilham-pratama)
Posts: 7
Member
Topic starter
 

can you send in demo mode?


 
Posted : 21/05/2024 9:01 a.m. CET
Dominik
(@d-vermehren-2542)
Posts: 24
Member Admin
 

Here we go

 


 
Posted : 21/05/2024 11:12 a.m. CET
(@ilham-pratama)
Posts: 7
Member
Topic starter
 

@d-vermehren-2542 thankyou sir, is work properly now, i think the problem is on my plc so i do factory reset and all is work normaly


 
Posted : 22/05/2024 3:35 a.m. CET
Dominik reacted