Yaskawa J50M Instructions User Manual
Page 118

2.11.7
CONTROL COMMANDS (Cent’d)
Branch Destination Sequence No.
Executed with
this data ignored.
2.
The reverse branch on the program takes
longer execution time than the forward branch.
(2)
R e p e a t C o m m a n d
A .
WHILE [< conditional expression>
DO m;
(m = 1, and 3)
I
Conditional>]
expression
(Next Block)
GOTO n
Nn
IF
conditional
>] may be omitted to
provide a simple
command as shown below:
W bile
blocks between DO m and END m are repeated.
When it is unsatisfied, the processing branches
to the block next to END
GOTO n ;
. . ;
I
(Block next to END m)
Conditional expressions are EQ, NE, GT, LT, GE,
and
LE.
are represented as follows:
When the specification is made omitting WHILE
[
DO m
and END m are repeated infinitely.
Conditional Expression
I
Meaning
this is used in the format shown below .
#j)
(#i
#j)
A constant and
can be used to #i and #j.
A variable and
can be used for n.
– IF [ GOTO n ; expression>] Notes : The sequence number of the destination of the branch by a branch command must be located Otherwise , the data prior to the sequence number is ignored as shown END m ; 110
at the head of that block.
below:
