2 Functions of Devices in DVP-PLC 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. Example: LD X10 X10 OUT M1200 M1200 LD X11 X11 RST C200 X12 LD X12 LD C200 CNT C200 K-5 C200 OUT Y0 Y0 a) X10 drives M1200 to determine whether C200 is an addition or subtraction counter. b) When X11 goes from Off to On, RST instruction will be executed and the PV Accumulatively increasing Accumulatively increasing Progressively decreasing in C200 will be cleared to “0” and the X10 contact will be Off.
X11 c) When X12 goes from Off to On, the PV in the counter will count up (plus 1) or count down (minus 1). 0 1 2 3 4 5 4 3 2 1 0 -1 -2 -3 -4 -5 -6 -7 -8 d) When the PV in C200 changes from PV in C200 K-6 to K-5, the contact of C200 will go 0 from Off to On. When the PV in C200 -7 -6 -5 -4 -3 changes from K-5 to K-6, the contact of C200 will go from On to Off. Contacts Y0, C0 When the output contact was On. e) 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. 32-bit high-speed addition/subtraction counters C235 ~ C255: 1.
The setup range of 32-bit counter: K-2,147,483,648 ~ K2,147,483,647 2. Addition or subtraction of C235 ~ C244 is designated by On/Off status of special auxiliary relays M1235 ~ M1244. For example, when M1235 = Off, C235 will be an addition counter; when M1235 = On, C235 will be a subtraction counter. 3. Addition or subtraction of C246 ~ C255 is designated by On/Off status of special auxiliary relays M1246 ~ M1255. DVP-PLC Application Manual 2-20 RST C200 DCNT C200 K-5 X12