|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FB SEQ202 GLB : SBT draining |
|
|
|
Network 1: Define SSM last step #SSM(LAST_STEP := 2); |
|
|
|
Network 2: CASE function corresponds to SEQ202 CASE #SSM.S.stepact OF 0: // Waiting for sequencer to start #SSM.S.stepd := #SSM.S.steps;
1: // SEQ506 Execute pressure maintenance IF #SSM.S.stepfc THEN "HMI KEY".Execute.Pressure_Maintenance_in_STH_Start := FALSE; ELSE #SEQ506.SSM.S.steph := "DI MAIN GLB".SEQ200.SEQ202.SSM.S.steph OR NOT "DI MAIN GLB".P00.AutoCmpltMa_run; #SEQ506.SSM.S.steps := "DI MAIN GLB".SEQ200.Support.SEQ202_Start AND NOT "DI MAIN GLB".TOF_CmpltMaOFF_Pulse.Q; #SEQ506(); #SSM.S.stepd := #SEQ506.Done; END_IF;
2: // SEQ517 Execute SBT draining #SEQ517.SSM.S.steph := "DI MAIN GLB".SEQ200.SEQ202.SSM.S.steph OR NOT "DI MAIN GLB".P00.AutoCmpltMa_run; #SEQ517.SSM.S.steps := "DI MAIN GLB".SEQ200.Support.SEQ202_Start AND NOT "DI MAIN GLB".TOF_CmpltMaOFF_Pulse.Q; #SEQ517(); IF #SEQ517.Done AND "DI MAIN GLB".SEQ200.Support.SEQ202_Start AND "DI OUT P03".Support.SBT_Volum_Meter = 0.0 THEN "DI MAIN GLB".SEQ200.Support.SEQ202_Start := FALSE; END_IF; END_CASE; |
|