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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. Programming Concepts<br />

D1140: Number of r ight-side modules (AIO, PT, TC, etc.), max. 8 modules can be connected.<br />

D1142: Number of input points (X) on DIO modules.<br />

D1143: Number of output points (Y) on DIO modules.<br />

D1145: Number of left-side modules (AIO, PT, TC, etc.), max. 8 modules can be connected.<br />

(Only applicable<br />

for <strong>SA2</strong>/<strong>SX2</strong>).<br />

Function Group Reverse Interrupt Trigger Pulse Direction<br />

Number<br />

M1280, M1284, M1286<br />

Contents:<br />

1. The falgs should be used with EI instruction and should be inserted before EI instruction<br />

2. The default setting of interrupt I101 (X0) is rising-edge triggered. If M1280 is ON and EI<br />

ins truction is executed, PLC will reverse the trigger direction as falling-edge triggered. The<br />

trigger pulse direction of X1 will be set as rising-edge again by resetting M1280.<br />

3. Wh en M0 = OFF, M1280 = OFF. X0 external interrupt will be triggered by rising-edge pulse.<br />

4. Wh en M0 = ON, M1280 = ON. X0 external interrupt will be triggered by falling-edge pulse.<br />

Users do not have to change I101 to I000.<br />

M0<br />

OUT<br />

M1280<br />

EI<br />

FEND<br />

I001<br />

M1000<br />

INC<br />

D0<br />

IRET<br />

END<br />

Function Group<br />

Number<br />

Stores Value of High-speed Counter when Interrupt Occurs<br />

D1240~D1243<br />

Contents:<br />

1. If extertal interrupts are applied on input points for Reset, the interrupt instructions have the<br />

priority in using the input points. In addition, PLC will move the current data in the counters to<br />

the associated data registers below then reset the counters.<br />

Special D D1241, D1240 D1243, D1242<br />

Counter C243 C246 C248 C252 C244 C250 C254<br />

Interrupt signal X1(I100/I101) X4(I400/I401) X3(I300/I301) X5(I500/I501)<br />

2. Function:<br />

2-71

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

Saved successfully!

Ooh no, something went wrong!