M0 file - remote output reset control, Example of device reset control -19, M0 file - remote output reset control -19 – Rockwell Automation 1747-BSN Backup Scanner Module User Manual

Page 81: Example of device reset control, Attention

Advertising
background image

Publication 1747-UM010B-EN-P - September 2003

Configuration and Programming 5-19

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.

M0 File - Remote Output
Reset Control

M0 Words 24 through 27 – use these words to command a logical
device to reset all of its outputs when the SLC processor leaves the
Run mode and enters the Test, Program, or Fault mode (regardless of
the device’s Hold Last State setting).

Resetting the bit (corresponding to the starting address of a device) to
0 allows the Hold Last State switch on the logical device to determine
output operation when the SLC processor leaves the Run mode.
Setting the bit to 1 commands all outputs off (regardless of the
device’s Hold Last State setting).

Only the device’s logical starting address bit matters. Setting other bits
has no effect. Bits 0 to 3 correspond to I/O group locations within
logical racks 0, 1, 2, and 3.

Default: When the processor enters Run or Test mode, the scanner
sets the starting address bit of each device configured in the G file to
1.

0

0

0

0

0

0

0

0

0

0

0

0

1

0

0

0

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

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

G File

MO (Control) File

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

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

Logical Rack 0 Device Inhibit Word 16
Logical Rack 1Device Inhibit Word 17
Logical Rack 2 Device Inhibit Word 18
Logical Rack 3 Device Inhibit Word 19

M0 File
M0:e.16
M0:e.17
M0:e.18
M0:e.19

ATTENTION

!

The use of the device’s Hold Last State switch can
result in its outputs remaining energized when not
under control of the SLC processor. Only experienced
SLC programmers should use this function.

Advertising