DL205 Analog Manual, 7th Edition Rev. D
7-16
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
Magnitude Plus Sign (BCD)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
b
C
D
SP1
OUT
C1
LDD
V2000
OUTD
V2010
Load channel 1datafromV-memoryintothe
accumulator. Remember,the data canbe negative.
Contact SP1 is always on.
Putthe actual signal value in V2010. Nowyou canuse
thedatanormally.
ANDD
K7FFFFFFF
This instruction masks thesignbit of theBCD data, if it
is set. Withoutthis step, negative values will not be
correct so do notforget to include it.
V2001 K8000
Check Channel1
Check Channel2
Channel 1datais negativewhenC1ison(avalue of
-- 1.0reads as 8000 0010, -- 2.0is8000 0020,etc.).
SP1
OUT
C2
LDD
V2002
OUTD
V2012
Load channel 2fromV-memoryintothe accumulator.
Remember, the datacan be negative.Contact SP1 is
always on.
Putthe actual signal value in V2012. Nowyou canuse
thedatanormally.
ANDD
K7FFFFFFF
This instruction masks thesignbit of theBCD data, if it
is set. Withoutthis step, negative values will not be
correct so do notforget to include it.
V2003 K8000
Channel 2datais negativewhenC2ison(avalue of
-- 1.0reads as 8000 0010, -- 2.0is8000 0020,etc.).
²
²