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 050 OR OR<br />

Expression<br />

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

6F3B0253<br />

7. Instructions<br />

Function<br />

When the input is ON, this instruction finds logical OR of A and B, and stores the result in C.<br />

Execution condition<br />

Input Operation Output<br />

OFF No execution OFF<br />

ON Execution ON<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 source √ √ √ √ √ √ √ √ √ √ √ √<br />

C OR √ √ √ √ √ √ √ √ √ √<br />

Example<br />

When R012 is ON, logical OR operation is executed for the data of RW13 and RW20, and the<br />

result is stored in D0031.<br />

If the data of RW13 is H5678 and RW20 is H4321, the result H5779 is stored in D0031.<br />

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

RW13 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0<br />

5 6 7 8<br />

OR<br />

RW20 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1<br />

4 3 2 1<br />

D0031 0 1 0 1 0 1 1 1 0 1 1 1 1 0 0 1<br />

5 7 7 9<br />

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