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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7. Instructions<br />

Program control instructions<br />

FUN<br />

No.<br />

Name Expression Function Steps Speed<br />

(µs)<br />

Page<br />

128 Subroutine call −[ CALL N. n ]− Calls the subroutine number n. 2 21.0 203<br />

129 Subroutine<br />

return<br />

⎥−−[ RET ]−⎢ Indicates the end of a<br />

subroutine.<br />

1<br />

(in a<br />

pair)<br />

204<br />

132 FOR<br />

133 NEXT<br />

−[ FOR n ]−<br />

−[ NEXT ]−<br />

When the input of FOR is ON,<br />

executes the segment from<br />

FOR to NEXT the number of<br />

times specified by n.<br />

2<br />

1<br />

22.0<br />

(in a<br />

pair)<br />

205<br />

206<br />

137 Subroutine<br />

entry<br />

⎥−[ SUBR (n) ]−−⎢ Indicates the start of the<br />

subroutine number n.<br />

2<br />

included<br />

in CALL 207<br />

140 Enable<br />

interrupt<br />

141 Disable<br />

interrupt<br />

−[ EI ]−<br />

−[ DI ]−<br />

Enables execution of interrupt<br />

program.<br />

Disables execution of interrupt<br />

program.<br />

1<br />

1<br />

27.6<br />

(in a<br />

pair)<br />

208<br />

209<br />

142 Interrupt return ⎥−−[ IRET ]−⎢ Indicates the end of an interrupt<br />

program.<br />

1 1.4 210<br />

143 Watchdog<br />

timer reset<br />

−[ WDT n ]− Extends the scan time over<br />

detection time.<br />

2 16.1 211<br />

144 Step sequence<br />

initialize<br />

−[ STIZ (n) A ]− Resets OFF the n<br />

devices stating with<br />

A, and sets ON A.<br />

These<br />

configure<br />

a series<br />

3<br />

59.9 -<br />

65.0<br />

212<br />

145 Step sequence −[ STIN A ]− Turns ON output if of step<br />

input<br />

input is ON and A is<br />

ON.<br />

sequence 2 27.0 213<br />

146 Step sequence −[ STOT A ]−⎢ When input is ON,<br />

output<br />

resets OFF the<br />

devices of STIN on<br />

the same rung, and<br />

sets ON A.<br />

2<br />

27.0 -<br />

119.0<br />

214<br />

RAS<br />

FUN<br />

No.<br />

Name Expression Function Steps Speed<br />

(µs)<br />

Page<br />

154 Set calendar −[ A CLND ]− Sets 6 registers data starting<br />

with A into clock/calendar.<br />

2 217<br />

155 Calendar −[ A CLDS B ]− Calculates difference between<br />

operation<br />

present date & time and past<br />

date & time stored in 6 registers<br />

starting with A, and stores the<br />

result in 6 registers starting with<br />

B.<br />

3 218<br />

112 <strong>T1</strong>-<strong>16S</strong> User’s <strong>Manual</strong><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!