User guide

Publication 1747-UM013B-EN-P - January 2005
4-18 Scanner Configuration and Programming
Default: When the processor enters the Run mode, the scanner
automatically inhibits any device not configured in the G file (bit
set to 1). Attempting to inhibit an unconfigured device has no
effect.
Example of Device Inhibit Control
The 1747-SN Scanner inhibits (sets to 1) the bits in M0:e.8 through
M0:e.11 (by default) wherever there are no configured devices
present. The illustration below compares the configured devices
(G file word 2) to the groups that the scanner automatically inhibits.
M0 File - RIO Device Reset Control
M0 Words 16 through 19 - you use these words to command a reset
(0) of RIO device outputs when the SLC processor is in Run or Test
mode. This allows you to selectively reset logical device outputs
based on a previous condition(s) that you defined. Bits 0 to 3
correspond to the logical I/O group locations within logical racks 0, 1,
2, and 3.
To command an RIO device to a reset (0) condition (from Run or Test
mode), set the bit corresponding to the starting logical address of the
device to 1. Setting bits that do not correspond to a device starting
M0 File
0110xxxxxxxxxxxx
Logical Rack 0 Device Inhibit Word 8
M0:e.8
0000xxxxxxxxxxxx
M0:e.9
1001xxxxxxxxxxxx
M0:e.10
1000xxxxxxxxxxxx
M0:e.11
Logical Rack 1 Device Inhibit Word 9
Logical Rack 2 Device Inhibit Word 10
Logical Rack 3 Device Inhibit Word 11
0123456789101112131415
Bit Number (decimal)
M0 (Control) File Words 8 through 11
e = slot number of the SLC rack containing the scanner
x = not used/defined
Not Defined
Starting Group
0246
0123456789101112131415
M0 File
0110xxxxxxxxxxxx
M0:e.8
0000xxxxxxxxxxxx
M0:e.9
1001xxxxxxxxxxxx
M0:e.10
1000xxxxxxxxxxxx
M0:e.11
M0 (Control) File
RIO Logical Rack 0
Starting Group
0246
RIO Logical Rack 1
Starting Group
0246
RIO Logical Rack 2
Starting Group
0246
RIO Logical Rack 3
Starting Group
0246
G File
1001111101100111
Device Address, Word 1
Bit Number (decimal)
Logical Rack 0 Device Inhibit Word 8
Logical Rack 1 Device Inhibit Word 9
Logical Rack 2 Device Inhibit Word 10
Logical Rack 3 Device Inhibit Word 11
e = slot number of the SLC rack containing the scanner
x = not used/defined