User manual for Digital Indicator and cooperating software
ADDR
FUNC
REG H,L
DATA H,L
CRC L,H
01
06
00
20
00
02
09
C1
3. Read of the displayed value (measurement) for channel 1, the device address = 01h:
ADDR
FUNC
REG H,L
COUNT H,L
CRC L,H
01
03
00
01
00
01
D5
CA
The answer:
ADDR
FUNC
BYTE C
DATA H,L
CRC L,H
01
03
02
00
FF
F8
04
DATA H, L
- displayed value = 255, no decimal point. Decimal point position can be
read from reg. 43h (position of decimal point for channel 1)
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. 32)
The answer:
ADDR
FUNC BYTE C
DATA H1,L1
DATA H2,L2
DATA H3,L3
CRC L,H
01
03
06
00
0A
00
02
02
80
18
74
DATA H1, L1
- 01h registry (10 – value displayed for channel 1, no decimal point),
DATA H2, L2
- 02h registry (2 – value displayed for channel 2, no decimal point),
DATA H3, L3
- 03h registry (640 – value displayed for channel 3, no decimal point).
5. Setting of name for channel 1 as "Channel 1 "
(example of writing a number of registries in one frame)
ADDR
FUNC
REG H,L
COUNT H,L
BYTE C
01
10
00
47
00
05
0A
continue of frame:
39