
11. Connection to other devices
11.4 Modbus TCP
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.:
l
0 (the user keeps specifying addresses as one-based addresses)
l
Undefined* (please refer to the "Modbus map" table) or
l
Un-enabled*
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.:
l
0 (the user keeps specifying addresses as one-based addresses)
l
Undefined* (please refer to the "Modbus map" table) or
l
Un-enabled*
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
553
Summary of Contents for easyE4 series
Page 1: ...Manual 11 18 MN050009 EN easyE4 Manual...
Page 4: ......
Page 16: ...12 easyE4 11 18 MN050009 EN www eaton com...
Page 22: ...0 1 About this manual 18 easyE4 11 18 MN050009 EN www eaton com...
Page 169: ...easyE4 11 18 MN050009 EN www eaton com 165...
Page 490: ...7 System settings 7 16 Time and Date setting 486 easyE4 11 18 MN050009 EN www eaton com...
Page 520: ...9 easyE4 inside 9 7 NET network 516 easyE4 11 18 MN050009 EN www eaton com...
Page 570: ...11 Connection to other devices 11 6 E mail function 566 easyE4 11 18 MN050009 EN www eaton com...
Page 578: ...12 Faults 12 4 Functionality of the NET faulty 574 easyE4 11 18 MN050009 EN www eaton com...
Page 582: ...13 Maintenance 13 3 Storage transport and disposal 578 easyE4 11 18 MN050009 EN www eaton com...
Page 594: ...590 easyE4 11 18 MN050009 EN www eaton com...