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.

<strong>DVP</strong>-<strong>ES2</strong>/<strong>SA2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

3. Interrupt subroutines must be placed after the FEND instruction.<br />

4. Other interrupts are not allowed during execution of a current interrupt routine.<br />

5. When many interruptions occur, the priority is given to the firstly executed interruption. If<br />

several interruptions occur at the same time, the priority is given to the interruption with the<br />

smaller pointer No.<br />

6. Any interrupt request occurring between DI and EI instructions will not be executed<br />

immediately. The interrupt will be memorized and executed when the next EI occurs.<br />

7. When using the interruption pointer, DO NOT repeatedly use the high-speed counter driven<br />

by the same X input contact.<br />

8. When immediate I/O is required during the interruption, write REF instruction in the program<br />

to update the status of I/O<br />

Points to note:<br />

Interrupt pointers (I):<br />

a) External interrupts: 8 points including (I000/I001, X0), (I100/I101, X1), (I200/I201, X2),<br />

(I300/I301, X3), (I400/I401, X4), (I500/I501, X5), (I600/I601, X6) and (I700/I701, X7) (00<br />

designates interruption in falling-edge, 01 designates interruption in rising-edge)<br />

b) Timer interrupts: 2 points including I605~I699 and I705~I799 (Timer resolution = 1ms)<br />

c) High-speed counter interrupts: 8 points including I010, I020, I030, I040, I050, I060, I070, and<br />

I080. (used with API 53 DHSCS instruction to generate interrupt signals)<br />

d) Communication interrupts: 3 points including I140, I150 and I160<br />

e) Associated flags:<br />

Flag<br />

M1050<br />

M1051<br />

M1052<br />

M1053<br />

M1054<br />

M1055<br />

M1056<br />

M1057<br />

M1059<br />

M1280<br />

M1284<br />

M1286<br />

Function<br />

Disable external interruption I000 / I001<br />

Disable external interruption I100 / I101<br />

Disable external interruption I200 / I201<br />

Disable external interruption I300 / I301<br />

Disable external interruption I400 / I401<br />

Disable external interruption I500 / I501, I600 / I601, I700 / I701<br />

Disable timer interrupts I605~I699<br />

Disable timer interrupts I705~I799<br />

Disable high-speed counter interruptions I010~I080<br />

I000/I001 Reverse interrupt trigger pulse direction (Rising/Falling)<br />

I400/I401 Reverse interrupt trigger pulse direction (Rising/Falling)<br />

I600/I601 Reverse interrupt trigger pulse direction (Rising/Falling)<br />

Note: Default setting of I000(X0) is falling-edge triggered. When M1280=ON and EI is enabled,<br />

PLC will reverse X0 as rising-edge triggered. To reset X0 as falling-edge, reset M1280 first and<br />

3-50

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

Saved successfully!

Ooh no, something went wrong!