|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FB58 MAN P03 : Manual Mode Sterile Tank |
|
|
|
Network 1: G320C Product outlet pump - enable IF #ST_MANU AND NOT #SUPPORT_SEQ THEN IF "DI MAIN GLB".P00.CmpltMaRun_Imp THEN #G320C.ManuVelocity_2 := LREAL_TO_LINT("DI OUT P03".G320C.DRV.Support.SetVelo / 15.0); END_IF; // Assign slider velocity, and set value IF "DI OUT P03".G320C.DRV.MC_MoveJog.Busy AND NOT "DI OUT P03".G320C.DRV.MC_MoveVelocity.Busy THEN IF #G320C.ManuVelocity_2 < 100 AND "HMI KEY".P03.G320C.F3_Jog_slow_WP AND "M00 Imp 2.5Hz" THEN #G320C.ManuVelocity_2 := #G320C.ManuVelocity_2 + 1; ELSIF #G320C.ManuVelocity_2 > 0 AND "HMI KEY".P03.G320C.F4_Jog_slow_HP AND "M00 Imp 2.5Hz" THEN #G320C.ManuVelocity_2 := #G320C.ManuVelocity_2 - 1; END_IF; #tmp_sav_lword := #G320C.ManuVelocity_2_sav XOR #G320C.ManuVelocity_2; #G320C.ManuVelocity_2_sav := #G320C.ManuVelocity_2; IF #tmp_sav_lword <> 0 THEN #tmp_sav_lword := #tmp_sav_lword AND #G320C.ManuVelocity_2_sav; IF #tmp_sav_lword >= 0 THEN "HMI KEY".P03.GLB.SliderControl := LINT_TO_INT(IN := #G320C.ManuVelocity_2); ELSE RETURN; END_IF; ELSE #G320C.ManuVelocity_2_sav := #G320C.ManuVelocity_2 := INT_TO_LINT(IN := "HMI KEY".P03.GLB.SliderControl); END_IF; END_IF; // Set value velocity IF "HMI KEY".P03.G320C.F17_GoToAbsoPos THEN "DI OUT P03".G320C.DRV.MC_MoveVelocity.Velocity := #G320C.ManuVelocity_1; ELSE "DI OUT P03".G320C.DRV.Support.SetVelo := LINT_TO_LREAL(IN := #G320C.ManuVelocity_2 * 15); END_IF; END_IF; #G320C.DlyOFF(IN := "DI OUT P01".G120C.DRV.Support.LampON AND "DI OUT P03".V312.Output > 0.0 AND "DI OUT P03".V319.FB_WP AND ("DI OUT P01".V106.FB_WP OR "DI OUT P01".V110.FB_WP) OR "E03 LS307 min" AND "DI OUT P03".V316.FB_WP, PT := t#800ms); // Enabling drive "HMI KEY".P03.G320C.F12_Enable_WP := "DI OUT P03".G320C.DRV.Support.InOperation AND NOT "DI OUT P03".G320C.Com_FLT AND #G320C.DlyOFF.Q;
// Off switching MovVelocity IF "HMI KEY".P03.G320C.F20_Jog_fast_HP OR "DI OUT P03".G320C.HALT_01 OR "DI OUT P03".G320C.DRV.MC_MoveVelocity.Busy THEN #G320C.CmdExe_slow_fast_WP := FALSE; ELSIF "HMI KEY".P03.G320C.F19_Jog_fast_WP THEN #G320C.CmdExe_slow_fast_WP := "HMI KEY".P03.G320C.F12_Enable_WP; END_IF; |
|
|
|
Network 2: V301 Air inlet valve - enable "HMI KEY".P03.V301.F12_Enable_WP := "DI OUT P03".V301.RLS AND NOT ("DI OUT P03".V301.Com_FLT OR "DI OUT P03".V302.FB_WP); |
|
|
|
Network 3: V302 CO2 inlet valve - enable "HMI KEY".P03.V302.F12_Enable_WP := "DI OUT P03".V301.RLS AND NOT ("DI OUT P03".V302.Com_FLT OR "DI OUT P03".V301.FB_WP); |
|
|
|
Network 4: V303 Gas blockig valve - enable "HMI KEY".P03.V303.F12_Enable_WP := "DI OUT P03".V303.RLS AND NOT ("DI OUT P03".V311.FB_WP OR "DI OUT P03".V303.Com_FLT); |
|
|
|
Network 5: V304 Bypass N.O valve - enable "HMI KEY".P03.V304.F12_Enable_WP := "DI OUT P03".V304.RLS AND NOT ("DI OUT P03".V304.Com_FLT OR "DI OUT P03".V305.CmdExe_WP); |
|
|
|
Network 6: V305 Gully swing check valve - enable "HMI KEY".P03.V305.F12_Enable_WP := "E00 AirPressur ok" AND NOT "DI OUT P03".V304.FB_WP; |
|
|
|
Network 7: V306 Gas outlet N.O valve - enable "HMI KEY".P03.V306.F12_Enable_WP := "DI OUT P03".V306.RLS AND NOT "DI OUT P03".V306.Com_FLT;//NOT ("DI OUT P03".V317.cmdExe_WP OR "DI OUT P03".V306.Com_FLT); |
|
|
|
Network 8: V307 Product gully valve - enable "HMI KEY".P03.V307.F12_Enable_WP := "DI OUT P03".V307.RLS AND "E00 Estp FdB" AND NOT "DI OUT P03".V307.Com_FLT; |
|
|
|
Network 9: V308 Gully ventilation valve - enable "HMI KEY".P03.V308.F12_Enable_WP := "DI OUT P03".V308.RLS AND NOT "DI OUT P03".V308.Com_FLT; //NOT ("DI OUT P03".V311.FB_WP OR "DI OUT P03".V308.Com_FLT); |
|
|
|
Network 10: V309 Product inlet N.O valve - enable "HMI KEY".P03.V309.F12_Enable_WP := "DI OUT P03".V309.RLS AND "E00 Estp FdB" AND NOT "DI OUT P03".V309.Com_FLT; |
|
|
|
Network 11: V310 SBT pressure safety gully valve - enable "HMI KEY".P03.V310.F12_Enable_WP := "E00 AirPressur ok" AND "E00 Estp FdB"; |
|
|
|
Network 12: V311 CIP inlet valve - enable "HMI KEY".P03.V311.F12_Enable_WP := "DI OUT P03".V311.RLS AND NOT "DI OUT P03".V311.Com_FLT; |
|
|
|
Network 13: V312 Product inlet regulating N.O valve - enable "HMI KEY".P03.V312.F12_Enable_WP := "DI MAIN GLB".P00.GLB_Estop; IF NOT "HMI KEY".P03.V312.F12_Enable_WP THEN "DI OUT P03".V312.ManualEnable := "DI OUT P03".V312.ModeActivate := FALSE; ELSIF "DI OUT P03".V312.ManualEnable AND "DI OUT P03".V312.State = 4 AND "DI MAIN GLB".P00.ManuCmpltMa_run THEN "DI OUT P03".V312.ManualValue := "DI OUT P03".V312.Support.ManualValue; END_IF; |
|
|
|
Network 14: V313 Product inlet double seat valve - enable "HMI KEY".P03.V313.F12_Enable_WP := "DI OUT P03".V313.RLS AND "E00 Estp FdB" AND NOT "DI OUT P03".V313.Com_FLT; |
|
|
|
Network 15: V314 Product inlet seat valve above V313 - enable "HMI KEY".P03.V314.F12_Enable_WP := "E00 AirPressur ok"; |
|
|
|
Network 16: V315 Product inlet seat valve below V313 - enable "HMI KEY".P03.V315.F12_Enable_WP := "E00 AirPressur ok" AND "E00 Estp FdB"; |
|
|
|
Network 17: V316 Product outlet double seat valve - enable "HMI KEY".P03.V316.F12_Enable_WP := "DI OUT P03".V316.RLS AND "E00 Estp FdB" AND NOT "DI OUT P03".V316.Com_FLT; |
|
|
|
Network 18: V317 Product outlet seat valve above V316 - enable "HMI KEY".P03.V317.F12_Enable_WP := "E00 AirPressur ok" AND "E00 Estp FdB"; |
|
|
|
Network 19: V318 Product outlet seat valve below V316 - enable "HMI KEY".P03.V318.F12_Enable_WP := "E00 AirPressur ok"; |
|
|
|
Network 20: V319 Double seat bypass valve - enable "HMI KEY".P03.V319.F12_Enable_WP := "DI OUT P03".V319.RLS AND "E00 Estp FdB" AND NOT "DI OUT P03".V319.Com_FLT; |
|
|
|
Network 21: V320 Double seat bypass seat valve below V319 - enable "HMI KEY".P03.V320.F12_Enable_WP := "E00 AirPressur ok" AND "E00 Estp FdB"; |
|
|
|
Network 22: Monitoring manual operation *** IF NOT #ST_MANU THEN RETURN; ELSIF #MODULE_HP AND NOT #Support.HomPos_REg THEN
"DI MAIN P03".M03.Init := TRUE; END_IF; #Support.HomPos_REg := #MODULE_HP; IF #SUPPORT_SEQ THEN RETURN; END_IF; |
|
|
|
Network 23: G320C Product outlet pump - execute (*#G320C.CmdExe_slow_fast_WP := "HMI KEY".P03.G320C.F12_Enable_WP AND #G320C.CmdExe_slow_WP;*) // not desired |
|
|
|
Network 24: V301 Air inlet valve - execute "DI OUT P03".V301.VLV_O.CmdExe_WP := "HMI KEY".P03.V301.F12_Enable_WP AND NOT "HMI KEY".P03.V301.F1_HP AND ("HMI KEY".P03.V301.F2_WP OR "DI OUT P03".V301.FB_WP); |
|
|
|
Network 25: V302 CO2 inlet valve - execute "DI OUT P03".V302.VLV_O.CmdExe_WP := "HMI KEY".P03.V302.F12_Enable_WP AND NOT "HMI KEY".P03.V302.F1_HP AND ("HMI KEY".P03.V302.F2_WP OR "DI OUT P03".V302.FB_WP); |
|
|
|
Network 26: V303 Gas blocking valve - execute "DI OUT P03".V303.VLV_O.CmdExe_WP := "HMI KEY".P03.V303.F12_Enable_WP AND NOT "HMI KEY".P03.V303.F1_HP AND ("HMI KEY".P03.V303.F2_WP OR "DI OUT P03".V303.FB_WP); |
|
|
|
Network 27: V304 Bypass N.O valve - execute "DI OUT P03".V304.VLV_O.CmdExe_WP := "HMI KEY".P03.V304.F12_Enable_WP AND NOT "HMI KEY".P03.V304.F1_HP AND ("HMI KEY".P03.V304.F2_WP OR "DI OUT P03".V304.FB_WP); |
|
|
|
Network 28: V305 Gully swing check valve - execute IF NOT "HMI KEY".P03.V305.F12_Enable_WP OR "HMI KEY".P03.V305.F1_HP THEN "DI OUT P03".V305.CmdExe_WP := FALSE; ELSIF "HMI KEY".P03.V305.F2_WP THEN "DI OUT P03".V305.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 29: V306 Gas outlet N.O valve - execute "DI OUT P03".V306.VLV_O.CmdExe_WP := "HMI KEY".P03.V306.F12_Enable_WP AND NOT "HMI KEY".P03.V306.F1_HP AND ("HMI KEY".P03.V306.F2_WP OR "DI OUT P03".V306.FB_WP); |
|
|
|
Network 30: V307 Product gully valve - execute "DI OUT P03".V307.VLV_O.CmdExe_WP := "HMI KEY".P03.V307.F12_Enable_WP AND NOT "HMI KEY".P03.V307.F1_HP AND ("HMI KEY".P03.V307.F2_WP OR "DI OUT P03".V307.FB_WP); |
|
|
|
Network 31: V308 Gully ventilation valve - execute "DI OUT P03".V308.VLV_O.CmdExe_WP := "HMI KEY".P03.V308.F12_Enable_WP AND NOT "HMI KEY".P03.V308.F1_HP AND ("HMI KEY".P03.V308.F2_WP OR "DI OUT P03".V308.FB_WP); |
|
|
|
Network 32: V309 Product inlet N.O valve - execute "DI OUT P03".V309.VLV_O.CmdExe_WP := "HMI KEY".P03.V309.F12_Enable_WP AND NOT "HMI KEY".P03.V309.F1_HP AND ("HMI KEY".P03.V309.F2_WP OR "DI OUT P03".V309.FB_WP); |
|
|
|
Network 33: V310 SBT pressure safety gully valve - execute IF NOT "HMI KEY".P03.V310.F12_Enable_WP OR "HMI KEY".P03.V310.F1_HP THEN "DI OUT P03".V310.CmdExe_WP := FALSE; ELSIF "HMI KEY".P03.V310.F2_WP THEN "DI OUT P03".V310.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 34: V311 CIP inlet valve - execute "DI OUT P03".V311.VLV_O.CmdExe_WP := "HMI KEY".P03.V311.F12_Enable_WP AND NOT "HMI KEY".P03.V311.F1_HP AND ("HMI KEY".P03.V311.F2_WP OR "DI OUT P03".V311.FB_WP); |
|
|
|
Network 35: V312 Product inlet regulating N.O valve - execute IF "DI OUT P03".V312.Reset THEN "DI OUT P03".V312.ManualValue := 0; ELSIF "HMI KEY".P03.V312.F3_Jog_slow_WP AND "DI OUT P03".V312.ManualValue < 100.0 AND "M00 Imp 2.5Hz" THEN "DI OUT P03".V312.ManualValue := "DI OUT P03".V312.ManualValue + 1.0; ELSIF "HMI KEY".P03.V312.F4_Jog_slow_HP AND "DI OUT P03".V312.ManualValue > 0.0 AND "M00 Imp 2.5Hz" THEN "DI OUT P03".V312.ManualValue := "DI OUT P03".V312.ManualValue - 1.0; END_IF; |
|
|
|
Network 36: V313 Product inlet double seat valve - execute "DI OUT P03".V313.VLV_O.CmdExe_WP := "HMI KEY".P03.V313.F12_Enable_WP
|
|
|
|
Network 37: V314 Product inlet seat valve above V313 - execute IF NOT "HMI KEY".P03.V314.F12_Enable_WP OR "HMI KEY".P03.V314.F1_HP THEN "DI OUT P03".V314.CmdExe_WP := FALSE; ELSIF "HMI KEY".P03.V314.F2_WP THEN "DI OUT P03".V314.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 38: V315 Product inlet seat valve below V313 - execute IF NOT "HMI KEY".P03.V315.F12_Enable_WP OR "HMI KEY".P03.V315.F1_HP THEN "DI OUT P03".V315.CmdExe_WP := FALSE; ELSIF "HMI KEY".P03.V315.F2_WP THEN "DI OUT P03".V315.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 39: V316 Product outlet double seat valve - execute "DI OUT P03".V316.VLV_O.CmdExe_WP := "HMI KEY".P03.V316.F12_Enable_WP AND NOT "HMI KEY".P03.V316.F1_HP AND ("HMI KEY".P03.V316.F2_WP OR "DI OUT P03".V316.FB_WP); |
|
|
|
Network 40: V317 Product outlet seat valve above V316 - execute IF NOT "HMI KEY".P03.V317.F12_Enable_WP OR "HMI KEY".P03.V317.F1_HP THEN "DI OUT P03".V317.CmdExe_WP := FALSE; ELSIF "HMI KEY".P03.V317.F2_WP THEN "DI OUT P03".V317.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 41: V318 Product outlet seat valve below V316 - execute IF NOT "HMI KEY".P03.V318.F12_Enable_WP OR "HMI KEY".P03.V318.F1_HP THEN "DI OUT P03".V318.CmdExe_WP := FALSE; ELSIF "HMI KEY".P03.V318.F2_WP THEN "DI OUT P03".V318.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 42: V319 Double seat bypass valve - execute "DI OUT P03".V319.VLV_O.CmdExe_WP := "HMI KEY".P03.V319.F12_Enable_WP AND NOT "HMI KEY".P03.V319.F1_HP AND ("HMI KEY".P03.V319.F2_WP OR "DI OUT P03".V319.FB_WP); |
|
|
|
Network 43: V320 Double seat bypass seat valve below V319 - execute IF NOT "HMI KEY".P03.V320.F12_Enable_WP OR "HMI KEY".P03.V320.F1_HP THEN "DI OUT P03".V320.CmdExe_WP := FALSE; ELSIF "HMI KEY".P03.V320.F2_WP THEN "DI OUT P03".V320.CmdExe_WP := TRUE; END_IF; |
|