17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3. Instruction Set<br />

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

Program example:<br />

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

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

resume.<br />

EI<br />

X1<br />

Y0<br />

Enabled interrupt<br />

I 101<br />

I 201<br />

M0<br />

M1<br />

DI<br />

EI<br />

FEND<br />

Y1<br />

IRET<br />

Y2<br />

IRET<br />

Disabled interrupt<br />

Enabled interrupt<br />

Interrupt subroutine A<br />

Interrupt subroutine B<br />

3-51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!