Rockwell Automation 1747-PCINT API Software for 1746 I/O User Manual
Page 91

OC_GetStatusFile
Library of Routines
6–37
Publication 1747-6.5.3 June 1998
0/6
status
Forces installed bit
This bit is set is forces have been installed.
0/7 to 0/12
reserved
0/13
dynamic configuration
Major error halted bit
This bit is set by the scanner when a major error is encountered. The
scanner enters a fault condition. Word 2, Fault Code will contain a code
which can be used to diagnose the fault condition.
When bit 0/13 is set, the scanner places all outputs in a safe state and
sets the Status LED to the fault state (flashing red).
Once a major fault state exists, the condition must be corrected and bit 0/
13 cleared before the scanner will accept a mode change request.
0/14
reserved
0/15
status
First pass bit
The bit is set by the scanner to indicate that the first I/O scan following
entry into Scan mode is in progress. The scanner clears this bit following
the first scan.
1/0 to 1/10
reserved
1/11
status
Battery low bit
This bit is set by the scanner when the Battery Low LED is on. It is cleared
when the Battery Low LED is off.
1/12
status
DII overflow bit
This bit is set by the scanner when a DII interrupt occurs and the scanner
is unable to successfully transmit the DII Received priority message to the
host.
1/13 to 1/15
reserved
2
status
Major error fault code
A code is written to this word by the scanner when a major error occurs.
See word S:0/13. The code defines the type of fault. If not zero, the upper
byte indicates the slot associated with the error. This word is not cleared
by the scanner.
3 to 4
dynamic configuration
I/O slot enables
These two words are bit mapped to represent the 30 possible I/O slots in
an SLC 500 system. Bits 3/0 through 4/14 represent slots 0-30 (slot 0 is
reserved for the 1746 I/O PCI Interface). Bit 4/15 is unused.
When a bit is set (default condition), it allows the I/O module in the
referenced slot to be updated in the I/O scan. When a bit is cleared, the
corresponding I/O module will no longer be included in the I/O scan.
Changes to the I/O slot enable bits will take affect at the end of the next
I/O scan.
5
status
Maximum observed scan time
This word indicates the maximum observed interval between consecutive
I/O scans. The interval time is reported in units of 250 ms.
Resolution of the observed scan time is +0 to -250 ms. For example, the
value 10 indicates that 2.25-2.5 ms was the longest scan time.
6
dynamic configuration
Index register
This word indicates the element offset used in indexed addressing.
7 to 8
status
I/O interrupt pending
These two words are bit-mapped to the 30 I/O slots. Bits 7/1 through 8/
14 refer to slots 1-30. Bits 7/0 and 8/15 are not used.
The pending bit associated with a slot is set when an interrupt request is
received from that slot. This bit is set regardless of the state of the I/O
interrupt enabled bit (wee word 9 and 10).
Word/Bit:
Classification:
Description: