Home

 

Erfahrung

 

Referenzen

 

Sondermaschinen

 

MSR-Maschinen

 

SPS-Programmierung

 

Visualisierung HMI

 

Elektro CAD

 

Leistungsprofil

 

Personalia

 

SW-Development

 

Dokumentation

 

 

 

Impressum & DSGVO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FB20 MAIN GLB Global operating modes and signals evaluation

 

 

 

Netzwerk 1: Extern acknowledgeable faults

 

IF #FLT_MODULE AND "M00 FLT CmpltMaACK Imp" THEN

    "DI MAIN P01".SEQ1.SSM1.S."1_FAULT_00_15" :=

    "DI OUT P01".V90_X.drv_fault_00_07 :=

    "DI OUT P01".V90_Y.drv_fault_00_07 :=

    "DI OUT P01".V90_Z.drv_fault_00_07 :=

    "DI OUT P01".V90_R.drv_fault_00_07 := 0;

END_IF;

 

 

 

Netzwerk 2: 1_FLT_P01_X0_X11 V90_X Gripper linear Xaxis Motion

 

#"1_FAULT_00_15".%X0 := "DI OUT P01".V90_X.DRV.MC_Power.Error;

#"1_FAULT_00_15".%X1 := "DI OUT P01".V90_X.DRV.MC_Reset.Error;

#"1_FAULT_00_15".%X2 := "DI OUT P01".V90_X.DRV.MC_Home.Error;

#"1_FAULT_00_15".%X3 := "DI OUT P01".V90_X.DRV.MC_Halt.Error;

#"1_FAULT_00_15".%X4 := "DI OUT P01".V90_X.DRV.MC_MoveAbsolute.Error;

#"1_FAULT_00_15".%X5 := "DI OUT P01".V90_X.DRV.MC_MoveRelative.Error;

#"1_FAULT_00_15".%X6 := "DI OUT P01".V90_X.DRV.MC_MoveJog.Error;

#"1_FAULT_00_15".%X7 := "DI OUT P01".V90_X.drv_fault_00_07.%X0;

#"1_FAULT_00_15".%X8 := "DI OUT P01".V90_X.drv_fault_00_07.%X1;

#"1_FAULT_00_15".%X9 := "DI OUT P01".V90_X.drv_fault_00_07.%X2;

#"1_FAULT_00_15".%X10 := "DI OUT P01".V90_X.drv_fault_00_07.%X3;

#"1_FAULT_00_15".%X11 := "DI OUT P01".V90_X.drv_com_flt;

 

 

 

Netzwerk 3: 2_FLT_P01_X0_X11 V90_Y Gripper linear Yaxis Motion

 

#"2_FAULT_00_15".%X0 := "DI OUT P01".V90_Y.DRV.MC_Power.Error;

#"2_FAULT_00_15".%X1 := "DI OUT P01".V90_Y.DRV.MC_Reset.Error;

#"2_FAULT_00_15".%X2 := "DI OUT P01".V90_Y.DRV.MC_Home.Error;

#"2_FAULT_00_15".%X3 := "DI OUT P01".V90_Y.DRV.MC_Halt.Error;

#"2_FAULT_00_15".%X4 := "DI OUT P01".V90_Y.DRV.MC_MoveAbsolute.Error;

#"2_FAULT_00_15".%X5 := "DI OUT P01".V90_Y.DRV.MC_MoveRelative.Error;

#"2_FAULT_00_15".%X6 := "DI OUT P01".V90_Y.DRV.MC_MoveJog.Error;

#"2_FAULT_00_15".%X7 := "DI OUT P01".V90_Y.drv_fault_00_07.%X0;

#"2_FAULT_00_15".%X8 := "DI OUT P01".V90_Y.drv_fault_00_07.%X1;

#"2_FAULT_00_15".%X9 := "DI OUT P01".V90_Y.drv_fault_00_07.%X2;

#"2_FAULT_00_15".%X10 := "DI OUT P01".V90_Y.drv_fault_00_07.%X3;

#"2_FAULT_00_15".%X11 := "DI OUT P01".V90_Y.drv_com_flt;

 

 

 

Netzwerk 4: 3_FLT_P01_X0_X11 V90_Z Gripper linear Zaxis

 

