2 Functions of Devices in DVP-PLC
DVP-PLC Application Manual
2-16
after the power is on again.
3. If you use MOV instruction, WPLSoft or HPP to send a value bigger than the SV to the present value register of
C0, next time when X1 goes from Off to On, the contact of counter C0 will be On and its PV will equal SV.
4. The SV in the counter can be constant K (set up directly) or the values in register D (set up indirectly, excluding
special data registers D1000~ D1999).
5. If you set up a constant K as the SV, it should be a positive value. Data register D as SV can be positive or
negative. When the PV reaches up to 32,767, the next PV will turn to -32,768.
Example:
LD X0
RST C0
LD X1
CNT
C0 K5
LD C0
OUT Y0
C0
Y0
X1
C0
K5
CNT
X0
C0
RST
a) When X0 = On, RST instruction will be
executed, PV in C0 will be “0” and the
output contact will be reset to Off.
b) When X1 goes from Off to On, the PV in
the counter will count up (plus 1).
c) When the counting of C0 reaches SV K5,
the contact of C0 will be On and PV of C0
= SV = K5. The X1 trigger signal comes
afterwards will not be accepted by C0 and
the PV of C0 will stay at K5.
X0
X1
0
1
2
3
4
5
0
Contacts Y0, C0
PV in C0
SV
32-bit general purpose addition/subtraction counters C200 ~ C234:
1. The setup range of 32-bit counter: K-2,147,483,648 ~ K2,147,483,647 (not available for ES/EX/SS series MPU).
2. Addition or subtraction of the counters is designated by On/Off status of special auxiliary relays M1200 ~ M1234.
For example, when M1200 = Off, C200 will be an addition counter; when M1200 = On, C200 will be a subtraction
counter.
3. The SV can be constant K or data register D (excluding special data registers D1000 ~ D1999). Data register D as
SV can be a positive or negative value and an SV will occupy two consecutive data registers.
4. PV in the general purpose counter will be cleared when the power of the PLC is switched off. If the counter is a
latched type, the counter will retain the PV and contact status before the power is off and resume the counting
after the power is on again.
5. When the PV reaches up to 2,147,483,647, the next PV will turn to -2,147,483,648. When the PV reaches down to
-2,147,483,648, the next PV will turn to 2,147,483,647.
Summary of Contents for DVP-PLC
Page 1: ...PLC PLC...
Page 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Page 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Page 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Page 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...