Rockwell Automation AADvance Controller Demo Unit User Manual

Page 43

Advertising
background image

Document: 553850 Issue 1.2: March 2011

4-9

Support for Modbus Slave Exceptions

When the AADvance controller operates as a Modbus slave, it can raise these
exception codes:
Code 01: 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.
Code 01 represents a function that the AADvance controller does not recognize or

does not support.
Code 02: Illegal Data Address
The data address received in the query is not an allowable address for the slave.
The AADvance controller raises code 02 when a request specifies an address outside
the 16-bit range 0 to 65,535. The exception occurs if the request specifies the address

implictly ('give me the 20 registers from address 65,530') or explicitly (give me the
register at address 65,536').

Code 03: Illegal Data Value

A value contained in the query data field is not an allowable value for the slave.
The AADvance controller can raise code 03 only on boolean (coil) writes.
Code 04: Slave Device Failure
An unrecoverable error occurred while the slave was attempting to perform the
requested action.
Code 04 represents an internal error within the AADvance controller.
Code 06: 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.
The AADvance controller can be 'busy' and thus raise code 06 while it is waiting for

its application to download or to start. The controller can be report itself to be busy
for up to 30 seconds; after this period, the controller will cease to respond.

Advertising