beautypg.com

IAI America RCM-GW-PR User Manual

Page 80

background image



74

PfofiBus Gateway

(4) Error response

If a command error occurs, the most significant bit (b7) of the response command will turn ON. In
addition, one of the following error codes will be set in response data 1.
If no link is currently formed, nothing will be shown in the response command.

Code Description

0101H Invalid

address

*1

0102H

Invalid position number *1

0103H

Invalid request command *1

0201H Communication

failed

0202H

Not executable by the controller

*1) If any of these conditions is found as a result of data check from the PLC, an applicable error

code will be set in the response data without the data being sent to the controller.

(5) How to use commands

To use various commands, process the data in each command area according to the flow shown
below. This flow assumes that 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.