Scan wait (eox) command -20 – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual

Page 105

Advertising
background image

MotionSuite™ Series Machine Controller Programming Manual

Chapter 3: Advanced Programming Methods

3-20

3.1.8

1-scan Wait (EOX) Command

! Outline

Continuous sequence commands of the motion programs can be executed with 1 scan. The
EOX command is used when the continuous sequence commands are executed with
several scans. Moreover, this command also corresponds to the block operation. In other
words, it is a command that can be stopped in the block operation mode.

! Command Methods

Blocks after the EOX command are executed in the next scan.

! Program Example

In the case shown above:

When the WHILE command is used:

Debugging example of the sequence command:

MW00001=100;
OB00010=1;
EOX;
OB00011=0;

MW0001=100;
OB00010=1;
EOX;
OB00011=0;

1st scan

2nd scan

WHILE OB00010= =1;
EOX;
WEND;

EOX;
OB00010=1;
EOX;
OB00011=0;

Block start

Block start

Advertising