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 />

FUN 102 D> Double-word greater than<br />

Expression<br />

Input −[ A+1⋅A D> B+1⋅B ]− Output<br />

Function<br />

When the input is ON, the double-word data of A+1⋅A and B+1⋅B are compared, and if A+1⋅A is<br />

greater than B+1⋅B, the output is turned ON.<br />

Execution condition<br />

Input Operation Output<br />

OFF No execution OFF<br />

ON Execution A+1⋅A > B+1⋅B ON<br />

A+1⋅A ≤ B+1⋅B OFF<br />

184 <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 Compared<br />

√ √ √ √ √ √ √ √<br />

data<br />

B Reference<br />

data<br />

Example<br />

√ √ √ √ √ √ √ √<br />

When R010 is ON, the data of D0101⋅D0100 is compared with the constant data 200000, and<br />

if the data of D0101⋅D0100 is greater than 200000, R014 is turned ON.<br />

If the data of D0101⋅D0100 is 250000, the comparison result is true. Consequently, R014 is<br />

turned ON.<br />

D0101⋅D0100 250000 > Constant 200000 R014 is ON<br />

If the data of D0101⋅D0100 is -100, the comparison result is false. Consequently, R014 is<br />

turned OFF.<br />

D0101⋅D0100 -100 ≤ Constant 200000 R014 is OFF<br />

Note<br />

• This instruction deals with the data as double-word integer (-2147483648 to 2147483647).<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!