Register for Outputs
Original instructions
Overview
170AMM11030 analog and discrete output channels are configured by entering the appropriate information in output words 1 through 5 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
State of the 8 discrete outputs
7
Analog output word channel 1
8
Analog output word channel 2
Word 1
System Info Register
This word enables the module’s operation, and specifies if user shutdown values are expected.
CAUTION
Zero is an illegal value for the parameter field (words 1-5).
A zero value in the parameter field will cause an output shut down state, and no inputs or outputs are updated. Any bit set in the parameter field, including those defined as not used, will enable the module.
Failure to follow these instructions can result in injury or equipment damage.
Word 1
Description
Bits 0 ... 14
Not used
Bit 15
0 = Disables user defined shutdown values.
1 = Enables user defined shutdown values.
Word 2
Discrete Fail State Reaction and Value Register
This word combines the discrete reaction in a fail state and values.
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 two 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 ... 5
Analog Fail State Value Register
The module always expects two 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 6
Discrete Output Register
This word contains a right justified binary eight bit data field.
Words 7 ... 8
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.