168
Temperature Input Terminals Section 4-9
Program Example
MOV
350
040
XFRB
#0210
040
032
35015
04011
35015
04011
When data is negative
Leftmost 3 digits notification
Leftmost 3 digits
notification
When data is positive
MOVD
350
#0300
030
MOVD
040
#0011
031
MOVD
#00FF
#0210
031
MOVD
#0000
#0210
031
Stores leftmost 3 digits of data in IR word 040.
Transfers rightmost 3 bits of data (16
0
to 16
2
)
to word 030.
Transfers16
3
data to word 030.
Transfers 16
4
and 16
5
data to word 031.
If data is negative, stores "FF" in leftmost
two digits of word 031.
If data is positive, stores "00" in leftmost
two digits of word 031.
MOVD
350
#0020
030
Transfers the temperature-units bit and
broken-wire bit information to word 032.