Modbus Error Code List

阅读更多

HEX Error Code for Modbus Plus and SY/MAX Ethernet:
Hex Error Code Meaning 
1001 User has aborted the MSTR element 
2001 An unsupported operation type has been specified in the control block 
2002 One or more control block parameter has been changed while the MSTR element is active (applies only to operations that take multiple scans to complete). Control block parameters may be changed only when the MSTR element is not active. 
2003 Invalid value in the length field of the control block 
2004 Invalid value in the offset field of the control block 
2005 Invalid values in the length and offset fields of the control block 
2006 Invalid slave device data area 
2007 Invalid slave device network area 
2008 Invalid slave device network routing 
2009 Route equal to your own address 
200A Attempting to obtain more global data words than available 
30ss Modbus slave exception response 
4001 Inconsistent Modbus slave response 
5001 Inconsistent network response 
6mss) Routing failure 


ss HEX Value in Error Code 30ss 
The ss subfield in error code 30ss is:
ss Hex Value Meaning 
01 Slave device does not support the requested operation 
02 Nonexistent slave device registers requested 
03 Invalid data value requested 
04 Reserved 
05 Slave has accepted long-duration program command 
06 Function can't be performed now: a long-duration command in effect 
07 Slave rejected long-duration program command 
08 ... 255 Reserved 


------------------------------------------------------------------- -------------

ss Hex Value in Error Code 6mss 
The m subfield in error code 6mss is an index into the routing information indicating where an error has been detected (a value of 0 indicates the local node, a 2 the second device on the route, etc.).
The ss subfield in error code 6mss is:
ss Hex Value Meaning 
01 No response received 
02 Program access denied 
03 Node off-line and unable to communicate 
04 Exception response received 
05 Router node data paths busy 
06 Slave device down 
07 Bad destination address 
08 Invalid node type in routing path 
10 Slave has rejected the command 
20 Initiated transaction forgotten by slave device 
40 Unexpected master output path received 
80 Unexpected response received 
F001 Wrong destination node specified for the MSTR operation

你可能感兴趣的:(Modbus Error Code List)