Delta Electronics DVP-ES3 — 5.2.11 32-bit Counters (HC)

Chapter 5 CPU and Module Devices  32-bit high speed addition/subtraction counter Refer to the instruction description of API1004 DCNT in DVP-ES3 Series Programming Manual for more details. Example: 5_ 1. M10 drives SM621 to determine the counting direction (up/down) for HC0. 2. When M11 changes from OFF to ON, the RST instruction is executed and the PV in HC0 is cleared to 0 and its contact is OFF. 3. When M12 changes from OFF to ON, PV for HC0 will count up (plus 1) or count down (minus 1). 4. When PV in HC0 changes from -6 to -5, the contact HC0 changes from OFF to ON. When PV in HC0 changes from -5 to -6, the contact HC0 changes from ON to OFF.

X10.0 Accumulatively increasing M10 Accumulatively increasing Progressively decreasing X11.0 M11 M12 X12.0 0 1 2 3 4 5 4 3 2 1 0 -1 -2 -3 -4 -5 -6 -7 -8 HC0 ( ) PV 0 -7 -6 -5 -4 -3 When the output contact was ON Y0.0, HC0 Contacts M0 5-17