Wait_input – Yaskawa FSP Amplifier FlexWorks User Manual
Page 188

Command Reference
188
WAIT_INPUT
G
ROUP
Wait
S
YNTAX
WAIT_INPUT <input number> <input condition
<input state> <time>
O
P
. C
ODE
109
M
ODES
Program, Sequential
D
ESCRIPTION
Pauses execution of program until the condition on
digital input is true or until the time specified by
<time> has elapsed.
Input
number
Digital input number according to the
pin on CN1. Pin CN1-40 corresponds to
<input number> 0 and CN1-41 to 1,
etc.
Range: 0 to 7
Serial 1 U
Input
condition
Input condition:
Condition Code
== 0
Serial 1 U
Input
state
0 or 1
Serial 1 U
S
YNTAX
A
RGUMENTS
time
The time to wait until the input is set.
Setting <time> to –1 specifies an
indefinite wait.
[ms]
Serial 4 V
E
XAMPLE
LABEL 1
WAIT_INPUT 2 = 1 –1
MOVE 10800 –1
WAIT_INPUT 2 = 0 10000
MOVE -10800 -1
END