beautypg.com

Example of remote output reset control, Default, G file – Rockwell Automation 1747-SN Remote I/O Scanner User Manual

Page 64: M0 (control) file, Attention

background image

Publication 1747-UM013B-EN-P - January 2005

4-20 Scanner Configuration and Programming

Setting the bit to 1 will command 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.

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.

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. We recommend
the use of this function only by experienced SLC
programmers.

M0 File

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Bit Number (decimal)

M0 (Control) File W

ords 24 through 27

Logical Rack 0 Remote Output Reset Word 24

M0:e.24

M0:e.25

M0:e.26

M0:e.27

Logical Rack 1 Remote Output Reset Word 25

Logical Rack 2 Remote Output Reset Word 26

Logical Rack 3 Remote Output Reset Word 27

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

Not Defined

Starting Group

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

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

M0 File

M0:e.24

M0:e.25

M0:e.26

M0:e.27

1

1

0

0

1

0

0

0

0

1

0

0

0

1

0

0

Device Address, Word 1

G File

RIO Rack 0

Starting Group

0

2

4

6

RIO Rack 1

Starting Group

0

2

4

6

RIO Rack 2

Starting Group

0

2

4

6

RIO Rack 3

Starting Group

0

2

4

6

M0 (Control) File

Bit Number (decimal)

Logical Rack 0 Remote Output Reset Word 24

Logical Rack 1 Remote Output Reset Word 25

Logical Rack 2 Remote Output Reset Word 26

Logical Rack 3 Remote Output Reset Word 27

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