Modbus Tcp Error Handling - Eaton easyE4 series Manual

Hide thumbs Also See for easyE4 series:
Table of Contents

Advertisement

11.4.3 Modbus TCP error handling

Read Coils 0x01:
In the event of an error, Modbus TCP will send an error frame.
Fault Code
1 byte 0x81 ; Read Coils
Exception Code 1 byte 02 or 03 or 04
Exception Code 02 = Invalid address, i.e.:
0 (the user keeps specifying addresses as one-based addresses)
l
Undefined* (please refer to the "Modbus map" table) or
l
Un-enabled*
l
Exception Code 03 = The number of outputs is not >= 0x0001 and <= 0x07D0
Exception Code 04 = (Error in server) n.a.**
*For an error message, it is sufficient if only one of the requested addresses is not
unlocked or is invalid.
**Data in the image table is protected from other modules by semaphores; as of this
writing, no known criterion for a "read coil" error in the server.
Read Discrete Inputs 0x02:
In the event of an error, Modbus TCP will send an error frame.
Fault Code
1 byte 0x82 ; Read Discrete Input
Exception Code 1 byte 02 or 03 or 04
Exception Code 02 = Starting address is invalid, i.e.:
0 (the user keeps specifying addresses as one-based addresses)
l
Undefined* (please refer to the "Modbus map" table) or
l
Un-enabled*
l
Exception Code 03 = The number of inputs is not >= 0x0001 and <= 0x07D0
Exception Code 04 = (Error in server) n.a.**
*For an error message, it is sufficient if only one of the requested addresses is not
unlocked or is invalid.
**A read operation always returns consistent data from the image table, since this data
is protected from other modules by semaphores. In other words, as of this writing,
there is no known criterion for a "read discrete inputs" error in the server.
Read Holding Registers 0x03:
In the event of an error, Modbus TCP will send an error frame.
easyE4 11/18 MN050009 EN www.eaton.com
11. Connection to other devices
11.4 Modbus TCP
553

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents