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 104 D= Double-word equal<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 />

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

186 <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 double-word data of D0101⋅D0100 is compared with the double-word<br />

data of D0251⋅D0250, and if the data of D0101⋅D0100 is equal to the data of D0251⋅D0250,<br />

R014 is turned ON.<br />

If the data of D0101⋅D0100 is 250000 and D0251⋅D0250 is 250000, R014 is turned ON.<br />

D0101⋅D0100 250000 = D0251⋅D0250 250000 R014 is ON<br />

If the data of D0101⋅D0100 is -100 and D0251⋅D0250 is 0, R014 is turned OFF.<br />

D0101⋅D0100 -100 ≠ D0251⋅D0250 0 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!