Operator`s manual
2.2 Control Instruction
2-36
RET
Instruction set:
Returns from the called job to the original job which has been called.
1. IF
The following tag can be added or omitted.
RET IF IN#(12)=ON
If general input signal No.12 is on, it returns to the job of the call origin.
SUBSET STANDARD EXPANDED
Available Available Available
No Tag Explanation Note
1 IF Specifies the IF instruction. Refer to " 2.6
Instruction Which
Adheres to an
Instruction ".
Function
Construction
RET
IF
END
1
Explanation
Example
NOP
MOVJ VJ=100.00
MOVJ VJ=100.00
CALL JOB:2
MOVJ VJ=100.00
END
JOB:1 JOB:2Execution order
NOP
DOUT OT#(1) ON
WAIT IN#(1)=ON
DOUT OT#(1) OFF
RET IF IN#(12)=ON
END