beautypg.com

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

Page 120: Program state word

background image

120

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

Chapter 3 I/O Memory Mapping

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 to simplify programming.
However, some systems, like the 1769-ADN DeviceNet adapter, 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 arrangement, as described below.

Program State Word

Word 1, the program state word, selects the hold last state or user-defined safe
state condition 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

Not Used (Default = 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