3. Instruction Set Interrupt input X0 Main program Input X1 Output Y0 FEND T=2ms I001 M1000 X1 Y0 IRET Program Example: (for DVP-ES2/EX2 series PLCs whose version is 3.20/DVP-SS2 series PLCs whose version is 3.00/DVP-SA2 series PLCs whose version is 2.60/DVP-SX2 series PLCs whose veresion is 2.40/DVP-SE series PLCs whose version is 1.40 (and above)) When interrupt input X0 is triggered from OFF to ON, interrupt subroutine executes DELAY instruction first, therefore the program after DELAY instruction (X1 = ON, Y0 = ON…) will be delayed for 1ms. Interrupt input X0 Input X1 Output Y0 T=1ms I001 Points to note: 1. User can adjust the delay time according to the actual needs. 2.
The delay time of DELAY instruction could be increased due to the execution of communication, high-speed counter and high-speed pulse output instructions. 3-351 EI DELAY K20 REF Y0 K8 END EI Main program FEND M1000 SET M1148 DELAY K200 X1 Y0 REF Y0 K8 IRE T END END DELAY K200 REF Y0 K8