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.

7. Instructions<br />

FUN 149 U/D Up-down counter<br />

Expression<br />

Direction input − U U/D Q − Output<br />

Count input − C<br />

Enable input − E A<br />

216 <strong>T1</strong>-<strong>16S</strong> User’s <strong>Manual</strong><br />

6F3B0253<br />

Function<br />

While the enable input is ON, this instruction counts the number of the count input changes from<br />

OFF to ON. The count direction (up count or down count) is selected by the state of the direction<br />

input. The count value is stored in the counter register A. The count value range is 0 to 65535.<br />

• Up count when the direction input is ON<br />

• Down count when the direction input is OFF<br />

When the enable input is OFF, the counter register A is cleared to 0.<br />

Execution condition<br />

Enable<br />

input<br />

Operation Output<br />

OFF No operation (A is cleared to 0) OFF<br />

ON Count value is not limit value (0 or 65535) OFF<br />

Count value is limit value and count input is ON 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 Count value √<br />

Example<br />

X005<br />

X006<br />

R010<br />

C005<br />

C.005<br />

1<br />

2<br />

3 2<br />

1<br />

1<br />

2 3<br />

Note<br />

• The transitional contact is required for<br />

the count input. Otherwise, counting is<br />

executed every scan during X005 is ON<br />

in this example.<br />

• For the direction input and the count<br />

input, direct linking to a connecting point<br />

is not allowed. Refer to Note of Shift<br />

register FUN 074.<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!