#"3_FAULT_00_15".%X0 := "DI OUT P01".V90_Z.DRV.MC_Power.Error;

#"3_FAULT_00_15".%X1 := "DI OUT P01".V90_Z.DRV.MC_Reset.Error;

#"3_FAULT_00_15".%X2 := "DI OUT P01".V90_Z.DRV.MC_Home.Error;

#"3_FAULT_00_15".%X3 := "DI OUT P01".V90_Z.DRV.MC_Halt.Error;

#"3_FAULT_00_15".%X4 := "DI OUT P01".V90_Z.DRV.MC_MoveAbsolute.Error;

#"3_FAULT_00_15".%X5 := "DI OUT P01".V90_Z.DRV.MC_MoveRelative.Error;

#"3_FAULT_00_15".%X6 := "DI OUT P01".V90_Z.DRV.MC_MoveJog.Error;

#"3_FAULT_00_15".%X7 := "DI OUT P01".V90_Z.drv_fault_00_07.%X0;

#"3_FAULT_00_15".%X8 := "DI OUT P01".V90_Z.drv_fault_00_07.%X1;

#"3_FAULT_00_15".%X9 := "DI OUT P01".V90_Z.drv_fault_00_07.%X2;

#"3_FAULT_00_15".%X10 := "DI OUT P01".V90_Z.drv_fault_00_07.%X3;

#"3_FAULT_00_15".%X11 := "DI OUT P01".V90_Z.drv_com_flt;

 

 

 

Netzwerk 5: 4_FLT_P01_X0_X11 V90_R Gripper rotary Raxis

 

#"4_FAULT_00_15".%X0 := "DI OUT P01".V90_R.DRV.MC_Power.Error;

#"4_FAULT_00_15".%X1 := "DI OUT P01".V90_R.DRV.MC_Reset.Error;

#"4_FAULT_00_15".%X2 := "DI OUT P01".V90_R.DRV.MC_Home.Error;

#"4_FAULT_00_15".%X3 := "DI OUT P01".V90_R.DRV.MC_Halt.Error;

#"4_FAULT_00_15".%X4 := "DI OUT P01".V90_R.DRV.MC_MoveAbsolute.Error;

#"4_FAULT_00_15".%X5 := "DI OUT P01".V90_R.DRV.MC_MoveRelative.Error;

#"4_FAULT_00_15".%X6 := "DI OUT P01".V90_R.DRV.MC_MoveJog.Error;

#"4_FAULT_00_15".%X7 := "DI OUT P01".V90_R.drv_fault_00_07.%X0;

#"4_FAULT_00_15".%X8 := "DI OUT P01".V90_R.drv_fault_00_07.%X1;

#"4_FAULT_00_15".%X9 := "DI OUT P01".V90_R.drv_fault_00_07.%X2;

#"4_FAULT_00_15".%X10 := "DI OUT P01".V90_R.drv_fault_00_07.%X3;

#"4_FAULT_00_15".%X11 := "DI OUT P01".V90_R.drv_com_flt;

 

 

 

Netzwerk 6: 5_FLT_P01_X0 M01 Filter inlet conveyor 1

 

#"5_FAULT_00_15".%X0 := "DI OUT P01".M01.drv_com_flt;

 

 

 

Netzwerk 7: 5_FLT_P01_X1 M02 Filter inlet conveyor 2

 

#"5_FAULT_00_15".%X1 := "DI OUT P01".M02.drv_com_flt;

 

 

 

Netzwerk 8: 5_FLT_P01_X2 M03 Filter outlet batch conveyor

 

#"5_FAULT_00_15".%X2 := "DI OUT P01".M03.drv_com_flt;

 

 

 

Netzwerk 9: 5_FLT_P01_X3 C01 Gripper jaws

 

#"5_FAULT_00_15".%X3 := "DI OUT P01".C01.vlv_com_flt;

 

 

 

Netzwerk 10: 5_FLT_P01_X4 C02 Pusher Nok

 

#"5_FAULT_00_15".%X4 := "DI OUT P01".C02.vlv_com_flt;

 

 

 

Netzwerk 11: 5_FLT_P01_X5 C03 QA Pusher (Quality Assurance)

 

