User manual for RTD,TC,mV/4-20mA converter module SPT-86L
2. Read of device 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
20
5B
E0
7F
DATA - identification code (205Bh)
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)
The answer (the same as the message):
ADDR
FUNC
REG H,L
DATA H,L
CRC L,H
01
06
00
20
00
02
09
C1
4. Read of the registers 1, 2 and 3 in one message (example of reading a number of
registries in one frame):
ADDR
FUNC
REG H,L
COUNT H,L
CRC L,H
01
03
00
01
00
03
54
0B
COUNT L - the count of being read registers (max.16)
The answer:
ADDR
FUNC
BYTE C DATA H1,L1
DATA H2,L2
DATA H3,L3
CRC L,H
01
03
06
00
0A
00
00
00
01
78
B4
DATA H1, L1 - reg. 01h (10 - measured value ”1.0”),
DATA H2, L2 - reg. 02h (0 - no errors),,
DATA H3, L3 - reg. 03h (1 - decimal point position ” 0.0”).
There is no full implementation of the Modbus Protocol in the device. The functions
presented above are available only.
22
i