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.

FUN 064 TEST Bit test<br />

Expression<br />

Input −[ A TEST B ]− Output<br />

6F3B0253<br />

7. Instructions<br />

Function<br />

When the input is ON, this instruction finds logical AND of A and B. Then if the result is not 0, sets<br />

the output to ON.<br />

Execution condition<br />

Input Operation Output<br />

OFF No execution OFF<br />

ON Execution When the result is not 0 ON<br />

When the result is 0 OFF<br />

Operand<br />

Name Device Register Constant Index<br />

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

A Source √ √ √ √ √ √ √ √ √ √ √ √<br />

B Test data √ √ √ √ √ √ √ √ √ √ √ √<br />

Example<br />

Logical AND operation is executed for the data of RW07 and the constant data H0FFF, and if<br />

the result is not 0, R00A is turned ON. (R00A is turned ON when any device from R070 to<br />

R07B is ON.)<br />

If the data of RW07 is H4008, R00A is turned ON.<br />

F E D C B A 9 8 7 6 5 4 3 2 1 0<br />

RW07 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0<br />

4 0 0 8<br />

AND<br />

Constant 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1<br />

0 F F F<br />

Result is not 0<br />

Result 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 R00A comes ON<br />

Basic Hardware and Function 163<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!