
18
Reading-out n-registers (code 03h)
Example 1.
Reading-out 2 registers starting with the register with the
float(32 bits) 1D4Dh (7501) address, (register values 25.68, 20.25.)
Request:
Device
address
Function
Register address
Number of registers
Control sum
CRC
Hi
Lo
Hi
Lo
01h
03h
1Dh
4Dh
00h
02h
52h 70h
Response:
Table 5
Device
ad-
dress
Fun-
ction
Num-
ber
bytes
Value from the register
1DB0 (7501)
Value from the register
1DB1 (7502)
Control
sum
CRC
MSB
LSB
MSB
LSB
01h
03h
08h
41h
CDh
70h
A4h
41h
A2h
00h
00h
83h D0h
Table 6
Recording a single register (code 06h)
Example 2.
Recording the value 78h (120) in the register FA1h (4001)
Request:
Device
address
Function
Register address
Register value
Control sum
CRC
Hi
Lo
Hi
Lo
01h
06h
0Fh
A1h
00h
78h
DBh 1Eh
Table 7
Response:
Device
address
Function
Register address
Register value
Control sum
CRC
Hi
Lo
Hi
Lo
01h
06h
0Fh
A1h
00h
78h
DBh 1Eh
Table 8
Содержание P18D
Страница 1: ...1 USER S MANUAL TEMPERATURE AND HUMIDITY TRANSDUCER P18D TYPE...
Страница 2: ...2...
Страница 4: ...4...