MODBUS Exception Responses

From ATTWiki
Revision as of 21:04, 13 July 2007 by Mcone (Talk | contribs)

Jump to: navigation, search

MODBUS Errors are:

Exception 1



ILLEGAL FUNCTION

The function code received in the query is not an allowable action for the slave. If a Poll Program Complete command was issued, this code indicates that no program function preceded it.

Exception 2



ILLEGAL DATA ADDRESS

The data address received in the query is not an allowable address for the slave.

Exception 3



ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for the slave.

Exception 4



SLAVE DEVICE FAILURE

An unrecoverable error occurred while the slave was attempting to perform the requested action.

Exception 5



ACKNOWLEDGE

The slave has accepted the request and is processing it, but a long duration of time will be required to do so. This response is returned to prevent a timeout error from occurring in the master. The master can next issue a Poll Program Complete message to determine if processing is completed.

Exception 6



SLAVE DEVICE BUSY

The slave is engaged in processing a long–duration program command. The master should retransmit the message later when the slave is free.

Exception 7



NEGATIVE ACKNOWLEDGE

The slave cannot perform the program function received in the query. This code is returned for an unsuccessful programming request using function code 13 or 14 decimal. The master should request diagnostic or error

Exception 8



MEMORY PARITY ERROR

The slave attempted to read extended memory, but detected a parity error in the memory. The master can retry the request, but service may be required on the slave device.