Delta DVP-ES3 — 6.11.2 Explanation of Timer and Counter Instructions

DVP-ES3 Series Programming Manual Symbol S 1 : Counter value S 2 : Setting value for the counter Explanation _6 1. This instruction enables the 32-bit counter between HC0–HC255. 2. If you declare the operand S 1 in ISPSoft, you cannot select the CNT data type; instead, specify an HC device number. 3. For the count-up/count-down counters HC0–HC63, when the conditional contact of this instruction switches from OFF to ON, the counters count up by incrementing the values by 1 when SM621–SM684 are OFF or count down by decrementing the values by 1 when SM621–SM684 are ON. 4.

Count-up counters HC64–HC199 count up by increasing the values by 1 when the conditional contact of the DCNT instruction switches from OFF to ON. 5. The counter stops counting when the DCNT instruction is OFF, but the instruction does not clear the original count value. Use the RST instruction to clear the count value and reset the contact to OFF. 6. Refer to the following pages for details on the high-speed counter HC200–HC255.

6-274 API Instruction code Operand Function 1004 DCNT S1, S2 32-bit counter Device X Y M S T C HC D FR SM SR E K 16# “$” F S1  S2    BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1 S2   Pulse instruction 16-bit instruction 32-bit instruction - - ES3