Delta DVP-ES3 — 6.7.2 Explanation of I/O Refreshing Instructions

DVP-ES3 Series Programming Manual Example 1. As PLC runs, the comparative value in DHSCS instruction is 5000. 2. When the X0 external interrupt occurs, the comparative value in DHSCS is set to 8000 immediately. Main program: X0 external interrupt program: _6 Assign the new comparative value to the same variable (E.g. D10 in the example) first and then execute DHSRF instruction for the update. 6-176