B - programming reference, Controller status file, Programming reference – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual
Page 396

B
Appendix
B–1
Programming Reference
This appendix lists the:
•
controller status file
•
function codes
•
instruction execution times and instruction memory usage
The status file lets you monitor how your operating system works and lets
you direct how you want it to work. This is done by using the status file to
set up control bits and monitor both hardware and software faults and other
status information.
Important: Do not write to reserved words in the status file. If you intend
writing to status file data, it is imperative that you first
understand the function fully.
The status file (S) contains the following words:
Word
Function
Page
S:0
Arithmetic Flags
B–2
S:1L (low byte)
Controller Mode Status/Control (low)
B–3
S:1H (high byte)
Controller Mode Status/Control (Hi)
B–3
S:2L (low byte)
Controller Alternate Mode Status/Control (low)
B–5
S:2H (high byte)
Controller Alternate Mode Status/Control (Hi)
B–5
S:3L (low byte)
Current Scan Time
B–6
S:3H (high byte)
Watchdog Scan Time
B–7
S:4
Timebase
B–7
S:5
Minor Error Bits
B–7
S:6
Major Error Code
B–8
S:7
Suspend Code
B–11
S:8 to S:12
Reserved
B–11
S:13, S:14
Math Register
B–11
S:15L (low byte)
DF1 Full or Half-Duplex Node Address
B–11
S:15H (high byte)
DF1 Full or Half-Duplex Baud Rate
B–11
S:16L (low byte)
DH-485 Node Address
B–11
S:16H (high byte)
DH-485 Baud Rate
B–12
S:17 to S:21
Reserved
B–12
S:22
Maximum Observed Scan Time
B–12
Continued on next page
Controller Status File