
WAC Wait For Condition
Used in: Analog Input Signals (84), Digital Input Signals (80), Running the Macros (95)
Description:
Waits until a condition is met.
Long description
WAC compares a specified value with a queried value according to a
specified rule.
Can only be used in macros.
Possible relational operators:
<OP>
Description
=
Equal
!=
Not equal
<=
Smaller than or equal
<
Smaller than
>=
Larger than or equal
>
Larger than
Format:
WAC␣<CMD?>␣<OP>␣<Value>
Arguments:
<CMD?>
Query command that responds with a single val-
ue
<OP>
Relational operator
<Value>
Relational value with <CMD?>
9 COMMAND REFERENCE
PZ285EN
‒
1/30/2019
167
M O T I O N | P O S I T I O N I N G