beautypg.com

5 i/o variable wait (iow) – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 106

background image

Advanced Programming

3.1.5 I/O VARIABLE WAIT (IOW)

3 -16

11. On the Motion Editor window, input the commands to call the user function.

12. Execute the motion program and check the operation.

3.1.5 I/O VARIABLE WAIT (IOW)

J

Overview

The I/O VARIABLE WAIT (IOW) command causes execution to wait until the status specified
by a conditional expression is satisfied. When the condition is satisfied, execution proceeds to
the next block.

J

Description

The IOW command is designated as follows:

IOW IB000001&IB000002= =|;

A

B

A: Conditional expression
B: Status

The IOW command causes execution to wait until the conditional expression is satisfied, then
ends the current block and proceeds to the next block.

1. A conditional expression can be written only on the left side.
2. With a bit expression, only = = can be used for the comparison command.

The conditional expression cannot be used.
IOWIB000001&IB000002< >0;

3. Parentheses ( ) can also be used in a conditional expression.
4. Any comparison command can be used if the conditional expression is not a bit expression.

IOWMW00100+MW00101>1000;
IOWML00100*3/100>=20;
IOWMW00100&MW00101∨MW00102= =3355H;

3

INFO

This manual is related to the following products: