|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FB38 MAN P01 : Manual mode Medium Connection |
|
|
|
Network 1: Manual mode P01 IF #ST_MANU AND NOT #SUPPORT_SEQ THEN IF "DI MAIN GLB".P00.CmpltMaRun_Imp THEN #G120C.ManuVelocity_2 := LREAL_TO_LINT("DI OUT P01".G120C.DRV.Support.SetVelo / 15.0); END_IF; // Assign slider velocithy, and set value IF "DI OUT P01".G120C.DRV.MC_MoveJog.Busy AND NOT "DI OUT P01".G120C.DRV.MC_MoveVelocity.Busy THEN IF #G120C.ManuVelocity_2 < 100 AND "HMI KEY".P01.G120C.F3_Jog_slow_WP AND "M00 Imp 2.5Hz" THEN #G120C.ManuVelocity_2 := #G120C.ManuVelocity_2 + 1; ELSIF #G120C.ManuVelocity_2 > 0 AND "HMI KEY".P01.G120C.F4_Jog_slow_HP AND "M00 Imp 2.5Hz" THEN #G120C.ManuVelocity_2 := #G120C.ManuVelocity_2 - 1; END_IF; #tmp_sav_lword := #G120C.ManuVelocity_2_sav XOR #G120C.ManuVelocity_2; #G120C.ManuVelocity_2_sav := #G120C.ManuVelocity_2; IF #tmp_sav_lword <> 0 THEN #tmp_sav_lword := #tmp_sav_lword AND #G120C.ManuVelocity_2_sav; IF #tmp_sav_lword >= 0 THEN "HMI KEY".P01.GLB.SliderControl := LINT_TO_INT(IN := #G120C.ManuVelocity_2); ELSE RETURN; END_IF; ELSE #G120C.ManuVelocity_2_sav := #G120C.ManuVelocity_2 := INT_TO_LINT(IN := "HMI KEY".P01.GLB.SliderControl); END_IF; END_IF; // Set value velocity IF "HMI KEY".P01.G120C.F17_GoToAbsoPos THEN "DI OUT P01".G120C.DRV.MC_MoveVelocity.Velocity := #G120C.ManuVelocity_1; ELSE "DI OUT P01".G120C.DRV.Support.SetVelo := LINT_TO_LREAL(IN := #G120C.ManuVelocity_2 * 15); END_IF;
END_IF; #G120C.DlyOFF(IN := "DI OUT P01".V107.FB_WP OR "DI OUT P01".V106.FB_WP OR "DI OUT P01".V110.FB_WP, PT := t#800ms); // Enabling drive "HMI KEY".P01.G120C.F12_Enable_WP := "DI OUT P01".G120C.DRV.Support.InOperation AND NOT "DI OUT P01".G120C.Com_FLT AND "DI OUT P03".V312.Output > 0.0 AND #G120C.DlyOFF.Q;
// Off switching MovVelocity IF "HMI KEY".P01.G120C.F20_Jog_fast_HP OR "DI OUT P01".G120C.HALT_01 OR "DI OUT P01".G120C.DRV.MC_MoveVelocity.Busy THEN #G120C.CmdExe_slow_fast_WP := FALSE; ELSIF "HMI KEY".P01.G120C.F19_Jog_fast_WP THEN #G120C.CmdExe_slow_fast_WP := "HMI KEY".P01.G120C.F12_Enable_WP; END_IF; |
|
|
|
Network 2: V101 Product pumpe pressure gully safety valve - enable "HMI KEY".P01.V101.F12_Enable_WP := "E00 AirPressur ok" AND "E00 Estp FdB"; |
|
|
|
Network 3: V102 Product pre-condition CIP gully safety valve - enable "HMI KEY".P01.V102.F12_Enable_WP := "E00 AirPressur ok" AND "E00 Estp FdB"; |
|
|
|
Network 4: V103 Product pre-condition CIP gully N.O. valve - enable "HMI KEY".P01.V103.F12_Enable_WP := "DI OUT P01".V103.RLS AND NOT"DI OUT P01".V103.Com_FLT; |
|
|
|
Network 5: V104 Product pre-condition CIP gully valve - enable "HMI KEY".P01.V104.F12_Enable_WP := "E00 AirPressur ok" AND "E00 Estp FdB"; |
|
|
|
Network 6: V105 Product inlet gully valve - enable "HMI KEY".P01.V105.F12_Enable_WP := "DI OUT P01".V105.RLS AND "E00 Estp FdB" AND NOT "DI OUT P01".V105.Com_FLT; |
|
|
|
Network 7: V106 Product inlet valve - enable "HMI KEY".P01.V106.F12_Enable_WP := "DI OUT P01".V106.RLS AND NOT ("DI OUT P01".V106.Com_FLT OR "DI OUT P01".V110.FB_WP); |
|
|
|
Network 8: V107 Product circulation double seat valve - enable "HMI KEY".P01.V107.F12_Enable_WP := "DI OUT P01".V107.RLS; |
|
|
|
Network 9: V108 Product circulation seat valve above V107 - enable "HMI KEY".P01.V108.F12_Enable_WP := "E00 AirPressur ok" AND "E00 Estp FdB"; |
|
|
|
Network 10: V109 Product circulation seat valve below V107 - enable "HMI KEY".P01.V109.F12_Enable_WP := "E00 AirPressur ok" AND "E00 Estp FdB"; |
|
|
|
Network 11: V110 Water inlet double seat valve - enable "HMI KEY".P01.V110.F12_Enable_WP := "DI OUT P01".V110.RLS AND NOT ("DI OUT P01".V110.Com_FLT OR "DI OUT P01".V106.FB_WP); |
|
|
|
Network 12: V111 Water inlet seat valve below V110 - enable "HMI KEY".P01.V111.F12_Enable_WP := "E00 AirPressur ok" AND "E00 Estp FdB"; |
|
|
|
Network 13: Monitoring manual operation *** IF NOT #ST_MANU THEN RETURN; ELSIF #MODULE_HP AND NOT #Support.HomPos_REg THEN "DI MAIN P01".M01.Init := TRUE; END_IF; #Support.HomPos_REg := #MODULE_HP; IF #SUPPORT_SEQ THEN RETURN; END_IF; |
|
|
|
Network 14: V101 Product pumpe pressure gully safety valve - execute IF NOT "HMI KEY".P01.V101.F12_Enable_WP OR "HMI KEY".P01.V101.F1_HP THEN "DI OUT P01".V101.CmdExe_WP := FALSE; ELSIF "HMI KEY".P01.V101.F2_WP THEN "DI OUT P01".V101.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 15: V102 Product pre-condition CIP gully safety valve - execute IF NOT "HMI KEY".P01.V102.F12_Enable_WP OR "HMI KEY".P01.V102.F1_HP THEN "DI OUT P01".V102.CmdExe_WP := FALSE; ELSIF "HMI KEY".P01.V102.F2_WP THEN "DI OUT P01".V102.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 16: V103 Product pre-condition CIP gully N.O. valve - execute "DI OUT P01".V103.VLV_O.CmdExe_WP := "HMI KEY".P01.V103.F12_Enable_WP AND NOT "HMI KEY".P01.V103.F1_HP AND ("HMI KEY".P01.V103.F2_WP OR "DI OUT P01".V103.FB_WP); |
|
|
|
Network 17: V104 Product pre-condition CIP gully valve - execute IF NOT "HMI KEY".P01.V104.F12_Enable_WP OR "HMI KEY".P01.V104.F1_HP THEN "DI OUT P01".V104.CmdExe_WP := FALSE; ELSIF "HMI KEY".P01.V104.F2_WP THEN "DI OUT P01".V104.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 18: V105 Product inlet gully valve - execute "DI OUT P01".V105.VLV_O.CmdExe_WP := "HMI KEY".P01.V105.F12_Enable_WP AND NOT "HMI KEY".P01.V105.F1_HP AND ("HMI KEY".P01.V105.F2_WP OR "DI OUT P01".V105.FB_WP); |
|
|
|
Network 19: V106 Product inlet valve - execute "DI OUT P01".V106.VLV_O.CmdExe_WP := "HMI KEY".P01.V106.F12_Enable_WP AND NOT "HMI KEY".P01.V106.F1_HP AND ("HMI KEY".P01.V106.F2_WP OR "DI OUT P01".V106.FB_WP); |
|
|
|
Network 20: V107 Product circulation double seat valve - execute "DI OUT P01".V107.VLV_O.CmdExe_WP := "HMI KEY".P01.V107.F12_Enable_WP AND NOT "HMI KEY".P01.V107.F1_HP AND ("HMI KEY".P01.V107.F2_WP OR "DI OUT P01".V107.FB_WP); |
|
|
|
Network 21: V108 Product circulation seat valve above - execute IF NOT "HMI KEY".P01.V108.F12_Enable_WP OR "HMI KEY".P01.V108.F1_HP THEN "DI OUT P01".V108.CmdExe_WP := FALSE; ELSIF "HMI KEY".P01.V108.F2_WP THEN "DI OUT P01".V108.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 22: V109 Product circulation seat valve below - execute IF NOT "HMI KEY".P01.V109.F12_Enable_WP OR "HMI KEY".P01.V109.F1_HP THEN "DI OUT P01".V109.CmdExe_WP := FALSE; ELSIF "HMI KEY".P01.V109.F2_WP THEN "DI OUT P01".V109.CmdExe_WP := TRUE; END_IF; |
|
|
|
Network 23: V110 Water inlet double seat valve - execute "DI OUT P01".V110.VLV_O.CmdExe_WP := "HMI KEY".P01.V110.F12_Enable_WP AND NOT "HMI KEY".P01.V110.F1_HP AND ("HMI KEY".P01.V110.F2_WP OR "DI OUT P01".V110.FB_WP); |
|
|
|
Network 24: V111 Water inlet seat valve below V110 - execute IF NOT "HMI KEY".P01.V111.F12_Enable_WP OR "HMI KEY".P01.V111.F1_HP THEN "DI OUT P01".V111.CmdExe_WP := FALSE; ELSIF "HMI KEY".P01.V111.F2_WP THEN "DI OUT P01".V111.CmdExe_WP := TRUE; END_IF; |
|