4) error response – IAI America RCM-GW-DV User Manual

Page 85

Advertising
background image

79

DeviceNet Gateway

(4) Error

response

If a command error occurs, the most significant bit (b15) of the response command will turn ON and a
corresponding error code, as shown below, will be set in response data 1.
If link is not yet established at all, nothing will be shown in the response command.

Code Description

0101H

Invalid axis number *1

0102H

Invalid position number *1

0103H

Invalid request command *1

0201H Communication

failure

0202H

Command not executable by the controller

*1 If an error is found as a result of checking the data received from the PLC, the Gateway Unit will

set an error code in the response data without sending the command to the controller.

(5) How to use commands

To use various commands, process the applicable data in the command area according to the flow
shown below. In the example flow, only one command is processed.







































Use a command

Response

command area 0?

Clear the request command
area and data areas 0 to 3

Write the command code in
the request command area

Write the necessary data in
data areas 0 to 3

Response command =

Request command?

Clear the request command area

Clear data areas 0 to 3

Advertising