DL205 Analog Manual, 7th Edition Rev. D
7-20
Chapter 7: F2-04THM, 4-Channel Thermocouple Input
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
B
C
D
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
b
C
D
Reading 2’s Compliment Values (Multiplexing)
The DL230 CPU does not have the special V-memory locations that allows for automatic
enabling the data transfer. Since all channels are multiplexed into a single data word, the
control program must be set up to determine which channel is being read. Since the module
appears as X input points to the CPU, it is very easy to use the active channel status bits
to determine which channel is being monitored. The 2’s complement data format may be
required to correctly display bipolar data on some operator interfaces. This data format could
also be used to simplify averaging a bipolar signal. To view this data format in DirectSoft, select
Signed Decimal.
Scaling the Input Data
No scaling of the input temperature is required. The readings directly reflect the actual
temperatures. For example: a reading of 8482 is 848.2°C, a reading of 16386 is -0.2°C.
(magnitude plus sign) and a reading of 32770 is -0.2°C (2’s complement).
This instruction masksthe channel sign bit.
Loadsthe complete datawordintothe accumulator.
TheV-memorylocation depends on theI/O
configuration.
LD
V40401
ANDD
K7FFF
SP1
X40 X41 X50
StoreChannel 1
OUT
V2000
When X40, X41 and X50are off, channel1data is
stored in V2000.
When X40isonand X41 and X51are off, channel2
dataisstoredinV2001.
When X40 and X52are off and X41ison, channel3
dataisstoredinV2002.
When bothX40 and X41are on and X53isoff,channel
4 dataisstoredinV2003.
X40 X41 X51
StoreChannel 2
OUT
V2001
X40 X41 X52
StoreChannel 3
OUT
V2002
X40 X41 X53
StoreChannel 4
OUT
V2003