Communications protocol error codes (Modbus TCP, Modbus RTU, Fiber Optic TCP etc.)
Communications protocol error codes (Modbus TCP, Modbus RTU, Fiber Optic TCP etc.)
(OP)
Hi
Safety engineer here with a mechanical background. I've been looking at error codes for Ethernet TCP and Modbus TCP communications and have been wondering whether they can be used to indicate more than just the health of the communications cable, networking, etc. For example, is it possible to infer whether say a position switch (slave) has failed based on Modbus TCP error codes? I realize there may be some ambiguity but wonder if this might be a means to improve troubleshooting and increase equipment availability.
Safety engineer here with a mechanical background. I've been looking at error codes for Ethernet TCP and Modbus TCP communications and have been wondering whether they can be used to indicate more than just the health of the communications cable, networking, etc. For example, is it possible to infer whether say a position switch (slave) has failed based on Modbus TCP error codes? I realize there may be some ambiguity but wonder if this might be a means to improve troubleshooting and increase equipment availability.
RE: Communications protocol error codes (Modbus TCP, Modbus RTU, Fiber Optic TCP etc.)
Your modbus master should provide indications whether or not a proper response to a command is received. Also, any devices I have used do provide register locations to poll for an internal error code or status.
Brad Waybright
The more you know, the more you know you don't know.
RE: Communications protocol error codes (Modbus TCP, Modbus RTU, Fiber Optic TCP etc.)