Rockwell Automation Logix5000 Controllers Major, Minor, and I/O Faults Programming Manual User Manual
Page 22

Chapter 1 Major faults
To simplify access to the MajorFaultRecord attribute, complete these steps to
create a user-defined data type.
1. In the Controller Organizer, right-click User-Defined and choose New
Data Type.
2. On the New Data Type window, enter the data type information as shown
in the following table.
Data Type: FAULTRECORD
Name
FAULTRECORD
Description
Stores the MajorFaultRecord attribute or MinorFaultRecord attribute of the
PROGRAM object.
Members
Name
Data Type Style
Description
Time_Low
DINT
Decimal
Lower 32 bits of the fault timestamp value
Time_High
DINT
Decimal
Upper 32 bits of the fault timestamp value
Type
INT
Decimal
Fault type (program, I/O, and so forth)
Code
INT
Decimal
Unique code for the fault
Info
DINT[8]
Hex
Fault specific information
3. Click OK.
22
Rockwell Automation Publication 1756-PM014G-EN-P – October 2014