11/25/2010 2:56 PM | |
Posts: 2 Rating: (0) |
Hello! Did you find how to do it? Best Regards |
1/23/2024 3:00 PM | |
Joined: 12/26/2014 Last visit: 10/31/2024 Posts: 5 Rating: (0) |
I had the same problem and I managed to fix it via the help of this article: https://www.dmcinfo.com/latest-thinking/blog/id/9656/siemens-s7-graph-tips-and-tricks Basically, I use an external (SCADA) bit to start the transition from current step to a new step I put in S_SEL and the mode has been switched to manual by SW_MAN: //--- Set DISP_SACT if action done U EXT_ACT_S U S_ON U( L S_NO L S_SEL ==I ) S DISP_SACT //--- Set S_OFF to off the current S_NO U MAN_ON U ACT_S U SACT_DISP U( L S_NO L S_SEL <>I ) S S_OFF //--- Set DISP_SALL after S_NO=0 U MAN_ON U ACT_S U SACT_DISP U( L S_NO L 0 ==I ) S DISP_SALL //--- Set S_SELOK after S_NO=S_SEL and SALL_DISP U MAN_ON U ACT_S U SALL_DISP S S_SELOK //--- Set S_ON after S_NO=S_SEL and SALL_DISP U MAN_ON U ACT_S U SALL_DISP U( L S_NO L S_SEL ==I ) S S_ON //--- Reset MAN_ACT if action done (S_NO=S_SEL and SACT_DISP) U ACT_S U SACT_DISP U( L S_NO L S_SEL ==I ) R DISP_SALL S DISP_SACT R S_SELOK R S_ON R S_OFF R ACT_S //--- Resetting inputs to prevent non started situations //--- Reset DISP_SALL U DISP_SALL U "Pulse2s" R DISP_SALL //--- Reset DISP_SALL U DISP_SACT U "Pulse2s" R SACT_DISP //--- Reset S_OFF if U S_OFF U "Pulse2s" R S_OFF //--- Reset S_ON U S_ON U "Pulse2s" R S_ON //--- Reset S_SELOK U S_SELOK U "Pulse2s" R S_SELOK //--- Reset ACT_S UN MAN_ON R ACT_S |
This contribution was helpful to1 thankful Users |
Follow us on