|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FB39 MAN P01 : Manual mode |
|
|
|
Netzwerk 1: V90_X Gripper linear Xaxis - enable
IF #ST_MANU AND NOT #SUPPORT_SEQ THEN // Set value velocity "DI OUT P01".V90_X.DRV.Support.SetVelo := #V90_X.ManuVelocity_1; // Jog slow WP (button function) #V90_X.CmdExe_slow_WP := "HMI KEY".P01.V90_X.F3_Jog_slow_WP; // Jog slow HP (button function) #V90_X.CmdExe_slow_HP := "HMI KEY".P01.V90_X.F4_Jog_slow_HP; END_IF; // Enabling HP "HMI KEY".P01.V90_X.F11_Enable_HP := "DI OUT P01".V90_X.DRV.Support.InOperation AND "E01 V90_X LimMin" AND "DI OUT P01".V90_X.DRV.Support.ActPos >= "DI OUT P01".V90_X.DRV.Support.SW_EndLim_MinPos AND NOT ("DI OUT P01".V90_X.DRV.Support.SW_EndLim_Min OR "DI OUT P01".V90_X.drv_com_flt); // Enabling WP "HMI KEY".P01.V90_X.F12_Enable_WP := "DI OUT P01".V90_X.DRV.Support.InOperation // ready AND "E01 V90_X LimMax" AND "DI OUT P01".V90_X.DRV.Support.ActPos <= "DI OUT P01".V90_X.DRV.Support.SW_EndLim_MaxPos AND NOT ("DI OUT P01".V90_X.DRV.Support.SW_EndLim_Max OR "DI OUT P01".V90_X.drv_com_flt); |
|
|
|
Netzwerk 2: V90_Y Gripper linear Yaxis - enable
IF #ST_MANU AND NOT #SUPPORT_SEQ THEN // Set value velocity "DI OUT P01".V90_Y.DRV.Support.SetVelo := #V90_Y.ManuVelocity_1; // Jog slow WP (button function) #V90_Y.CmdExe_slow_WP := "HMI KEY".P01.V90_Y.F3_Jog_slow_WP; // Jog slow HP (button function) #V90_Y.CmdExe_slow_HP := "HMI KEY".P01.V90_Y.F4_Jog_slow_HP; END_IF; // Enabling HP "HMI KEY".P01.V90_Y.F11_Enable_HP := "DI OUT P01".V90_Y.DRV.Support.InOperation AND "E01 V90_Y LimMin" AND "DI OUT P01".V90_Y.DRV.Support.ActPos >= "DI OUT P01".V90_Y.DRV.Support.SW_EndLim_MinPos AND NOT ("DI OUT P01".V90_Y.DRV.Support.SW_EndLim_Min OR "DI OUT P01".V90_Y.drv_com_flt); // Enabling WP "HMI KEY".P01.V90_Y.F12_Enable_WP := "DI OUT P01".V90_Y.DRV.Support.InOperation AND "E01 V90_Y LimMax" AND "DI OUT P01".V90_Y.DRV.Support.ActPos <= "DI OUT P01".V90_Y.DRV.Support.SW_EndLim_MaxPos AND NOT ("DI OUT P01".V90_Y.DRV.Support.SW_EndLim_Max OR "DI OUT P01".V90_Y.drv_com_flt); |
|
|
|
Netzwerk 3: V90_Z Gripper linear Zaxis - enable
IF #ST_MANU AND NOT #SUPPORT_SEQ THEN // Set value velocity "DI OUT P01".V90_Z.DRV.Support.SetVelo := #V90_Z.ManuVelocity_1; // Jog slow WP (button function) #V90_Z.CmdExe_slow_WP := "HMI KEY".P01.V90_Z.F3_Jog_slow_WP; // Jog slow HP (button function) #V90_Z.CmdExe_slow_HP := "HMI KEY".P01.V90_Z.F4_Jog_slow_HP; END_IF; // Enabling HP "HMI KEY".P01.V90_Z.F11_Enable_HP := "DI OUT P01".V90_Z.DRV.Support.InOperation AND "E01 V90_Z LimMin" AND "DI OUT P01".V90_Z.DRV.Support.ActPos >= "DI OUT P01".V90_Z.DRV.Support.SW_EndLim_MinPos AND NOT ("DI OUT P01".V90_Z.DRV.Support.SW_EndLim_Min OR "DI OUT P01".V90_Z.drv_com_flt); // Enabling WP "HMI KEY".P01.V90_Z.F12_Enable_WP := "DI OUT P01".V90_Z.DRV.Support.InOperation AND "E01 V90_Z LimMax" AND "DI OUT P01".V90_Z.DRV.Support.ActPos <= "DI OUT P01".V90_Z.DRV.Support.SW_EndLim_MaxPos AND NOT ("DI OUT P01".V90_Z.DRV.Support.SW_EndLim_Max OR "DI OUT P01".V90_Z.drv_com_flt); |
|
|
|
Netzwerk 4: V90_R Gripper rotary Raxis - enable
IF #ST_MANU AND NOT #SUPPORT_SEQ THEN // Set value velocity "DI OUT P01".V90_R.DRV.Support.SetVelo := #V90_R.ManuVelocity_1; // Jog slow WP (button function) #V90_R.CmdExe_slow_WP := "HMI KEY".P01.V90_R.F3_Jog_slow_WP; // Jog slow HP (button function) #V90_R.CmdExe_slow_HP := "HMI KEY".P01.V90_R.F4_Jog_slow_HP; END_IF; // Enabling HP "HMI KEY".P01.V90_R.F11_Enable_HP := "DI OUT P01".V90_R.DRV.Support.InOperation // ready AND "DI OUT P01".V90_R.DRV.Support.ActPos >= "DI OUT P01".V90_R.DRV.Support.SW_EndLim_MinPos AND NOT ("DI OUT P01".V90_R.DRV.Support.SW_EndLim_Min OR "DI OUT P01".V90_R.drv_com_flt); // Enabling WP "HMI KEY".P01.V90_R.F12_Enable_WP := "DI OUT P01".V90_R.DRV.Support.InOperation // ready AND "DI OUT P01".V90_R.DRV.Support.ActPos <= "DI OUT P01".V90_R.DRV.Support.SW_EndLim_MaxPos AND NOT ("DI OUT P01".V90_R.DRV.Support.SW_EndLim_Max OR "DI OUT P01".V90_R.drv_com_flt); |
|
|
|
Netzwerk 5: M01 Filter feeder conveyor 1 - enable
"HMI KEY".P01.M01.F12_Enable_WP := ("M00 ManuCmpltMa run" OR "M00 AutoCmpltMa run") AND "M00 GLB Estop" AND NOT "DI OUT P01"."M01".drv_com_flt; // M01 off switching IF NOT "HMI KEY".P01.M01.F12_Enable_WP OR "HMI KEY".P01.M01.F1_HP THEN "DI OUT P01".M01.DRV.CmdExe_WP := FALSE; END_IF; |
|
|
|
Netzwerk 6: M02 Filter feeder conveyor 2 - enable
"HMI KEY".P01.M02.F12_Enable_WP := ("M00 ManuCmpltMa run" OR "M00 AutoCmpltMa run") AND "M00 GLB Estop" AND NOT "DI OUT P01"."M02".drv_com_flt; // M02 off switching IF NOT "HMI KEY".P01.M02.F12_Enable_WP OR "HMI KEY".P01.M02.F1_HP THEN "DI OUT P01".M02.DRV.CmdExe_WP := FALSE; END_IF; |
|
|
|
Netzwerk 7: M03 Filter outlet batch conveyor - enable
"HMI KEY".P01.M03.F12_Enable_WP := ("M00 ManuCmpltMa run" OR "M00 AutoCmpltMa run") AND "M00 GLB Estop" AND NOT "DI OUT P01"."M03".drv_com_flt; // M03 off switching IF NOT "HMI KEY".P01.M03.F12_Enable_WP OR "HMI KEY".P01.M03.F1_HP THEN "DI OUT P01".M03.DRV.CmdExe_WP := FALSE; END_IF; |
|
|
|
Netzwerk 8: C01 Gripper jaws - enable
"HMI KEY".P01.C01.F11_Enable_HP := "HMI KEY".P01.C01.F12_Enable_WP := "DI OUT P01".C01.VLV_OC.SetIdleTime > 0 AND NOT "DI OUT P01".C01.vlv_com_flt AND "E00 GLB AirPrsr"; |
|
|
|
Netzwerk 9: C02 Pusher Nok - enable
"HMI KEY".P01.C02.F11_Enable_HP := "HMI KEY".P01.C02.F12_Enable_WP := "DI OUT P01".C02.VLV_OC.SetIdleTime > 0 AND NOT "DI OUT P01".C02.vlv_com_flt AND "E00 GLB AirPrsr"; |
|
|
|
Netzwerk 10: C03 QA Pusher (Quality Assurance) - enable
"HMI KEY".P01.C03.F11_Enable_HP := "HMI KEY".P01.C03.F12_Enable_WP := "DI OUT P01".C03.VLV_OC.SetIdleTime > 0 AND NOT "DI OUT P01".C03.vlv_com_flt AND "E00 GLB AirPrsr"; |
|
|
|
Netzwerk 11: O2Vx TopView camer - enable
|
|
|
|
Netzwerk 12: O2Vx TextView camer - enable
|
|
|
|
Netzwerk 13: Hitachi Printer - enable
|
|
|
|
Netzwerk 14: Monitoring pneumatics manual operation ***
IF NOT #ST_MANU THEN RETURN; ELSIF #MODULE_HP AND NOT #GLB_HomPos_REg THEN "M01 Init" := TRUE; END_IF; #GLB_HomPos_REg := #MODULE_HP; IF #SUPPORT_SEQ THEN RETURN; END_IF; |
|
|
|
Netzwerk 15: V90_X Gripper linear Xaxis - execute
#V90_X.CmdExe_slow_fast_WP := "HMI KEY".P01.V90_X.F12_Enable_WP AND NOT "HMI KEY".P01.V90_X.F21_HALT_GoToPos AND #V90_X.CmdExe_slow_WP;
#V90_X.CmdExe_slow_fast_HP := "HMI KEY".P01.V90_X.F11_Enable_HP AND NOT "HMI KEY".P01.V90_X.F21_HALT_GoToPos AND #V90_X.CmdExe_slow_HP; |
|
|
|
Netzwerk 16: V90_Y Gripper linear Yaxis - execute
#V90_Y.CmdExe_slow_fast_WP := "HMI KEY".P01.V90_Y.F12_Enable_WP AND NOT "HMI KEY".P01.V90_Y.F21_HALT_GoToPos AND #V90_Y.CmdExe_slow_WP;
#V90_Y.CmdExe_slow_fast_HP := "HMI KEY".P01.V90_Y.F11_Enable_HP AND NOT "HMI KEY".P01.V90_Y.F21_HALT_GoToPos AND #V90_Y.CmdExe_slow_HP; |
|
|
|
Netzwerk 17: V90_Z Gripper linear Zaxis - execute
#V90_Z.CmdExe_slow_fast_WP := "HMI KEY".P01.V90_Z.F12_Enable_WP AND NOT "HMI KEY".P01.V90_Z.F21_HALT_GoToPos AND #V90_Z.CmdExe_slow_WP;
#V90_Z.CmdExe_slow_fast_HP := "HMI KEY".P01.V90_Z.F11_Enable_HP AND NOT "HMI KEY".P01.V90_Z.F21_HALT_GoToPos AND #V90_Z.CmdExe_slow_HP; |
|
|
|
Netzwerk 18: V90_R Gripper rotary Raxis - execute
#V90_R.CmdExe_slow_fast_WP := "HMI KEY".P01.V90_R.F12_Enable_WP AND NOT "HMI KEY".P01.V90_R.F21_HALT_GoToPos AND #V90_R.CmdExe_slow_WP;
#V90_R.CmdExe_slow_fast_HP := "HMI KEY".P01.V90_R.F11_Enable_HP AND NOT "HMI KEY".P01.V90_R.F21_HALT_GoToPos AND #V90_R.CmdExe_slow_HP; |
|
|
|
Netzwerk 19: M01 Filter inlet conveyor 1 - execute
IF "HMI KEY".P01.M01.F2_WP AND NOT #M01_F2_WP_REg THEN "DI OUT P01".M01.DRV.CmdExe_WP := "HMI KEY".P01.M01.F12_Enable_WP; END_IF; #M01_F2_WP_REg := "HMI KEY".P01.M01.F2_WP; |
|
|
|
Netzwerk 20: M02 Filter inlet conveyor 2 - execute
IF "HMI KEY".P01.M02.F2_WP AND NOT #M02_F2_WP_REg THEN "DI OUT P01".M02.DRV.CmdExe_WP := "HMI KEY".P01.M02.F12_Enable_WP; END_IF; #M02_F2_WP_REg := "HMI KEY".P01.M02.F2_WP; |
|
|
|
Netzwerk 21: M03 Filter outlet batch conveyor - execute
IF "HMI KEY".P01.M03.F2_WP AND NOT #M03_F2_WP_REg THEN "DI OUT P01".M03.DRV.CmdExe_WP := "HMI KEY".P01.M03.F12_Enable_WP; END_IF; #M03_F2_WP_REg := "HMI KEY".P01.M03.F2_WP; |
|
|
|
Netzwerk 22: C01 Gripper jaws - execute
"DI OUT P01".C01.VLV_OC.CmdExe_WP := "HMI KEY".P01.C01.F12_Enable_WP AND NOT "HMI KEY".P01.C01.F1_HP AND ("HMI KEY".P01.C01.F2_WP OR "DI OUT P01".C01.FB_WP);
"DI OUT P01".C01.VLV_OC.CmdExe_HP := "HMI KEY".P01.C01.F11_Enable_HP AND NOT "HMI KEY".P01.C01.F2_WP AND ("HMI KEY".P01.C01.F1_HP OR "DI OUT P01".C01.FB_HP); |
|
|
|
Netzwerk 23: C02 Pusher Nok - execute
"DI OUT P01".C02.VLV_OC.CmdExe_WP := "HMI KEY".P01.C02.F12_Enable_WP AND NOT "HMI KEY".P01.C02.F1_HP AND ("HMI KEY".P01.C02.F2_WP OR "DI OUT P01".C02.FB_WP);
"DI OUT P01".C02.VLV_OC.CmdExe_HP := "HMI KEY".P01.C02.F11_Enable_HP AND NOT "HMI KEY".P01.C02.F2_WP AND ("HMI KEY".P01.C02.F1_HP OR "DI OUT P01".C02.FB_HP); |
|
|
|
Netzwerk 24: C03 QA Pusher (Quality Assurance) - execute
"DI OUT P01".C03.VLV_OC.CmdExe_WP := "HMI KEY".P01.C03.F12_Enable_WP AND NOT "HMI KEY".P01.C03.F1_HP AND ("HMI KEY".P01.C03.F2_WP OR "DI OUT P01".C03.FB_WP);
"DI OUT P01".C03.VLV_OC.CmdExe_HP := "HMI KEY".P01.C03.F11_Enable_HP AND NOT "HMI KEY".P01.C03.F2_WP AND ("HMI KEY".P01.C03.F1_HP OR "DI OUT P01".C03.FB_HP); |
|