EasyManua.ls Logo

Allen-Bradley 1747-SN - M0 File - RIO Device Reset Control; Example of Device Reset 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–16 Scanner Configuration and Programming
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:
The SLC processor resets all bits in this field to 0 when it
enters Run or Test mode.
M0 File
0123456789101112131415
Bit Number (decimal)
M0
(Control) File Words 16 through 19
Logical Rack 0 Device Reset Word 16
M0:e.16
0000xxxxxxxxxxxx
M0:e.17
0000xxxxxxxxxxxx
M0:e.18
0000xxxxxxxxxxxx
M0:e.19
Logical Rack 1 Device Reset Word 17
Logical Rack 2 Device Reset Word 18
Logical Rack 3 Device Reset Word 19
e = slot number of the SLC rack containing the scanner
x = bit not used/defined
0000xxxxxxxxxxxx
Not Defined
Starting Group
0246
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.
0000xxxxxxxxxxxx
0000xxxxxxxxxxxx
0000xxxxxxxxxxxx
1000xxxxxxxxxxxx
0123456789101112131415
M0 File
M0:e.16
M0:e.17
M0:e.18
M0:e.19
1 100
1
00001000100
Device Address, Word 1
G
File
M0 (Control) File
Bit Number (decimal)
e = slot number of the SLC rack containing the scanner
x = bit not used/defined
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
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

Table of Contents

Other manuals for Allen-Bradley 1747-SN