Lanry Instruments
www.lanry-flow.com
- 20 -
Display & Output Model
b) Standard Message Format
Read Holding Registers
is used to retrieve measurements.
Message
Address
1 byte
1-255
Function Code
1 byte
0x03
Data Address
2 bytes
0 to 62
Register Count
2 bytes
2 to 64
CRC
2 bytes
Response
Address
1 byte
1-255
Function Code
1 byte
0x03
Byte Count
1 byte
4 to 168
Data Payload
N bytes
CRC
2 bytes
*Byte count = 2*Register Count
Write Single Register
is used to configure instrument settings.
Message
Address
1 byte
1-255
Function Code
1 byte
16
Data Address
2 bytes
0 to 62
Register Count
2 bytes
2 to 64
Data Payload
N byte
CRC
2 bytes
Response
Address
1 byte
1-255
Function Code
1 byte
16
Byte Count
1 byte
0 to 62
Data Payload
N bytes
2 to 64
CRC
2 bytes