Delta Electronics — 2.2.12 32-bit Counters (HC)

AS Series Programming Manual  32-bit high speed addition/subtraction counter Refer to the instruction description of API1004 DCNT in AS Series Programming Manual for more details. Example: _2 1. X10.0 drives SM621 to determine the counting direction (up/down) for HC0. 2. When X11.0 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 X12.0 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 Progressively decreasing Accumulatively increasing X11.0 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 t he output c ontact w as O N Y0.0, HC0 Contacts 2-66