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

Remote i/o scanner
Table of Contents

Advertisement

4–16
Scanner Configuration and Programming
Logical Rack 0 Device Reset Word 16
Logical Rack 1 Device Reset Word 17
Logical Rack 2 Device Reset Word 18
Logical Rack 3 Device Reset Word 19
G File
Device Address, Word 1
M0 (Control) File
Logical Rack 0 Device Reset Word 16
Logical Rack 1 Device Reset Word 17
Logical Rack 2 Device Reset Word 18
Logical Rack 3 Device Reset Word 19
Publication 1747 6.6 - July 1996

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 – 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 address will not force a reset. To remove the reset condition,
reset the bit (corresponding to the device logical starting address) to
0. Refer to the mode table on page 4–20.
Default:
M0 (Control) File Words 16 through 19
Bit Number (decimal)
15
14
x
x
x
x
x
x
x
x

Example of Device Reset Control

The application has commanded the device starting at Logical Rack 0,
Group 0 (M0:e.16/0) to a reset condition (bit set to 1). The default
setting for all device reset bits is 0.
RIO Logical Rack 3
Starting Group
6
4
0
0
15
14
Bit Number (decimal)
x
x
x
x
x
x
x
x
The SLC processor resets all bits in this field to 0 when it
enters Run or Test mode.
Not
Defined
13
12
11
10
9
8
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 = bit not used/defined
RIO Logical Rack 2
Starting Group
2
0
6
4
2
0
1
0
0
0
1
0
13
12
11
10
9
8
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 = bit not used/defined
Starting Group
6
4
7
6
5
4
3
2
x
x
x
x
0
0
x
x
x
x
0
0
x
x
x
x
0
0
x
x
x
x
0
0
RIO Logical Rack 1
RIO Logical Rack 0
Starting Group
Starting Group
6
4
2
0
6
4
0
0
0
1
1
0
7
6
5
4
3
2
x
x
x
x
0
0
x
x
x
x
0
0
x
x
x
x
0
0
x
x
x
x
0
0
2
0
1
0
M0 File
0
0
M0:e.16
0
0
M0:e.17
0
0
M0:e.18
0
0
M0:e.19
2
0
0
1
1
0
M0 File
0
1
M0:e.16
0
0
M0:e.17
0
0
M0:e.18
0
0
M0:e.19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents