3. Instruction Set

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.

 

EI

 

X1

 

Y0

 

DI

 

EI

 

FEND

 

M0

I 101

Y1

 

IRET

I 201

M1

Y2

 

IRET

Enabled interrupt

Disabled interrupt

Enabled interrupt

Interrupt subroutine A

Interrupt subroutine B

3 - 5 1

Page 167
Image 167
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual 101