DVP-ES3 Series Programming Manual Symbol S 1 : Counter number S 2 : Comparative value D : Comparison result _6 Explanation 1. Use this instruction with the high-speed counter numbered HC200 and above. If the value in the high-speed counter specified by S 1 changes by increasing or decreasing, the DHSCR instruction makes the comparison immediately. specified by D changes to OFF. After that, the device specified by D remains OFF even if the comparison result is that When the current value of the high-speed counter is equal to the comparative value specified in S 2 , the device the current value and the comparative value are not equal. 2.
If the device specified by D is Y0–Y7 and Y10–Y13, and the comparative value of S 2 is equal to the current value of the counter, the comparison result is output to the external output terminals Y0–Y7 and Y10–Y13. Other Y devices are affected by the scan cycle, but this instruction updates all devices immediately and is not affected by the scan cycle. 3. The D operand can also specify the HC device to reset, and is limited to the condition in which the high-speed counter number is the same as that of S 1 . 4. Refer to the DHSCS instruction (API 1005) for more information.
6-286 API Instruction code Operand Function 1006 D HSCR S1, S2, D Resetting high-speed input comparison Device X Y M S T C HC D FR SM SR E K 16# “$” F S1 S2 D BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1 S2 D Pulse instruction 16-bit instruction 32-bit instruction - - ES3