#"5_FAULT_00_15".%X5 := "DI OUT P01".C03.vlv_com_flt;

 

 

 

Netzwerk 12: 5_FLT_P01_X6 O2Vx TopView camer

 

#"5_FAULT_00_15".%X6 := "DI OUT P01".TopViewCam.Support.OUT.oxError;

 

 

 

Netzwerk 13: 5_FLT_P01_X7 O2Vx TextView camer

 

#"5_FAULT_00_15".%X7 := "DI OUT P01".TextViewCam.Support.OUT.oxError;

 

 

 

Netzwerk 14: 5_FLT_P01_X8 M01 Filter inlet conveyor 1 starter bimetal

 

#"5_FAULT_00_15".%X8 := "DI OUT P01".M01.FBIntern.FR_Starter.DI02_FLT;

 

 

 

Netzwerk 15: 5_FLT_P01_X9 M02 Filter inlet conveyor 2 starter bimetal

 

#"5_FAULT_00_15".%X9 := "DI OUT P01".M02.FBIntern.FR_Starter.DI02_FLT;

 

 

 

Netzwerk 16: 5_FLT_P01_X10 M03 Filter outlet batch conveyor bimetal

 

#"5_FAULT_00_15".%X10 := "DI OUT P01".M03.FBIntern.FR_Starter.DI02_FLT;

 

 

 

Netzwerk 17: 5_FLT_P01_X11 Scanner ERROR

 

#"5_FAULT_00_15".%X11 := "DI MAIN P01".SEQ1.SSM1.S."1_FAULT_00_15".%X0;

 

 

 

Netzwerk 18: 5_FLT_P01_X12 Scanner BUFFER not writen

 

IF "DI MAIN P01".SEQ1.SSM1.S."1_FAULT_00_15".%X1 THEN

    #"5_FAULT_00_15".%X12 := TRUE;

ELSE

    #"5_FAULT_00_15".%X12 := FALSE;

END_IF;

 

 

 

Netzwerk 19: 1_WRN_P01_X0 SEQ1 set run time exceeded

 

"1_WARN_00_15".%X0 := "DI MAIN P01".MoDa.RunTimeCntr_seq1 > "DI MAIN P01".MoDa.RunTimeSetP_seq1;

 

 

 

Netzwerk 20: 1_WRN_P01_X1 Xaxis reference Nok

 

#"1_WARN_00_15".%X1 := NOT "DI OUT P01".V90_X.DRV.Support.HomeDone;

 

 

 

Netzwerk 21: 1_WRN_P01_X2 Yaxis reference Nok

 

#"1_WARN_00_15".%X2 := NOT "DI OUT P01".V90_Y.DRV.Support.HomeDone;

 

 

 

Netzwerk 22: 1_WRN_P01_X3 Zaxis reference Nok

 

#"1_WARN_00_15".%X3 := NOT "DI OUT P01".V90_Z.DRV.Support.HomeDone;

 

 

 

Netzwerk 23: 1_WRN_P01_X4 Raxis reference Nok

 

#"1_WARN_00_15".%X4 := NOT "DI OUT P01".V90_R.DRV.Support.HomeDone;

 

 

 

Netzwerk 24: Complete module fault message

 

"DatOfMod".P01.STS."1_ModuleFlr_00_31" := DW#16#FFFFFFFF AND (SHL_DWORD(IN := #"1_FAULT_00_15", N := 16) OR #"2_FAULT_00_15");

"DatOfMod".P01.STS."2_ModuleFlr_00_31" := DW#16#FFFFFFFF AND (SHL_DWORD(IN := #"3_FAULT_00_15", N := 16) OR #"4_FAULT_00_15");

"DatOfMod".P01.STS."3_ModuleFlr_00_31" := DW#16#FFFFFFFF AND (SHL_DWORD(IN := #"5_FAULT_00_15", N := 16) OR #"6_FAULT_00_15");

#FLT_MODULE := 0 <> ("DatOfMod".P01.STS."1_ModuleFlr_00_31" OR "DatOfMod".P01.STS."2_ModuleFlr_00_31" OR "DatOfMod".P01.STS."3_ModuleFlr_00_31");