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.

8. Special I/O Functions<br />

Operation<br />

Count input<br />

Reset input<br />

Soft-gate<br />

Count value<br />

Interrupt<br />

Sample program<br />

(H1003)<br />

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

Set value<br />

6F3B0253<br />

In this example, 4099 (H1003) is set in SW16. As a result, the single phase upcounter<br />

(channel 1 only) is selected.<br />

When R010 comes ON, the data 2000 is written into the set value register (SW18).<br />

While R010 is ON, the soft-gate (S240) and the interrupt enable flag (S241) are set to<br />

ON to enable the counter operation.<br />

The counter works as a ring counter with the set value 2000. The count value is stored<br />

in SW22.<br />

When R010 is OFF and R011 comes ON, the count value is preset to the data of<br />

D0100.<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!