Yaskawa FSP Amplifier FlexWorks User Manual

Page 138

Advertising
background image

Command Reference

138

IF

G

ROUP

Program Flow Control

S

YNTAX

IF <variable> <condition> <value> <then>

<label>

O

P

. C

ODE

105

M

ODES

Program

D

ESCRIPTION

Defines the different types of conditions/terms that

control the flow of the program. If the IF condition is
true, the action specified by <then> is performed.

Otherwise, the next program line is performed.

variable System variable (see Chapter 9, List of

System Variables).

Serial

1 U

condition Select from:

Condition Code

== 0

> 1

< 2

>= 3

<= 4

!= 5

Serial

1 U

S

YNTAX

A

RGUMENTS

















value

Set a value (or system variable ID
number) with the same units as
<variable>.

Serial

4 V

Advertising
This manual is related to the following products: