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

Chapter 6 Applied Instructions Symbol S 1 : Counter number S 2 : Lower bound of the comparison zone S 3 : Upper bound of the comparison D : Comparison result (3 consecutive zone 6_ devices) Explanation 1. Use this instruction with the high-speed counter numbers HC200 and above. The lower bound of S 2 must be less than the upper bound of S 3 . If you do not set the zone limit values properly, the PLC automatically adjusts them. 2. If S 1 specifies a software counter and the specified counter changes by increasing or decreasing by 1 in value, the DHSZ instruction makes the comparison immediately. The comparison condition and output state are shown in the following table.

6-289 API Instruction code Operand Function 1007 D HSZ S1, S2, S3, D High-speed input zone comparison Device X Y M S T C HC D FR SM SR E K 16# “$” F S1  S2    S3    D     BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1  S2   S3   D  Pulse instruction 16-bit instruction 32-bit instruction - - ES3 Comparison condition D+0 state D+1 state D+2 state The count value of S1 ON OFF OFF The lower bound (S2) OFF ON OFF The count value of S1 >= the upper bound (S3) OFF OFF ON