EasyManua.ls Logo

Allen-Bradley 1747-SN - M0 File - RIO Device Inhibit Control; Example of Device Inhibit Control

Allen-Bradley 1747-SN
188 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4–15Scanner Configuration and Programming
Publication
17476.6 - July 1996
M0 File - RIO Device Inhibit Control
M0 Words 8 through 11 – you use these words to command the
scanner to stop scanning logical racks 0, 1, 2, and 3. Bits 0 – 3 in
each word correspond to I/O group locations within logical racks 0,
1, 2, and 3.
To stop scanning (inhibit) a device listed in the configuration (G)
file, set the bit corresponding to the starting group address of the
device to 1. Setting bits that do not correspond to the device logical
starting group address will not inhibit the device. To resume
scanning a device, reset the bit (which corresponds to the starting
group address of the device) to 0.
Inhibiting a device does not affect the current settings of the Device
Fault Status (words 12 – 15 of the M1 file). Inhibited devices
eventually time out and either return to their last state or reset
(depending on the device’s last state setting).
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.
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 W
ords 8 through 1
1
e = slot number of the SLC rack containing the scanner
x = not used/defined
Not Defined
Starting Group
0246
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.
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

Table of Contents

Other manuals for Allen-Bradley 1747-SN