beautypg.com

Output data file, Configuration file, Program state word – Rockwell Automation 1769-XXXX Compact I/O Modules  User Manual

Page 117

background image

Rockwell Automation Publication 1769-IN088A-EN-P - February 2011

117

I/O Memory Mapping Chapter 3

Output Data File

For each module, slot

x, word 0 in the output data file contains the control

program’s directed state of the discrete output points.

Configuration File

The read/writable configuration data file allows the setup of the hold last state
and user-defined safe state conditions.

The manipulation of the bits from this file is normally done with programming
software, such as RSLogix 500, RSLogix 5000, or RSNetWorx for DeviceNet,
during initial configuration of the system. In that case, graphical screens are
provided via the programmer to simplify configuration. However, some systems,
like the 1769-ADN DeviceNet adapter, also allow the bits to be altered as part of
the control program using communication rungs. In that case, it is necessary to
understand the bit arrangment.

Program State Word

Word 1, the program state word, selects the hold last state or user-defined safe
state condition for each individual output on a system transition from Run to
Program.

Wo

rd

Bit Position

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

0

w

(1)

(1) w = write.

w

w

w

w

w

w

w

w

w

w

w

w

w

w

w

Wo

rd

Bit Position

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

PFE

1

Program State for Output Array Word 0

2

Program Value for Output Array Word 0

3

Fault State for Output Array Word 0

4

Fault Value for Output Array Word 0

Condition Bit

Setting

User-defined Safe State

0

Hold Last State

1