Create a routine for the controller fault handler, Create – Rockwell Automation Logix5000 Controllers Major, Minor, and I/O Faults Programming Manual User Manual
Page 17

Major faults Chapter 1
This section provides the steps for creating a fault routine to operate as the
controller fault handler. Program tags are automatically created during this
process.
Important: When you program the fault handler, remember that any instruction that is skipped as part of the fault-
handling program does not run when the main tasks and associated programs run.
For example, if your fault handler skips a JSR instruction that is causing a major fault, then that JSR
instruction, including all of the programming within the subroutine, does not run.
When an instruction generates an error due to a fault (for example, a COP with an indirect addressing
programming error), the instruction is skipped and does not run. This occurs with all instructions.
1. In the Controller Organizer, right-click Controller Fault Handler and
choose New Program.
2. On the New Program dialog box, in the Name field, enter a program name.
Verify that the Schedule in field is set to Controller Fault Handler.
3. Click OK.
Create a routine for the
Controller Fault Handler
Rockwell Automation Publication 1756-PM014G-EN-P – October 2014
17