Chapter 1 Major Faults
16 Rockwell Automation Publication 1756-PM014N-EN-P - March 2022
Use these steps to create a fault routine to operate as the controller fault
handler. Program tags are automatically created during this process.
When programming 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 the 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
To create a routine for the controller fault handler:
1. In the Controller Organizer, right-click Controller Fault Handler and
select New Program.
2. On the New Program dialog box, in Name, type a program name.
Verify that Schedule in is set to Controller Fault Handler.
3. Select OK.
controller fault handler