beautypg.com

Delta DVP-ES2 User Manual

Page 558

background image

D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g

3 - 4 4 2

MOV

MOV

MOV

K100

K100

K100

D0

M1002

D1131

D1343

D1348

SET

DMOV

K0

D1030

EI

FEND

IRET

END

DCLLM

X4

K50000 K100000

Y0

INC

M1534

M0

M1000

I401

MOV

K100

D1340

MOV

K100

D1343

MOV

K100

D1343

2. Execution

results:

100kHz

D1340

D1343

X4 = OFF --> ON

D1340

D1348

Specified number of output pulses: 50,000

Actual number of output pulses (D1030, D1031) = K51000

Frequency

Y0 output stops

Time
Pulse number

Program Example 2: Immediate stop high-speed pulse output by high speed counter

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

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

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

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

pulses (D1030, D1031) = 0..

This manual is related to the following products: