Create a routine for the power-up handler – Rockwell Automation Logix5000 Controllers Major, Minor, and I/O Faults Programming Manual User Manual

Page 19

Advertising
background image

Major faults Chapter 1

The Power-Up Handler is an optional task that executes when the controller

powers up in Run or Remote Run modes.

To

Do this

Prevent the controller from returning to Run or

Remote mode

Leave the routine for the Power-Up Handler empty. When

power is 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 is 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.

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 instruction is skipped and does not run. This occurs with all instructions.

Complete the following steps to create a fault routine for the Power-Up Handler

in the Logix Designer application.

1. In the Controller Organizer, right-click Power-Up Handler and choose

New Program.

2. On the New Program dialog box, in the Name field, type a program name.

Create a routine for the
Power-Up Handler

Rockwell Automation Publication 1756-PM014G-EN-P – October 2014

19

Advertising