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

I401

EI

M1002

MOV K100 D1131

MOV K100 D13403

MOV K100 D1343

MOV K100 D1348

SET M1534

DMOV K0 D1030

M0

DCLLM X4 K50000 K100000 Y0

FEND

M1000

INC D0

IRET

END

2. Execution results:

Frequency

 

100kHz

X4 = OFF --> ON

Y0 output stops

 

 

D1340

D1340

Time

 

 

Pulse number

D1343

D1348

Specified number of output pulses: 50,000

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

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..

3 - 442

Page 558
Image 558
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual 100kHz X4 = OFF -- on