beautypg.com

M0 file - rio device reset control -18, M0 file - rio device reset control, Example of device inhibit control – Rockwell Automation 1747-SN Remote I/O Scanner User Manual

Page 62: Default, M0 (control) file w ords 8 through 11, M0 (control) file, G file

background image

Publication 1747-UM013B-EN-P - January 2005

4-18 Scanner Configuration and Programming

Default:

When the processor enters the Run mode, the scanner

automatically inhibits any device not configured in the G file (bit
set to 1). Attempting to inhibit an unconfigured device has no
effect.

Example of Device Inhibit Control

The 1747-SN Scanner inhibits (sets to 1) the bits in M0:e.8 through
M0:e.11 (by default) wherever there are no configured devices
present. The illustration below compares the configured devices
(G file word 2) to the groups that the scanner automatically inhibits.

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 to 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

M0 File

0

1

1

0

x

x

x

x

x

x

x

x

x

x

x

x

Logical Rack 0 Device Inhibit Word 8

M0:e.8

0

0

0

0

x

x

x

x

x

x

x

x

x

x

x

x

M0:e.9

1

0

0

1

x

x

x

x

x

x

x

x

x

x

x

x

M0:e.10

1

0

0

0

x

x

x

x

x

x

x

x

x

x

x

x

M0:e.11

Logical Rack 1 Device Inhibit Word 9

Logical Rack 2 Device Inhibit Word 10

Logical Rack 3 Device Inhibit Word 11

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Bit Number (decimal)

M0 (Control) File W

ords 8 through 11

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

Not Defined

Starting Group

0

2

4

6

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

M0 File

0

1

1

0

x

x

x

x

x

x

x

x

x

x

x

x

M0:e.8

0

0

0

0

x

x

x

x

x

x

x

x

x

x

x

x

M0:e.9

1

0

0

1

x

x

x

x

x

x

x

x

x

x

x

x

M0:e.10

1

0

0

0

x

x

x

x

x

x

x

x

x

x

x

x

M0:e.11

M0 (Control) File

RIO Logical Rack 0

Starting Group

0

2

4

6

RIO Logical Rack 1

Starting Group

0

2

4

6

RIO Logical Rack 2

Starting Group

0

2

4

6

RIO Logical Rack 3

Starting Group

0

2

4

6

G File

1

0

0

1

1

1

1

1

0

1

1

0

0

1

1

1

Device Address, Word 1

Bit Number (decimal)

Logical Rack 0 Device Inhibit Word 8

Logical Rack 1 Device Inhibit Word 9

Logical Rack 2 Device Inhibit Word 10

Logical Rack 3 Device Inhibit Word 11

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