Chapter 5 Communication
www.supmea.com
- 19 -
Function code 06 (0x06): write a single register
Inquiry frame
Name
Device
address
Function
code
Initial
address
Data
value
CRC
Data
Addr
0x06
M
Data
CRC16
Length
(bytes)
1
1
2
2
2
Response frame (normal response)
Name
Device
address
Function
code
Initial
address
Data
value
CRC
Data
Addr
0x06
M
Data
CRC16
Length
(bytes)
1
1
2
2
2
Special Note
Inquiry frame: This command can only write the value of a single register. High
byte of each register comes first, low byte comes afterwards.
Response frame: If successful, the command sent by the computer is returned as
it was, otherwise the response is abnormal.
Example
Change the measurement mode to ORP
Inquiry: 01 06 00 25 00 01 59 C1
Response: 01 06 00 25 00 01 59 C1
It indicates that the measurement mode was successfully changed to ORP.