Delta DVP-ES3 — 6.6.2 Explanation of Program Execution Instructions

DVP-ES3 Series Programming Manual Symbol Explanation 1. Use the EI instruction to enable interrupt tasks in a program (refer to next page for more information on tasks). 2. You can use the interrupt task between the EI instruction and the DI instruction in a program. You can choose not to use the DI instruction when there is no part of the program in which the interrupt is disabled. 3. During the execution of one interrupt task, a new interrupt generated is not executed, but is stored. After the execution of the present interrupt task is complete, the next interrupt task is executed.

For example, during the execution of I0 (by trigged order #1), 2 new I0s (by trigged order #2, by trigged order #3) are generated, only by trigged order #2 I0 will be stored for later execution. by trigged order #3 IO is not stored for execution. 4. When several interrupts occur, the interrupt task with the highest priority is executed first. When several interrupts _6 occur simultaneously, the interrupt task with the smallest pointer number is executed first. 5. When the interrupt task occurs between DI and EI, it cannot be executed, and the interrupt request is ignored. It is suggested that you not use the instruction DI to disable interrupts while PLC is running. 6.

When the immediate I/O signal is required in the execution of the interrupt task, you can use the REF instruction or the device DX/DY in the program to refresh the state of the I/O. 7. Every interrupt number has a temporary function that can be masked. See below for the list of interrupt numbers. Example:  Set up the timed I601 interrupt task to 500ms in HWCONFIG in ISPSoft.  When the PLC runs the program Cyclic_0, it scans the EI instruction, enables interrupt tasks, and then executes the I601 interrupt task. When the interrupt task execution is complete, the main program is executed.  When M0 is ON, the I601 timer interrupt task is disabled.

 When M1 is ON, the I601 timer interrupt task is enabled. 6-160 API Instruction code Operand Function 0501 EI - Enabling the interrupt function Pulse instruction 16-bit instruction 32-bit instruction - ES3 -