6F3B0253
204 T1-16S User’s Manual
7. Instructions

FUN 129 RET Subroutine return

Expression
−−[ RET ]−
Function
This instruction indicates the end of a subroutine. When program execution is reached this
instruction, it is returned to the original CALL instruction.
Execution condition
Input Operation Output
-Execution -
Operand
No operand is required.
Example
Main program Subroutin e
| | [ CALL N.008 ] [ SUBR (008)]
[ RET ]
Note
Refe r to t h e SUBR instruction (FUN 137).
The RET instruction can be programmed only in the program type ‘Subroutine’.
The RET instruction must be connected directly to the left power rail.