8 one scan wait (eox) – Yaskawa MP900 Series Motion Programming Manual User Manual
Page 109
3.1 High-Level Control Commands
3 -19
3.1.8 ONE SCAN WAIT (EOX)
J
Overview
The continuous sequence commands in a motion program are normally executed in one scan.
The EOX command is used to execute continuous sequence commands in several scans.
This command supports block operation, i.e., operation will stop for it in block operation mode.
J
Designation Method
MW00001=100;
OB00010=1;
EOX;
OB00011=0;
The block after EOX will be executed in the next scan.
J
Programming Examples
For Above Example
MW0001=100;
OB00010=1;
EOX;
OB00011=0;
First scan
Second scan
Example Using WHILE
WHILE OB00010==1;
EOX;
WEND;
A WHILE statement can be programmed only for sequence commands.
Sequence Command Debugging Example
EOX;
OB00010=1;
EOX;
OB00011=0;
Block start
Block start
Block operation
A motion program is executed in block units. The block operation function is provided for checking whether
the program is running normally. Execution of one block at a time is possible using block operation mode
and a block operation start signal.
Some commands can be stopped and some commands cannot be stopped with block operation.
S
Commands that can be stopped: Commands for which processing is not completed in one scan (axis
move commands such as MOV and MVS, including EOX)
S
Commands that cannot be stopped: Commands for which processing is completed in one scan (se-
quence commands such as arithmetic commands, including PLD)
3
A
EXAMPLE
"
INFO