Step 7 Need some help about interlock in S7 GRAPH (sorry for english)

tyobes

Level-1
Beiträge
3
Reaktionspunkte
0
Zuviel Werbung?
-> Hier kostenlos registrieren
Hello everyone
FIRST of all, sorry because I did not write in german but I need some help please
I'm new here and also I studying automation and I want some help in interlock in s7 graph, so my problem is I want to do conditional actions in a single STEP, as in this image
http://i.imgur.com/i4WnoQJ.png
I can do this if I have just one action, But in my case I have 4 actions and I need In one step doing 4 actions conditional, so there is my case
http://i.imgur.com/8RXNKNN.png
and want to execute OPEV12 if P1 is actived , OPEV72 if P7 is actived , OPEV102 if P10 is activated, OPEV42 if P4 is activated, I want to do this in one step with using INTERLOCK, and like the first picture. here are more details :
If P1 ON
P4ON
P7 ON
P10 ON
-------> execute this actions: OPEV 12 and OPEV72 and OPEV102 and OPEV42 at the same time
If P1 OFF , P4 ON , P7 OFF , P10 ON
-----> execute just OPEV42 and OPEV102
If P1 ON , P4 Off , P7 OFF , P10 OFF
-----> execute just OPEV12.
etc.... so I have a lot of cases depending to P1,P4,P7,P10, that why I prefer conditional actions (interlocks) , I can use alternative branch but if I use alternative branch I must to do 16 alternative branchs !!
Awaiting your help


thanks To have taken the time to read my subject and in addition in English :)
 
There can only be one interlock condition at one step so you would have to use alternative or simultanious steps to do it with interlocks. You could also use one qction in the GRAPH and do the logic in an FC or FB using an AND.
 
Zuviel Werbung?
-> Hier kostenlos registrieren
There can only be one interlock condition at one step so you would have to use alternative or simultanious steps to do it with interlocks. You could also use one qction in the GRAPH and do the logic in an FC or FB using an AND.

Hello, thanks for your reply, I prefer doing this

"do the logic in an FC or FB using an AND "

but how to do this ? thanks :)
 
If your step is active, you call the FC and pass the interlock conditions as input parameter. All conditions are passed to an AND, which then performs the action.
 
If your step is active, you call the FC and pass the interlock conditions as input parameter. All conditions are passed to an AND, which then performs the action.

thanks for your reply, But i work in FB bloc, how can I call FC bloc ? or do you suggest me to write my program in FC block ?
 
Zuletzt bearbeitet:
Zurück
Oben