M0 File - Rio Device Inhibit Control; Example Of Device Inhibit Control - Allen-Bradley 1747-SN User Manual

Remote i/o scanner
Table of Contents

Advertisement

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
G File
Device Address, Word 1
M0 (Control) File
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
Scanner Configuration and Programming

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 (Control) File Words 8 through 11
Not
15
14
13
12
11
10
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
e = slot number of the SLC rack containing the scanner
x = not used/defined

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.
RIO Logical Rack 3
RIO Logical Rack 2
Starting Group
Starting Group
6
4
2
0
6
4
1
1
1
0
0
1
15
14
13
12
11
10
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
e = slot number of the SLC rack containing the scanner
x = not used/defined
Defined
9
8
7
6
5
4
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
RIO Logical Rack 1
Starting Group
2
0
6
4
2
0
1
0
1
1
1
1
9
8
7
6
5
4
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
4–15
Starting Group
6
4
2
0
3
2
1
0
M0 File
0
1
1
0
M0:e.8
0
0
0
0
M0:e.9
1
0
0
1
M0:e.10
0
0
0
1
M0:e.11
RIO Logical Rack 0
Starting Group
6
4
2
0
1
0
0
1
3
2
1
0
M0 File
0
1
1
0
M0:e.8
0
0
0
0
M0:e.9
1
0
0
1
M0:e.10
0
0
0
1
M0:e.11
Publication 1747 6.6 - July 1996

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents