10 Table of Basic Instructions
10.3 Control Instructions
10-8
149235-1CD
RE-CSO-A031
10.3 Control Instructions
JUMP
Function
Jumps to the specified label or job.
Additional
Item
* <label character string>,JOB:<job name>,
IG# (<input group number>),
B<variable number>,
I<variable number>,D<variable number>
UF# (user coordinates number)
IF statement
Example
JUMP JOB:TEST1 IF IN#(14)=OFF
*
(label)
Function
Indicates a jump destination.
Additional
Item
<jump destination> 8 characters or
less
Example
*123
CALL
Function
Calls the specified job.
Additional
Item
JOB:<job name>,IG# (<input group number>),
B<variable number>,I<variable number>,
D<variable number>
UF# (user coordinates number)
IF statement
Example
CALL JOB:TEST1 IF IN# (24)=ON
CALL IG#(2)
(The job is called by the patterns of input signal. In this example,
Job 0 cannot be called.)
RET
Function
Returns to the call source job.
Additional
Item
IF statement
Example
RET IF IN#(12)=OFF
END
Function
Declares the end of a job.
Additional
Item
Example
END