Chapter 1 Major Faults
Rockwell Automation Publication 1756-PM014N-EN-P - March 2022 17
4. In the Controller Organizer, right-click the program created in step 2
and select Add>New Routine.
5. On the New Routine dialog box, in Name, type a name for the routine.
6. In Type, choose the type of routine to create. The default is Ladder
Diagram.
7. In Assignment, use the default setting, Main.
Tip: Even though Fault is an option in the Assignment, assigning the routine as a fault routine within
the Controller Fault Handler is not necessary.
8. Select OK.
The fault routine is created in the Controller Fault Handler program.
9. Double-click the fault routine to edit it.
See also
Recover from a major fault on page 9
Fault handling during prescan and postscan on page 11
The Power-Up Handler is an optional task that executes when the controller
powers up in Run or Remote Run modes.
Prevent the controller from returning to Run or
Remote mode
Leave the routine for the Power-Up Handler empty. When
power restored, a major fault (type 1, code 1) occurs and the
controller enters the faulted state.
Direct the controller to take specific actions, then
resume normal operation when power restored
In the Power-Up Handler fault routine, complete these steps.
1. Clear the major fault (type 1, code 1).
2. Run the appropriate logic for the specific actions required.
power-up handler