Form of the Function Error Code
STATUS
parameter error codes appear as Mmss, where:
M is the high code
m is the low code
ss is a subcode
Common Error Codes
Hexadecimal error codes description:
Hex. Error Code |
Description |
---|---|
1001 |
Abort by user. |
1002 |
Warm Start initiated abort. |
11ss |
Communication function block specific error codes. |
12ss |
Communication function block specific error codes. |
13ss |
Communication function block specific error codes. |
1mss |
Communication function block specific error codes. |
2001 |
An operation type that is not supported has been specified in the control block. |
2002 |
One or more control block parameters
were modified while the |
2003 |
Invalid value in the length field of the control block. |
2004 |
Invalid value in the offset field of the control block. |
2005 |
Invalid value in the length and offset fields of the control block. |
2006 |
Unauthorized data field on slave. |
2007 |
Unauthorized network field on slave. |
2008 |
Unauthorized network routing path on slave. |
2009 |
Routing path equivalent to their own address. |
200A |
Attempt to get more global data words than available. |
200B |
Peer cop conflict on WR/RD global. |
200C |
Bad pattern for change address request. |
200D |
Bad address for change address request. |
200E |
The control block or data buffer is not assigned, or (incorrect size, parts of the control block or data buffer are located outside of the %MW (4x) range. |
200F |
Space for response in data buffer is too small. |
2010 |
Control buffer length invalid. |
2011 |
Invalid parameter. |
2012 |
Syntax error in “rail.slot.chan” string. |
2013 |
Module missing, not detected, or not configured. |
2015 |
No channel data (channel out of bound). |
2016 |
Abort on timeout. |
2017 |
Invalid task context. |
2018 |
Ethernet security system service error. |
2019 |
Invalid answer data (received data do not correspond to the expected answer). |
201A |
Invalid answer checksum. |
201B |
Compatibility issue (for example, EF or DDT version not compatible with firmware version). |
30ss |
Exceptional response by the Modbus slave with specific ss exception code. |
31ss |
Exceptional Control Expert protocol error response by the Modbus slave with specific ss error code. |
32ss |
Exceptional Control Expert protocol IO request error acknowledgement by the Modbus slave with specific ss error code. |
33ss |
UNI-TE specific report. |
34ss |
Generic communication report (correspond to Communication Report field of Premium/M340 EF Management Parameters). |
35ss |
Generic Operation Report in case of correct exchange (correspond to O peration Report field of Premium/M340 EF Management Parameters when Communication Report = 16#00). |
36ss |
Generic Operation Report in case of refused message (correspond to Operation Report field of Premium/M340 EF Management Parameters when Communication Report = 16#FF). |
37ss |
|
4001 |
Inconsistent response by the Modbus slave. |
4002 |
Inconsistent Modbus Umas response. |
4003 |
Inconsistent UNI-TE response (depending on the module). |
4004 |
Read request for the status words not accepted by the module channel. |
4005 |
Command parameters not accepted by the module channel. |
4006 |
Adjustment parameters not accepted by the module. |
4007 |
SDO abort code (4 bytes) may be found in data field if data field is available. |
5mss |
|
6mss |
Modbus Plus specific routing path error. The subfield m shows where the error occurred (a 0 value means local node, 2 means 2nd device in route, and so on). |
7mss |
|
8mss |
|
F001 |
Wrong destination node was specified for the MSTR operation. Referenced S985 option not present or in reset mode. |
F002 |
Component not fully initialized. |
Modbus Specific Exception Function Codes (30ss)
This table lists the ss hexadecimal values in 30ss error codes:
Hex. Error Code |
Description |
---|---|
3001 |
Slave does not support requested operation. |
3002 |
Non-existing slave registers were requested. |
3003 |
An unauthorized data value was requested. |
3004 |
Unrecoverable error detected in the slave. |
3005 |
Slave has accepted a lengthy program command. |
3006 |
Function cannot currently be carried out: lengthy command running. |
3007 |
Slave has rejected lengthy program command. |
300A |
Gateway unable to allocate an internal communication path. |
300B |
No response obtained from target device. |
30FF |
Modbus extended exception. Additional data available in data field (if data field provided):
|
The ss value corresponds to the Modbus Exception code returned by the Modbus slave device in case of error (second byte of the Modbus exception PDU):
exception-function_code = request function code + 0x80: 1 byte
exception_code: 1 byte (returned as ss in 16#30ss error code