Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming 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 device: Y0, Y1 (CH0); start/end frequency (D1340) = 200Hz; ramp-up time (D1343) = 300ms; encoder. Set target number of feedbacks = 50,000; target frequency = 100kHz; pulse output ramp-down time (D1348) = 600ms; percentage value (D1131) = 100; present value of output pulses (D1030, D1031) = 0.. M1002 EI M0 FEND M1000 I010 IRET END 2. Assume the first execution results are as below:

Frequency 100KHz C243 =K50000 Y0 stops output D1340 Time Pulse number D1348 D1343 6s Specified number of output pulses: 50,000 Actual number of output pulses (D1030, D1031) = K50,600 3-476 MOV K100 D1131 MOV K200 D1340 MOV K300 D1343 MOV K600 D1348 SET M1534 DMOV K0 D1030 DMOV K0 C243 DCNT C243 K9999 DHSCS K50000 C243 I010 DCLLM C243 K50000 K100000 Y0 INC D0