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

DVP-ES3 Series Programming Manual External interrupt is triggered by the falling edge in X7. _6 Additional remarks 1. When M0 is ON, the DCAP instruction is enabled. When an external interrupt occurs in X0.7, the instruction captures the value in HC200 and stores it in (32-bit) D0. 2. When the external input interrupt is triggered by the rising edge once, the instruction modifies E0 to 0 by setting D100, stores the count value in D0 in D10 by modifying E0, and the value in D100 is 0+2. 3.

When the external input interrupt is triggered by the falling edge one time, the instruction modifies E0 to 2 by setting D100, stores the count value (10+E0=12) in D0 in D12 by modifying E0, and the value in D100 is 0+2. When the value in D100 is 20, D100 is cleared to 0. 6-298