
User manual for - TEMPERATURE TRANSDUCER TRS-02a
1. Read of the measurement value, the device address = 01h:
ADDR
FUNC
REG H,L
COUNT H,L
CRC L,H
01
03
00
01
00
01
D5
CA
a) The answer (we assume that input signal is not out of range):
ADDR
FUNC
BYTE C
DATA H,L
CRC L,H
01
03
02
00
FF
F8
04
DATA H, L - measurement value = 255 (25,5
°C)
, no decimal point. Decimal point position
can be read from reg. 03h.
b) The answer (if an error occur):
ADDR FUNC
ERROR
CRC L,H
01
83
40
40
C0
ERROR - error code = 40h, bottom border of the measurement range is exceeded
2. Read of ID code
ADDR
FUNC
REG H,L
COUNT H,L
CRC L,H
01
03
00
21
00
01
D4
00
The answer:
ADDR
FUNC
BYTE C
DATA H,L
CRC L,H
01
03
02
00
76
39
A2
DATA - identification code (007676h)
3. Change of the device address from 1 to 2 (write to reg. 20h)
ADDR
FUNC
REG H,L
DATA H,L
CRC L,H
01
06
00
20
00
02
09
C1
DATA H - 0
DATA L - new device address (2)
13