If_input – Yaskawa FSP Amplifier FlexWorks User Manual
Page 140

Command Reference
140
IF_INPUT
G
ROUP
Program Flow Control
S
YNTAX
IF_INPUT
state>
O
P
. C
ODE
108
M
ODES
Program
R
ANGE
Input number – 0 to 7.
D
ESCRIPTION
The program flow is conditional on the state of a digital input.
If the condition is True, the action specified by
occur. Otherwise, the next program line is executed.
Input number
Digital input number according to the
pin on CN1. Pin 40 is related to
, 0 and 41 to 1, etc.
Serial
1 U
Input condition
Only the equal to condition is
available:
Condition Code
== 0
Serial
1 U
Input state
Can be set to either 0 OR 1.
Serial
1 U V
S
YNTAX
A
RGUMENTS
then
Specifies the action to take:
Setting Code
CALL - call subroutine
with specified
when finished, return.
0
GO_TO - continue from
the specified
1
Serial
1 U