![](/images/new-backgrounds/1284400/284400447x1.webp)
6F3B0250
7. Instructions
FUN 129
RET
Subroutine return
Expression
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 |
- | Execution |
Output
-
Operand
No operand is required.
Example
Main program
[ CALL N.008 ]
Note
Subroutine
[ SUBR (008)]
[ RET ]
·Refer to the 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.
222 T1/T1S User’s Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net