beautypg.com

Example of remote output reset control – Rockwell Automation 1747-BSN Backup Scanner Module User Manual

Page 82

background image

Publication 1747-UM010B-EN-P - September 2003

5-20 Configuration and Programming

Example of Remote Output Reset Control

By default the scanner sets the bits in M0:e.24 through M0:e.27 to 1
wherever there are configured devices present. This commands all
devices’ outputs to reset regardless of their Hold Last State switch. The
application program can remove commanded reset of devices by
resetting bits to 0.

Device Reset and Remote Output Reset Considerations
From This Mode

The 1747-BSN Scanner Device Reset words (M0:e.16 to M0:e.19) and
the Remote Output Reset words (M0:e.24 to M0:e.27) operate in
conjunction with each RIO device to determine the state of that RIO
device’s outputs. The output control information that the scanner
sends to the RIO device depends on how you configure these bits.
The RIO device acts on the output control information in accordance
with its functionality and configuration. To fully understand how a
specific device responds to the Device Reset and Remote Output
Reset words, you must determine the operation of the RIO device. To

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

0

2

4

6

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

0

0

x

x

x

x

x

x

x

x

x

x

x

x

0

1

0

0

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

MO (Control) File Words 24 through 27

Logical Rack 0 Device Inhibit Word 24
Logical Rack 1Device Inhibit Word 25
Logical Rack 2 Device Inhibit Word 26
Logical Rack 3 Device Inhibit Word 27

M0 File
M0:e.24
M0:e.25
M0:e.26
M0:e.27

Not Defined

Starting Group

Bit Number (decimal)

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

0

0

x

x

x

x

x

x

x

x

x

x

x

x

0

1

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

1

1

0

0

1

0

0

0

0

1

0

0

0

1

0

0

0

2

4

6

0

2

4

6

0

2

4

6

0

2

4

6

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

G File

MO (Control) File

Logical Rack 0 Device Inhibit Word 24
Logical Rack 1Device Inhibit Word 25
Logical Rack 2 Device Inhibit Word 26
Logical Rack 3 Device Inhibit Word 27

M0 File
M0:e.24
M0:e.25
M0:e.26
M0:e.27

RIO Logical Rack 3

Starting Group

RIO Logical Rack 2

Starting Group

RIO Logical Rack 1

Starting Group

RIO Logical Rack 0

Starting Group

Bit Number (decimal)

Device Address, Word 1