Rockwell Automation Publication 1756-PM014N-EN-P - March 2022 5
Table of Contents
Studio 5000 environment ........................................................................... 7
Additional resources .................................................................................... 8
Legal Notices ................................................................................................ 8
Chapter 1
Major Fault State .......................................................................................... 9
Recover from a major fault .................................................................... 9
Fault handling during prescan and postscan .................................... 11
Placement of fault routines ................................................................. 12
Choose where to place the fault routine ............................................. 13
Create a fault routine for a program ......................................................... 13
Change a fault routine assignment of a program ............................. 14
Create a routine for the controller fault handler ..................................... 16
Create a routine for the power-up handler .............................................. 17
Programmatically clearing a major fault ................................................. 20
Create a data type to store fault information ................................... 20
Write a routine to clear the fault ......................................................... 21
Clear a major fault during prescan .......................................................... 22
Test a fault routine .................................................................................... 24
Create a user-defined major fault ............................................................ 24
Major fault codes ....................................................................................... 25
Chapter 2
Identify minor faults ................................................................................. 27
Minor fault examples ........................................................................... 28
Minor fault codes....................................................................................... 29
Chapter 3
Indications of I/O faults .............................................................................31
I/O Fault Codes .......................................................................................... 33