IAI America MSCON User Manual

Page 152

Advertising
background image

3.5 Control Signals for PIO Operation

144

(2) Command Sending and Receiving Timing (Reading and Writing of Position Data and Reading of

Alarm Axis)

By writing and reading the specified commands to the area of 5-word next to Gateway

control/status area, reading and writing of the position data and reading of alarm axis can be

conducted.

Gateway executes the demand command ever time the control/status data exchange finishes

for all the axes. [Refer to Section 3.4.11 About Command.]

Ɣ Step

1) PLC confirms the area of response command is 0.

2) PLC sets the necessary demand commands and data to the indicated area and send them.

3) Gateway detects that the area of the demand command has become other than 0, and

rewrites the appropriate axis data if it is the writing command, and reads the requirement

data from the appropriate axis if reading command.

4) Gateway output the response result to PLC once the command is executed.

5) Once PLC has confirmed the response result, clear the area for the demand command to 0.

6) Gateway clears the response command area to 0 and waits for the next command after it

detects the demand command is cleared.

The procedures from 1) to 6) are repeated when continuously used.




Demand Command

and Data

1)

2)

3)

Response Command

and Response Data

4)

5)

PLC side

MSCON

Gateway side

Response Command Area = 0000H

Gateway executes the reading

of each axis and data following

the demand command.

Demand Command Area = 0000H

6)

Advertising