Instruction manual
5. MODBUS PROTOCOL
IMCB14-E1
20
5.4 Slave Responses
(1) Normal response
z
In the response message of the Read Holding Registers, the slave returns the read out data and the
number of data items with the same slave address and function code as the query message.
z
In the response message of the Preset Single Register, the slave returns the same message as the
query message.
z
In the response message of the Diagnostics (loopback test), the slave returns the same message as
the query message.
(2) Defective message response
z
If the query message from the master is defective, except for transmission error, the slave returns
the error response message without any action.
Slave address
Function code
Error code
Error check CRC-16
Error response message
z
If the self-diagnostic function of the slave detects an error, the slave will return an error response
message to all query messages.
z
The function code of each error response message is obtained by adding 80H to the function code
of the query message.
Error code Contents
1
Function code error (Designation of an unsupported function code)
2
When written to read only data
When any address other than 0000H to 0019H is specified
When PID constants or anti-reset windup (ARW) data are set to 0 and 1 is
entered at self-tuning (ST) function
When either one of PID constants and anti-reset windup (ARW) data are written
during execution of the self-tuning (ST) function
3
When the data written exceeds the setting range
When the specified number of data items in the query message exceeds the
maximum number of data items available
4
Self-diagnostic error response
(3) No response
The slave ignores the query message and does not respond when:
z
The slave address in the query message does not coincide with any slave address settings.
z
The transmission parameter of the master does not coincide with that of the slave.
z
Transmission error such as overrun, framing, parity and etc., is found in the query message.
z
Data time interval in the query message from the master exceeds 24 bit's time.