03.01.2013 Views

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7. Instructions<br />

FUN 129 RET Subroutine return<br />

Expression<br />

⎟−−[ RET ]−⎢<br />

Function<br />

This instruction indicates the end of a subroutine. When program execution is reached this<br />

instruction, it is returned to the original CALL instruction.<br />

Execution condition<br />

Input Operation Output<br />

- Execution -<br />

Operand<br />

No operand is required.<br />

Example<br />

Main program Subroutine<br />

| | [ CALL N.008 ] [ SUBR (008)]<br />

204 <strong>T1</strong>-<strong>16S</strong> User’s <strong>Manual</strong><br />

[ RET ]<br />

Note<br />

• Refer to the SUBR instruction (FUN 137).<br />

• The RET instruction can be programmed only in the program type ‘Subroutine’.<br />

• The RET instruction must be connected directly to the left power rail.<br />

6F3B0253<br />

<strong>CTi</strong> <strong>Automation</strong> - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!