MODBUS Protocol
Function Codes
C-4
Partisol 2000
i
and Partisol 2000
i
-D Instruction Manual
Thermo Fisher Scientific
with zeros (toward the high order end of the byte). The Byte Count field
specifies the quantity of complete bytes of data.
Note
The values reported may not reflect the state of the actual relays in
the Sampler, as the user may program these outputs for either active closed
or open.
▲
Request
Function code
1 Byte
0x01 or 0x02
Starting Address
2 Bytes
0x0000 to maximum allowed by Sampler
Quantity of outputs
2 Bytes
1 to maximum allowed by Sampler
Unit Identifier
1 Byte
0x00 to 0xFF (Passed back in response)
Response
Function code
1 Byte
0x01 or 0x02
Byte count
1 Byte
N (N = Quantity of Outputs / 8, if the remainder
not equal to zero, then N=N+1)
Output Status
n Byte
N = N or N+1
Error Response
Function code
1 Byte
0x01 or 0x02
Exception code
1 Byte
01=Illegal Function, 02=Illegal Address,
03=Illegal Data, 04=Slave Device Failure
Here is an example of a request and response to read outputs 2–15:
Request
Field Name
(Hex)
Function 0x01
Starting Address Hi
0x00
Starting Address Lo
0x02
Quantity of Outputs Hi
0x00
Quantity of Outputs Lo
0x0D