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.

7. Instructions<br />

CNT Counter<br />

Expression<br />

Count input C CNT Q Output<br />

Enable input E A B<br />

132 <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 value is stored in the counter register B. When the count value reaches the<br />

set value A, the output and the counter device corresponding to B are turned ON. When the enable<br />

input comes OFF, B is cleared to 0 and the output and the counter device are turned OFF.<br />

The available data range for operand A is 0 to 65535.<br />

Execution condition<br />

Enable<br />

input<br />

Operation Output<br />

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

ON Count value (B) < set value (A) OFF<br />

Count value (B) ≥ set value (A) 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 Set value √ √ √ √ √ √ √ √ √ √ 0 - 65535<br />

B Count value √<br />

Example<br />

X001<br />

X002<br />

C010<br />

C.010<br />

Y021<br />

1<br />

2<br />

3<br />

4<br />

5<br />

1<br />

2<br />

3<br />

Note<br />

• No transitional contact is required for the<br />

count input. The count input rising edge is<br />

detected by this instruction.<br />

• For the count input, direct linking to a<br />

connecting point is not allowed. In this<br />

case, insert a dummy contact (always ON<br />

= S04F, etc.) just before the input.<br />

Refer to Note of Shift register FUN 074.<br />

• Multiple counter instructions (CNT) with<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!