beautypg.com

Delta DVP-ES2 User Manual

Page 167

background image

3 . I n s t r u c t i o n S e t

3 - 5 1

execute DI instruction. After this, X0 will be reset as falling-edge when EI is executed again.

Program example:

During the PLC operation, the program scans the instructions between EI and DI, if X1 or X2 are

ON, the subroutine A or B will be interruptted. When IRET is reached, the main program will

resume.

I 101

I 201

Disabled interrupt

Enabled interrupt

Enabled interrupt

Interrupt subroutine A

Interrupt subroutine B

X1

Y0

EI

DI

EI

FEND

M0

Y1

IRET

M1

Y2

IRET

This manual is related to the following products: