beautypg.com

27 - the status file, Status file functions, The status file – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 369

background image

27

Chapter

27–1

The Status File

This chapter discusses the status file functions of the:

fixed

SLC 5/01

SLC 5/02 processors

All application examples shown are in the HHT zoom display.

The SLC 5/02 processor has the functions of the fixed and SLC 5/01
processors plus the functions listed in the right-hand column of the figure
below.

The status file gives you information concerning the various instructions you
use in your program, and other information such as EEPROM functionality.
The status file indicates minor faults, diagnostic information on major faults,
processor modes, scan time, baud rate, system node addresses, and various
other data.

Important: Do not write to status file data unless the word or bit is listed as

read/write in the descriptions that follow. If you intend writing
to status file data, it is imperative that you first understand the
function fully.

The status file S: consists of the following words:

Word

Function

S:0

Arithmetic Flags

Words 16 through 32 are functional for the SLC 5/02 only:

S:1L, S:1H

Processor Mode Status/Control

Word

Function

S:2L, S:2H

STI Bits/DH–485 Communications

S:16, S:17

Test Single Step – Start Step On – Rung/File

S:3L

Current Scan Time

S:18, S:19

Test Single Step – End Step Before – Rung/File

S:3H

Watchdog Scan Time

S:20, S:21

Test – Fault/Powerdown – Rung/File

S:4

Free Running Clock

S:22

Maximum Observed Scan Time

S:5

Minor Error Bits

S:23

Average Scan Time

S:6

Major Error Code

S:24

Index Register

S:7, S:8

Suspend Code/Suspend File

S:25, S:26

I/O Interrupt Pending

S:9, S:10

Active Nodes

S:27, S28

I/O Interrupt Enabled

S:11, S;12

I/O Slot Enables

S:29

User Fault Routine File Number

S:13, S:14

Math Register

S:30

Selectable Timed Interrupt Setpoint

S:15L

Node Address

S:31

Selectable Timed Interrupt File Number

S:15H

Baud Rate

S:32

I/O Interrupt Executing

Status File Functions