16-Bit Counter C0-C79 - Delta CP2000 Series User Manual

Delta fan/pump vector control drive
Hide thumbs Also See for CP2000 Series:
Table of Contents

Advertisement

16-bit counter C0-C79:

16-bit counter setting range: K0-K32,767. (when K0 and K1 are identical, the output contact will
immediately be On during the first count.)
The current counter value will be cleared from an ordinary counter when power is shut off to the
PLC.
If the MOV command or WPLSoft is used to transmit a value greater than the set value to the
C0 current value register, when the next X1 goes from Off→On, the C0 counter contact will
change to On, and the current value will change to the set value.
A counter's setting value may be directly set using a constant K or indirectly set using the value
in register D (not including special data registers D1000- D1199 or D2000 ~ D2799).
If the set value employs a constant K, it may only be a positive number; the set value may be
either a positive or a negative number if the value in data register D is used. The current
counter value will change from 32,767 to -32,768 as the count continues to accumulate.
Example
LD
X0
RST
C0
LD
X1
CNT
C0 K5
LD
C0
OUT
Y0
1. When X0=On and the RST command is
executed, the current value of C0 will
revert to 0, and the output contact will
revert to Off.
2. When X1 changes from Off→On, the
current value of the counter will execute
an increase (add one).
3. When the count of counter C0 reaches the
set value K5, the contact C0 will come On,
and the current value of C0= set value
=K5. Afterwards, signal C0 triggered by X1
cannot be received, and the current value
of C0 will remain K5.
X0
RST C0
X1
CNT
C0
K5
C0
Y0
16-31
Chapter 16 PLC Function Applications│CP2000
X0
X1
C0
present
2
value
1
0
Contacts Y0, C0
5
4
settings
3
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents