|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FB27 FLT GLB : Global faults and warning |
|
|
|
Network 1: Assigned faults 00-15 %X0 to %X15 IF #FLT_MODULE AND "DI MAIN GLB".P00.FLT_CmpltMaACK_Imp THEN #"2_FAULT_00_15" := 0; END_IF; |
|
|
|
Network 2: 1_X4 Pasteurization_Unit_PU_SFM11 #"1_FAULT_00_15".%X4 := "HMI KEY".SetPoint.Pasteurization_Unit_PU > "HMI KEY".SetPoint.Pasteurization_Unit_PU + 1000.0; |
|
|
|
Network 3: 1_WRN_GLB_X0 Air pressure failure #"1_WARN_00_15".%X0 := NOT "E00 AirPressur ok"; |
|
|
|
Network 4: Complete module fault message "ModulDa".P01.STS."1_ModuleFLT_00_31" := DW#16#FFFFFFFF AND (SHL_DWORD(IN := #"1_FAULT_00_15", N := 16) OR #"2_FAULT_00_15"); "ModulDa".P01.STS."2_ModuleFLT_00_31" := DW#16#FFFFFFFF AND (SHL_DWORD(IN := #"3_FAULT_00_15", N := 16) OR #"4_FAULT_00_15"); #FLT_MODULE := 0 <> ("ModulDa".P01.STS."1_ModuleFLT_00_31" OR "ModulDa".P01.STS."2_ModuleFLT_00_31"); |
|