TYPE UDT_OB82
STRUCT
OB82_EV_CLASS : BYTE ; //16#39, Event class 3, Entering event state, Internal fault event
OB82_FLT_ID : BYTE ; //16#XX, Fault identifcation code
OB82_PRIORITY : BYTE ; //Priority of OB Execution
OB82_OB_NUMBR : BYTE ; //82 (Organization block 82, OB82)
OB82_RESERVED_1 : BYTE ; //Reserved for system
OB82_IO_FLAG : BYTE ; //Input (01010100), Output (01010101)
OB82_MDL_ADDR : WORD ; //Base address of module with fault
OB82_MDL_DEFECT : BOOL ; //Module defective
OB82_INT_FAULT : BOOL ; //Internal fault
OB82_EXT_FAULT : BOOL ; //External fault
OB82_PNT_INFO : BOOL ; //Point information
OB82_EXT_VOLTAGE : BOOL ; //External voltage low
OB82_FLD_CONNCTR : BOOL ; //Field wiring connector missing
OB82_NO_CONFIG : BOOL ; //Module has no configuration data
OB82_CONFIG_ERR : BOOL ; //Module has configuration error
OB82_MDL_TYPE : BYTE ; //Type of module
OB82_SUB_MDL_ERR : BOOL ; //Sub-Module is missing or has error
OB82_COMM_FAULT : BOOL ; //Communication fault
OB82_MDL_STOP : BOOL ; //Module is stopped
OB82_WTCH_DOG_FLT : BOOL ; //Watch dog timer stopped module
OB82_INT_PS_FLT : BOOL ; //Internal power supply fault
OB82_PRIM_BATT_FLT : BOOL ; //Primary battery is in fault
OB82_BCKUP_BATT_FLT : BOOL ; //Backup battery is in fault
OB82_RESERVED_2 : BOOL ; //Reserved for system
OB82_RACK_FLT : BOOL ; //Rack fault, only for bus interface module
OB82_PROC_FLT : BOOL ; //Processor fault
OB82_EPROM_FLT : BOOL ; //EPROM fault
OB82_RAM_FLT : BOOL ; //RAM fault
OB82_ADU_FLT : BOOL ; //ADU fault
OB82_FUSE_FLT : BOOL ; //Fuse fault
OB82_HW_INTR_FLT : BOOL ; //Hardware interupt input in fault
OB82_RESERVED_3 : BOOL ; //Reserved for system
OB82_DATE_TIME : DATE_AND_TIME ; //Date and time OB82 started
END_STRUCT
END_TYPE
TYPE UDT_OB85
STRUCT
OB85_EV_CLASS : BYTE ; //16#35 Event class 3
OB85_FLT_ID : BYTE ; //16#XX, Fault identification code
OB85_PRIORITY : BYTE ; //Priority of OB Execution
OB85_OB_NUMBR : BYTE ; //85 (Organization block 85, OB85)
OB85_RESERVED_1 : BYTE ; //Reserved for system
OB85_RESERVED_2 : BYTE ; //Reserved for system
OB85_RESERVED_3 : INT ; //Reserved for system
OB85_ERR_EV_CLASS : BYTE ; //Class of event causing error
OB85_ERR_EV_NUM : BYTE ; //Number of event causing error
OB85_OB_PRIOR : BYTE ; //Priority of OB causing error
OB85_OB_NUM : BYTE ; //Number of OB causing error
OB85_DATE_TIME : DATE_AND_TIME ; //Date and time OB85 started
END_STRUCT
END_TYPE
TYPE UDT_OB86
STRUCT
OB86_EV_CLASS : BYTE ; //16#38/39 Event class 3
OB86_FLT_ID : BYTE ; //16#C1/C4/C5, Fault identifcation code
OB86_PRIORITY : BYTE ; //Priority of OB Execution
OB86_OB_NUMBR : BYTE ; //86 (Organization block 86, OB86)
OB86_RESERVED_1 : BYTE ; //Reserved for system
OB86_RESERVED_2 : BYTE ; //Reserved for system
OB86_MDL_ADDR : WORD ; //Base address of IM module in rack with fault
OB86_RACKS_FLTD : ARRAY [0 .. 31 ] OF BOOL ; //Racks in fault
OB86_DATE_TIME : DATE_AND_TIME ; //Date and time OB86 started
END_STRUCT
END_TYPE
TYPE UDT_OB121
STRUCT
OB121_EV_CLASS : BYTE ; //16#25, Event class 2, Entering event state, Internal fault event
OB121_SW_FLT : BYTE ; //16#XX Software programming fault
OB121_PRIORITY : BYTE ; //Priority of OB Execution
OB121_OB_NUMBR : BYTE ; //121 (Organization block 121, OB121)
OB121_BLK_TYPE : BYTE ; //16#88/8A/8B/8C/8E Type of block fault occured in
OB121_RESERVED_1 : BYTE ; //Reserved for system
OB121_FLT_REG : WORD ; //16#XX Specific register that caused fault
OB121_BLK_NUM : WORD ; //Number of block that programming fault occured in
OB121_PRG_ADDR : WORD ; //Address in block where programming fault occured
OB121_DATE_TIME : DATE_AND_TIME ; //Date and time OB121 started
END_STRUCT
END_TYPE
TYPE UDT_OB122
STRUCT
OB122_EV_CLASS : BYTE ; //16#25, Event class 2, Entering event state, Internal fault event
OB122_SW_FLT : BYTE ; //16#XX Software error code
OB122_PRIORITY : BYTE ; //Priority of OB Execution
OB122_OB_NUMBR : BYTE ; //122 (Organization block 122, OB122)
OB122_BLK_TYPE : BYTE ; //16#88/8A/8B/8C/8E Type of block fault occured in
OB122_MEM_AREA : BYTE ; //Memory area where access error occured
OB122_MEM_ADDR : WORD ; //Memory address where access error occured
OB122_BLK_NUM : WORD ; //Block number in which error occured
OB122_PRG_ADDR : WORD ; //Program address where error occured
OB122_DATE_TIME : DATE_AND_TIME ; //Date and time OB1 started
END_STRUCT
END_TYPE