Appendix – KROHNE UFC 400 Modbus EN User Manual
Page 29
APPENDIX
8
29
UFC 400
www.krohne.com
05/2013 - 4002744801 - AD Modbus UFC 400 R01 en
Function Code 0x03: Read Holding Registers
Function Code 0x04: Read Input Register
Function Code 0x05: Write Single Coil
Function Code 0x08: Diagnostics
Request
Response
Error
Function
0x03
Function
0x03
Function
0x83
Starting Address
Hi
0x00 to 0xFF
Byte Count
2 * n
Exception Code
0x01 / 0x02 /
0x03 / 0x04
Starting Address
Lo
0x00 to 0xFF
Register n Value
Hi
Quantity of
Registers Hi
0x00
Register n Value
Lo
Quantity of
Registers Lo
n (0x01 to 0x7D)
...
...
Request
Response
Error
Function
0x04
Function
0x04
Function
0x84
Starting Address
Hi
0x00 to 0xFF
Byte Count
2 * n
Exception Code
0x01 / 0x02 /
0x03 / 0x04
Starting Address
Lo
0x00 to 0xFF
Input Register n
Hi
Quantity of Input
Registers Hi
0x00
Input Register n
Lo
Quantity of Input
Registers Lo
n (0x01 to 0x7D)
...
...
Request
Response
Error
Function
0x05
Function
0x05
Function
0x85
Output Address Hi 0x00 to 0xFF
Output Address Hi 0x00 to 0xFF
Exception Code
0x01 / 0x02 /
0x03 / 0x04
Output Address Lo 0x00 to 0xFF
Output Address Lo 0x00 to 0xFF
Output Value Hi
0x00 or 0xFF
Output Value Hi
0x00 or 0xFF
Output Value Lo
0x00
Output Value Lo
0x00
Request
Response
Error
Function
0x08
Function
0x08
Function
0x88
Sub-function Hi
0x00 to 0xFF
Sub-function Hi
0x00 to 0xFF
Exception Code
0x01 / 0x03 /
0x04
Sub-function Lo
0x00 to 0xFF
Sub-function Lo
0x00 to 0xFF
Data n Hi
0x00 to 0xFF
Data n Hi
0x00 to 0xFF
Data n Lo
0x00 to 0xFF
Data n Lo
0x00 to 0xFF
...
...
...
...