Protocol
8
Recovery (Write with function code 06)
Parameter
Address
Data Format
Value range
Initial
Value
Illustrate
Restore settings
400
Unsigned
-
-
Write the value of 99 to
restore the setting
parameters, but the
communication settings
will not be restored
Read the ORP value and temperature value measured by the electrode (assuming the
electrode address is 1)
Host sends
[01 04 00 02 00 04 50 09]
[01]
Indicates the electrode address, where the electrode address is 1
[04]
Indicates the function code, here use the function code 04 to read the measured value
[00 02]
represents the starting register address, where the starting register address is 2
[00 04
] indicates the number of registers to be read, here 4 registers are read
[50 09]
Indicates CRC check code
Electrode return data
[01 04 08 00 00 40 E0 00 00 41 C8 9A DD]
[01]
Indicates the electrode address, where the electrode address is 1
[04]
Indicates the function code, here use the function code 04 to read the measured value
[08]
Indicates the number of data bytes, there are 8 bytes here
[00 00 40 E0]
These 4 bytes represent the ORP value, the value is represented by a
floating point number,
[00 00]
is the lower 16 bits,
[40 E0]
is the upper 16 bits, that is, the
32-bit floating point number is
[40 E0 00 00 ]
, after converting to decimal, it is 7, and the mV
value is 7
[00 00 41 C8]
These 4 bytes represent the temperature value, the value is represented by a
floating point number,
[00 00]
is the lower 16 bits,
[41 C8]
is the upper 16 bits, that is, the
32-bit floating point number is
[41 C8 00 00 ]
, converted to decimal number is 25, the
temperature value is 25 degrees Celsius
[9A DD]
means CRC check code
Modify the electrode address, change the electrode address from 1 to 2
Host sends
[01 06 00 00 00 02 08 0B]
4.3 How to use common functions
4.3.1 Reading electrode measurements
4.3.2 Modify electrode address
Содержание DRH7
Страница 1: ...Digital ORP Sensor User Manual Model DRH7 Version 1 0 Daruifuno ...
Страница 2: ......
Страница 4: ......
Страница 15: ......
Страница 16: ...Delfino Environmental Technology Co Ltd www daruifuno com info daruifuno com ...