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>EX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong> <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

EI<br />

M1002<br />

MOV<br />

K100<br />

D1131<br />

MOV K100 D1343 D1340<br />

MOV K100 D1343<br />

MOV<br />

K100<br />

D1348<br />

SET<br />

M1534<br />

DMOV K0 D1030<br />

M0<br />

DCLLM X4 K50000 K100000 Y0<br />

FEND<br />

I401<br />

M1000<br />

INC<br />

D0<br />

IRET<br />

END<br />

2. Execution results:<br />

Frequency<br />

100kHz<br />

X4 = OFF --> ON<br />

Y0 output stops<br />

D1340<br />

D1340<br />

Time<br />

Pulse number<br />

D1343<br />

D1348<br />

Specified number of output pulses: 50,000<br />

Actual number of output pulses (D1030, D1031) = K51000<br />

Program Example 2: Immediate stop high-speed pulse output by high speed counter<br />

1. Adopt counter C243 (better to be reset before execution) with AB-phase input from the<br />

encoder. Set target number of feedbacks = 50,000; target frequency = 100kHz; pulse output<br />

device: Y0, Y1 (CH0); start/end frequency (D1340) = 200Hz; ramp-up time (D1343) = 300ms;<br />

ramp-down time (D1348) = 600ms; percentage value (D1131) = 100; present value of output<br />

pulses (D1030, D1031) = 0..<br />

3-442

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

Saved successfully!

Ooh no, something went wrong!