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 022 XCHG Data exchange<br />

Expression<br />

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

Function<br />

When the input is ON, the data of A and the data of B is exchanged.<br />

Execution condition<br />

Input Operation Output<br />

OFF No execution OFF<br />

ON Execution ON<br />

6F3B0253<br />

7. Instructions<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 Operation data √ √ √ √ √ √ √ √ √ √<br />

Example<br />

When R005 is ON, the data of RW23 and D0100 is exchanged. If the original data of RW23 is<br />

23456 and that of D0100 is 291, the operation result is as follows.<br />

RW23 23456 RW23 291<br />

D0100 291 D0100 23456<br />

Before operation After operation<br />

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