beautypg.com

M0 file - rio device inhibit control, M0 file - rio device inhibit control -17 – Rockwell Automation 1747-BSN Backup Scanner Module User Manual

Page 79

background image

Publication 1747-UM010B-EN-P - September 2003

Configuration and Programming 5-17

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 to 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
does 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 to 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.

IMPORTANT

Control functions (i.e., device inhibit, device reset,
and device output reset) are only selectable for the
primary device, but also apply to the complementary
device. Control functions for complementary devices
cannot be exclusively enabled.

0

1

1

0

x

x

x

x

x

x

x

x

x

x

x

x

0

0

0

0

x

x

x

x

x

x

x

x

x

x

x

x

1

0

0

1

x

x

x

x

x

x

x

x

x

x

x

x

1

0

0

0

x

x

x

x

x

x

x

x

x

x

x

x

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

0

2

4

6

MO (Control) File Words 8 through 11

e = slot number of the SLC rack containing the scanner
x = not used/defined

M0 File
M0:e.8
M0:e.9
M0:e.10
M0:e.11

Logical Rack 0 Device Inhibit Word 8
Logical Rack 1Device Inhibit Word 9
Logical Rack 2 Device Inhibit Word 10
Logical Rack 3 Device Inhibit Word 11

Not Defined

Starting Group

Bit Number (decimal)