Output Words
Original instructions
Overview
This section describes how to use the output words to configure the analog and discrete I/O channels.
Words Used
170 ANR 120 90 analog and discrete output channels are configured by entering the appropriate information in output words 1 through 7 as follows.
NOTE: If you are using Modsoft, the parameter words are modified through the zoom screen.
The I/O base must be mapped as 12 contiguous input words and 12 contiguous output words, as follows:
Word
Output Data
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 information
The following table tells how bits are assigned:
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
Bits 0 ... 7
Discreet 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 which 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
The following picture shows how the channels are mapped into word 3:
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 RegisterThis 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 (See Analog I/O MAP).
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.
4x Registers
The 4x registers traffic copped to this module are used for output data as follows.
I/O Map Register
Data Type
4x + 7
Data for discrete output
4x + 8
Data for analog output channel 1
4x + 9
Data for analog output channel 2
4x + 10
Data for analog output channel 3
4x + 11
Data for analog output channel 4
Range
Output operating range
Output Voltage
Data is left justified
Comment
Output Range
0 ... 10.000V
0 ... 32000
Nominal Output Voltage Range
Output Over Range
10.000 ... 10.238V
32002 ... 32764
Linear Over Range Output Voltage
Output Out of Range
>=10.238
32766
(7FFE Hex)
Threshold Will Be Limited To 32766 Decimal