Liquistation CSF22 MODBUS
®
-Guideline
Hauser
© Copyright Dez. 2011
9
Error
Error code
1 Byte
0x88
Exception code
1 Bytes
01 or 03 or 04
Sub function 0x00: Return Query Data (Loopback)
The data passed in the request data field is to be returned (looped back) in the response.
Example:
Request
Function code
0x08
Sub-function
0x00
Data
0x01 0x02 0x03 0x04
Response is identical to Request
Function code
0x08
Sub-function
0x00
Data
0x01 0x02 0x03 0x04
Sub function 0x02: Return diagnostic register
The content of the 16-bit Modbus diagnostics register is returned. The diagnostic register provides information
about the device status and the location of an error condition. Multiple bits may be set.
Parameter
Register
Bit
MB_FC08_DIAGNOSE
500
0
Reserviert = 0
1
Reserviert = 0
2
Reserviert = 0
3
Reserviert = 0
4
Reserviert = 0
5
Reserviert = 0
6
Reserviert = 0
7
Reserviert = 0
8
General device error is present, description category see bits
12…15
9..11
Reserviert = 0
12
Status signal F (Failure)
13
Status signal C (Function check)
14
Status signal M (Maintenance required)
15
Status signal S (Out of specification)
Hint:
The definition of the status signal is according NAMUR NE107. Further information is in the operation manual
BA477C: Liquistation CSF22 Operating instructions (Maintenance & diagnostics).
3.2.4.
FC16 Write Multiple Register
This function code is used to write several registers with a single request. All parameters addressed by the written
registers need to be writable, otherwise the query is answered with an exception ILLEGAL DATA VALUE.
Request
Function code
1 Byte
0x10
Starting Address
2 Bytes
0x0000 to 0xFFFF
Quantity of Registers
2 Bytes
0x0001 to 0x007B
Byte Count
1 Byte
(2 * Quantity of registers) Bytes
Register Value
(2 * Quantity of registers) Bytes
value