Delta ISPSoft — 5.6.2 Example of an Interrupt Subroutine in a DVP Series PLC

Chapter 5 POU and Task After the assignment of the POUs to Cyclic is complete, users can arrange the POUs in the Assigned POUs section. Owing to the fact that Run_Stop and Shift must be executed earlier than LED , the order in which Run_Stop , Shift , and LED are listed in the Assigned POUs section is Run_Stop  Shift  LED . Select External Interruption (X2) in the Task Type section, and select 1 in the External box in the Task Description section. External Interruption (X2) is triggered when the signal passing through X2 goes from low to high. Assign Reset to External Interruption (X2) .

Owing to the fact that there is only one POU in the Assigned POUs section, the users do not need to arrange the POU. After OK is clicked, the assignment and the setting in the Task Manager window will be applied. The assignment is shown below. The writing of the program has been completed so far. The users can try to compile the program, download the program to the PLC, and test the program by themselves. 5-47