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 160 UL Upper limit<br />

Expression<br />

Input −[ A UL B → C ]− Output<br />

Function<br />

When the input is ON, the following operation is executed. (Upper limit for A by B)<br />

If A ≤ B, then C = A.<br />

If A > B, then C = B.<br />

Execution condition<br />

Input Operation Output<br />

OFF No operation OFF<br />

ON Execution: not limited (A ≤ B) OFF<br />

Execution: limited (A > B) ON<br />

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

6F3B0253<br />

Operand<br />

Name Device Register Constant Index<br />

X Y R S T. C. XWYWRWSW T C D I J K<br />

A Operation data √ √ √ √ √ √ √ √ √ √ √ √<br />

B Upper limit √ √ √ √ √ √ √ √ √ √ √ √<br />

C Destination √ √ √ √ √ √ √ √ √ √<br />

Example<br />

When R030 is ON, the upper limit operation is executed for the data of RW018 by the data of<br />

D1200, and the result is stored in RW021.<br />

C<br />

(RW021) Upper limit B (D1200)<br />

A (RW018)<br />

When RW018 is 3000 and D1200 is 4000, 3000 is stored in RW021 and R0040 is OFF.<br />

When RW018 is 4500 and D1200 is 4000, the limit value 4000 is stored in RW021 and R0040<br />

is ON.<br />

Note<br />

• This instruction deals with the data as signed integer (-32768 to 32767).<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!