3. HIGH–SPEED RESPONSE
(Power Mate i–H)
The program branches to the block with sequence number n
If sequence number except 0–89999 is specified, compile error 128 is
Ex.) (n: 0–89999)
Nn ..... ;
An equation of condition is placed after ”IF”. Put an equation of condition
in square brackets ”[” and ”]”. If the condition is true, then the program
branches to the block with sequence number n. If the condition is false,
then the next block is executed.
The following operators as an equation of condition can be used
EQ Equal to (=)
NE Not equal to ()
GT Greater than (>)
GE Greater than or equal to ()
LT Less than (<)
LE Less than or equal to ()
IF [#i EQ #j] GOTO n;
(1) If the specified conditional
expression is satisfied (#i = #j),
this program branches to the
block with sequence number
n, and the processing2 is
(2) If the specified condition is
not satisfied (#i #j), the
processing1 is executed.
Arithmetic and logic operation can not be performed in an
equation of condition.
IF[#i EQ #i + 1] ..... NG
IF[#i EQ – #i ] ........ OK
IF[#i EQ #j] ........... OK
Specify a conditional expression after WHILE. While the specified
condition is satisfied, the program from DO to END is executed. If the
specified condition is not satisfied, program execution proceeds to the
block after END.
The same format as for the IF statement applies.