Thermo Scientific 49i Instruction Manual page 302

Uv photometric o3 analyzer
Table of Contents

Advertisement

MODBUS Protocol
Function Codes
C-6
Model 49i Instruction Manual
Response
Function code
1 Byte
Byte count
1 Byte
Register value
N* x 2 Bytes
*N = Quantity of Registers
Error Response
Function code
1 Byte
Exception code
1 Byte
Here is an example of a request to read registers 10–13:
Request
Field Name
(Hex)
Function
0x03
Starting Address Hi
0x00
Starting Address Lo
0x09
No. of Registers Hi
0x00
No. of Registers Lo
0x04
Response
Field Name
(Hex)
Function
0x03
Byte Count
0x06
Register value Hi (10)
0x02
Register value Lo (10)
0x2B
Register value Hi (11)
0x00
Register value Lo (11)
0x00
Register value Hi (12)
0x00
Register value Lo (12)
0x64
Register value Hi (13)
0x00
Register value Lo (13)
0x64
The contents of register 10 are shown as the two byte values of 0x02 0x2B.
The contents of registers 11–13 are 0x00 0x00, 0x00 0x64 and 0x00 0x64,
respectively.
0x03 or 0x04
2 x N*
n = N or N+1
Function code + 0x80
01=Illegal Function, 02=Illegal Address,
03=Illegal Data, 04=Slave Device Failure
Thermo Fisher Scientific

Advertisement

Table of Contents
loading

Table of Contents