Register for Outputs
Original instructions
Overview
170 ANR 120 91 analog and discrete output channels are configured by entering the appropriate information in output words 1 through 7 as follows.
NOTE: The module will go to fail state values if network or communication adapter ATI communication is lost.
Word
Function
1
System information
2
Register for discrete reaction in a fail state
3
Register for analog reaction in a fail state
4
User defined analog fail state values for channel 1
5
User defined analog fail state values for channel 2
6
User defined analog fail state values for channel 3
7
User defined analog fail state values for channel 4
8
State of the 8 discrete outputs
9
Analog output word channel 1
10
Analog output word channel 2
11
Analog output word channel 3
12
Analog output word channel 4
Word 1
CAUTION
INVALID DATA CAUSE OUTPUT SHUT DOWN
Do not use a zero value in word one because it causes an output shut down state, and no inputs or outputs are updated.
Failure to follow these instructions can result in injury or equipment damage.
System Info Register
This word enables the module’s operation, and specifies if user shutdown values are expected.
Word 1
Description
Bits 0 ... 14
Not used or can be used to start the module. (Turns on the Ready LED with any value greater than zero.)
Bit 15
1 = Enable user defined shutdown values.
2 = Disables user defined shutdown values.
Word 2
Discrete Fail State Reaction and Value Register
This word combines the value and reaction in a fail state.
Word 2
Description
Bit 0 ... 7
Discrete fail state value for outputs 1 ... 8
Bits 8 ... 13
Not used
Bit 14
0 = hold last value, 1 = user defined value
Bit 15
0 = all outputs reset, 1 = check bit 14
Word 3
Analog Fail State Reaction Register
This word contains four 2 bit fields that define the fail state for each channel. The four possible values of fail state are as follows.
2 Bit Value
Fail State
00
Minimum output voltage
01
Hold last value (default)
10
User defined shutdown value
11
Hold last value (not normally used)
Words 4 ... 7
Analog Fail State Value Register
The module always expects four words of user defined data, even if the data is not used. The first word of the user shutdown field is used for channel 1, the second for channel 2, . . .
Word 8
Discrete Output Register
This word contains a right justified binary eight bit data field.
Words 9 ... 12
Map to Analog Output Register
Each word in this range contains a left justified binary 15 bit data field. The range is 0 ... 7FFE hex (0 ... 32766 decimal), but the resolution is only 14 bit.
NOTE: If a user shutdown value is greater than the count range for the channel, then the count range maximum value will be used as the shutdown value.