110 Modbus/TCP – Diagnostics
Internal error code registers
A Modbus query can fail in many ways in the drive. The Modbus
standard does not specify detailed error descriptions. In addition to
the standard error codes, the FENA adapter module provides an
internal error register area for more detailed diagnostics.
The internal error register area is used if Modbus error code 0x04
occurs. The registers contain information about the last query. You
can figure out the reason of the failure by reading the registers.
The internal error register is cleared when a query has finished
successfully.
Address Registers (16-bit word)
(4)00090 Reset internal error registers (0 = Do nothing, 1 = Reset)
(4)00091 Function code of the failed query
(4)00092 Internal error code; see the error number.
(4)00093 Failed register
(4)00094 Last register that was written successfully
(4)00095 Last register that was read successfully
Error code Description Situation
0x00 No error Used when a Modbus query was
successful
0x02 Low or high limit
exceeded
Change access with a value
outside the value limits
0x03 Faulty subindex Access to an unavailable
subindex of an array parameter
0x05 Incorrect data type Change access with a value that
does not match the data type of
the parameter
0x65 General error in drive
communication
Undefined error when handling a
Modbus query
0x66 Timeout Timeout in drive communication
when handling a Modbus query
0x70 Read-only An attempt to write a non-zero
value to a read-only drive
parameter