Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 403

Advertising
background image

Appendix B
Programming Reference

B–8

Address

Bit

Classification

Description

S5/2

Control Register
Error

Dynamic
Configuration

If this bit is ever set upon execution of the END or TND
instruction, major error (0020) is declared. To avoid this type
of major error from occurring, examine the state of this bit
following a control register instruction, take appropriate
action, and then clear bit S:5/2 using an OTU instruction with
S:5/2.

S5/3

Major Error
Detected While
Executing
user-fault routine

Dynamic
Configuration

When set, the major error code (S:6) represents the major
error that occurred while processing the fault routine due to
another major error.

S5/4 to S5/7

Reserved

NA

NA

S5/8

Retentive Data
Lost

Status

This bit is set whenever retentive data is lost. This bit
remains set until you clear it. While set, this bit causes the
controller to fault prior to the first true scan of the program.

S5/9

Reserved

NA

NA

S5/10

STI Lost

Status

This bit is set whenever the STI timer expires while the STI
routine is either executing or disabled and the pending bit
(s:2/0) is already set.

S5/11 to S5/12

Reserved

NA

NA

S5/13

Input Filter
Selection Modified

Status

This bit is set whenever the discrete input filter selection in
the controller is made compatible with the hardware. Refer
to page A–6 for more information.

S5/14 to S5/15

Reserved

NA

NA

S6

Major Error Code

Status

A hexadecimal code is entered in this word by the controller
when a major error is declared. Refer to S:1/13. The code
defines the type of fault, as indicated on the following pages.
This word is not cleared by the controller.

Error codes are presented, stored, and displayed in a
hexadecimal format.

If you enter a fault code as a parameter in an instruction in
your ladder program, you must convert the code to decimal.

Application note: You can declare your own application
specific major fault by writing a unique value to S:6 and then
setting bit S:1/13.
Interrogate the value of S:6 in the user-fault routine to
determine the type of fault that occurred.
Fault Classifications: Faults are classified as Non-User,
Non-Recoverable, and Recoverable.

Error code descriptions and classifications are listed on the
following pages. Categories are:

power up errors

going-to-run errors

run errors

download errors

NA = Not Applicable

Advertising