Rockwell Automation Logix5000 Controllers Major, Minor, and I/O Faults Programming Manual User Manual

Page 5

Advertising
background image

Table of contents

Studio 5000 environment .....................................................................................

7

Additional resources ...............................................................................................

7

Chapter 1

Major fault state ......................................................................................................

9

Recover from a major fault ...........................................................................

10

Important points regarding Add-On instructions ..................................

11

Fault handling during prescan and postscan.............................................

11

Placement of fault routines ..........................................................................

13

Choose where to place the fault routine ....................................................

14

Create a fault routine for a program ..................................................................

14

Change a fault routine assignment of a program .....................................

15

Create a routine for the Controller Fault Handler ........................................

17

Create a routine for the Power-Up Handler ...................................................

19

Programmatically clear a major fault .................................................................

21

Create a Data Type to store fault information .........................................

21

Get the fault type and code ..........................................................................

23

Check for a specific fault ..............................................................................

23

Clear the fault .................................................................................................

24

Clear a major fault during prescan .....................................................................

24

Identify when the controller is in prescan .................................................

25

Get the fault type and code ..........................................................................

25

Check for a specific fault ..............................................................................

26

Clear the fault .................................................................................................

26

Test a fault routine ...............................................................................................

27

Create a user-defined major fault .......................................................................

27

Create a fault routine for the program .......................................................

28

Configure the program to use the fault routine .......................................

28

Jump to the fault routine..............................................................................

28

Example: Create a user-defined major fault ..............................................

29

Major fault codes ..................................................................................................

29

Chapter 2

Identify minor faults ............................................................................................

35

Minor fault codes ..................................................................................................

37

Preface

Major faults

Minor faults

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

5

Advertising