Minor faults, Identify minor faults, Chapter 2 – Rockwell Automation Logix5000 Controllers Major, Minor, and I/O Faults Programming Manual User Manual
Page 35
Chapter 2
Minor faults
This chapter explains minor fault codes and how to work with them in the Logix
Designer application.
The following table explains how to use relay ladder logic to monitor information
about common minor faults.
To check for a
Do this
Task overlap
1.
Enter a GSV instruction that gets the FaultLog object, MinorFaultBits attribute.
2.
Monitor bit 6.
Load from nonvolatile memory
1.
Enter a GSV instruction that gets the FaultLog object, MinorFaultBits attribute.
2.
Monitor bit 7.
Serial port fault
1.
Enter a GSV instruction that gets the FaultLog object, MinorFaultBits attribute.
2.
Monitor bit 9.
Low battery or energy storage status
1.
Enter a GSV instruction that gets the FaultLog object, MinorFaultBits attribute.
2.
Monitor bit 10.
Instruction-related fault
1.
Create a user-defined data type that stores the fault information. Name the data type FaultRecord and assign the following members.
2.
Name
Data Type
Style
TimeLow
DINT
Decimal
TimeHigh
DINT
Decimal
Type
INT
Decimal
Code
INT
Decimal
Info
DINT[8]
Hex
1.
Create a tag that stores the values of the MinorFaultRecord attribute.
2.
From the Data Type menu in step 1 of this instruction, choose the data type.
3.
Monitor S:MINOR.
4.
Use a GSV instruction to get the values of the MinorFaultRecord attribute if S:MINOR is on.
5.
Reset S:MINOR if you want to detect a minor fault that is cause by another instruction.
S:MINOR remains set until the end of the scan.
Identify minor faults
Rockwell Automation Publication 1756-PM014G-EN-P – October 2014
35