User manual - DATA RECORDER SRD-99 and cooperating software
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:
DATA H1,L1
DATA H2,L2
DATA H3,L3
DATA H4,L4
DATA H5,L5
CRC L,H
43
68
61
6E
6E
65
6C
20
31
20
7F
D0
DATA H1, L1 - 47h registry (43h - character "C", 68h - character "h"),
DATA H2, L2 - 48h registry (61h - character "a", 6Eh - character "n"),
DATA H3, L3 - 49h registry (6Eh - character "n", 65h - character "e"),
DATA H4, L4 - 4Ah registry (6Ch - character "l", 20h - space " "),
DATA H5, L5 - 4Ah registry (31h - character "1", 20h - space " ").
a) The answer (we assume that input current is not out of range):
ADDR
FUNC
REG H,L
COUNT H,L
CRC L,H
01
10
00
47
00
05
B0
1F
71