beautypg.com

For informa – Rockwell Automation 1768-L45S Compact GuardLogix Controllers User Manual

Page 111

background image

Rockwell Automation Publication 1768-UM002C-EN-P - April 2012

111

Monitor Status and Handle Faults

Chapter 8

Access FaultRecord Attributes

Create a user-defined structure to simplify access to the MajorFaultRecord and
SafetyTaskFaultRecord attributes.

For more information on using the GSV and SSV instructions, refer to the Input/
Output Instructions chapter of the Logix5000 Controllers General Instructions
Reference Manual, publication

1756-RM003

.

Capture Fault Information

The SafetyStatus and SafetyTaskFaultRecord attributes can capture information
about non-recoverable faults. Use a GSV instruction in the controller fault
handler to capture and store fault information. The GSV instruction can be used
in a standard task in conjunction with a controller fault handler routine that
clears the fault and lets the standard tasks continue executing.

Table 33 - Parameters for Accessing FaultRecord Attributes

Name

Data Type

Style

Description

TimeLow

DINT

Decimal

Lower 32 bits of the fault timestamp value

TimeHigh

DINT

Decimal

Upper 32 bits of the fault timestamp value

Type

INT

Decimal

Fault type (program, I/O, or other)

Code

INT

Decimal

Unique code for this fault (dependent on fault type)

Info

DINT[8]

Hexadecimal

Fault-specific information (dependent on fault type and
code)

This manual is related to the following products: