EasyManuals Logo

Rockwell Automation Logix 5000 Programming Manual

Rockwell Automation Logix 5000
37 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #20 background imageLoading...
Page #20 background image
Chapter 1 Major Faults
20 Rockwell Automation Publication 1756-PM014N-EN-P - March 2022
8. Double-click new routine to edit.
See also
Major fault codes on page 25
To programmatically clear a major fault that occurs during the execution of
the project:
Create a data type to store fault information
Write a fault routine to clear the fault
IMPORTANT
Do not use fault routines to continually clear all faults on the controller. Program the fault
routine to be selective in the types and number of faults cleared.
IMPORTANT
When an instruction generates an error due to a fault (for example, a COP with an indirect
addressing programming error), the routine skips the instruction and the instruction does
not run. This occurs with all instructions.
See also
Create a data type to store fault information on page 20
Write a routine to clear the fault on page 21
Logix 5000 controllers store system information in objects. Unlike PLC-5 or
SLC 500 controllers, there is no status file.
To access system information, use a Get System Value (GSV) or Set
System Value (SSV) instruction.
To get status information about a program, access the Program object.
To get fault information for the program, access the MajorFaultRecord
attribute of the Program object.
Attribute
Data Type
Instruction
Description
MajorFaultRecord
DINT[11]
GSV
SSV
Records major faults for this program.
Specifies the program name to determine which
Program object to use, or specifies THIS to access
the Program object for the program that contains the
GSV or SSV instruction.
To simplify access to the MajorFaultRecord attribute, complete these steps to
create a user-defined data type.
Programmatically clearing
a major fault
Create a data type to store
fault information

Other manuals for Rockwell Automation Logix 5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rockwell Automation Logix 5000 and is the answer not in the manual?

Rockwell Automation Logix 5000 Specifications

General IconGeneral
BrandRockwell Automation
ModelLogix 5000
CategoryController
LanguageEnglish

Related product manuals