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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FUN 045 -1 Decrement<br />

Expression<br />

Input −[ -1 A ]− Output<br />

Function<br />

When the input is ON, the data of A is decreased by 1 and stored in A.<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 />

Example<br />

At the rising edge of X005 changes from OFF to ON, the data of D0050 is decreased by 1 and<br />

stored in D0050.<br />

If the data of D0050 is 1022 before the execution, it will be 1021 after the execution.<br />

D0050 D0050<br />

1022 - 1 1021<br />

Note<br />

• There is no limit value for this instruction. When the data of operand A is -32768 before the<br />

execution, it will be 32767 after the execution.<br />

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