Counters - Delta AS Series Programming Manual

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al

2.2.11 Counters

Characteristics of the 16-bit counter
Type
Number
_2
Direction
Setting value
Specifying the counter setting value
Change of the current value
Output contact
Reset
Action of the contact
Function of the counter
Each time the input switches from OFF to ON, the value of the counter is the same as the output coil. You can use
either the decimal constant or the value in the data register as the counter setting value.
16-bit counter:
1.
Setting range: 0–32,767. The setting values 0 and 1 mean the same thing in that the output contact is ON when the
counter counts for the first time.
2.
For the general-purpose counter, the current value of the counter is cleared when power is lost. If the counter is
latching, the current value of the counter and the state of the contact before power was lost power are retained. The
latched counter counts from the current value when the power supply is restored.
3.
If you use the MOV instruction or ISPSoft to transmit a value larger than the counter setting value to the current
value register C0, the contact of the counter C0 is ON and the current value becomes the same as the counter
setting value the next time X0.1 switches from OFF to ON.
4.
You can use either the constant or the value in the data register as the counter setting value.
5.
The counter setting value can be positive or negative. If the counter counts up from 32,767, the next value is 0.
6.
Use the counters here with CNT instruction. The example used here is a common one. Refer to API 1003 CNT
instruction for more advanced applicaiotns.
2 - 7 6
Item
General type
C0–C511
Counting up
0–32,767
The setting value can be either the constant or the value in the data
register.
The counter stops counting when the value of the counter matches
the counter setting value.
The contact is ON when the value of the counter matches the counter
setting value.
When the instruction RST is executed, the current value is cleared to
zero, and the contact is reset of OFF.
After the scan is complete, the contact acts.
16-bit counter

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents