3. Instruction

Set

Frequency

 

 

Target

High speed counter receives

 

target number of feedbacks

 

frequency

 

 

or

 

 

External interrupt occurs

 

Start/end

 

 

frequency

Time

 

 

 

 

Pulse Number

Ramp-up

High speed time

Ramp-down

 

time

 

time

Idle time

Number of output pulses =

target number of feedbacks x D1131(D1132) / 100

3.Principles for adjusting the completion time of positioning:

a)The completion time of positioning refers to the total time of “ramp up + high speed + ramp down + idle” (see the figure above). When percentage value (D1131/D1132) is modified, the total number of output pulses will be increased or decreased as well as the completion time.

b)When S1 designates input points X with interrupt pointers, D1244 / D1255 can be applied for setting the idle time as limited pulse number, in case the interrupt is not properly triggered.Users can determine if the execution result is good or bad by the length of the idling time. In theory, a bit of idling left is the best result for a positioning.

c)Owing to the close loop operation, the length of idle time will not be the same in every execution. Therefore, when the content in the special D for displaying the actial number of output pulses is smaller or larger than the calculated number of output pulses (target number of feedbacks x percentage value / 100), users can improve the situation by adjusting the percentage value, ramp-up/ramp-down time or target frequency.

Program Example1: Immediate stop high-speed pulse output by external interrupt

1.Adopt X4 as the input for external interrupt and I401 (rising-edge trigger) as the interrupt pointer. Set target number of feedbacks = 50,000; target frequency = 100kHz; pulse output device: Y0, Y1 (CH0); start/end frequency (D1340) = 100Hz; ramp-up time (D1343) = 100ms; ramp-down time (D1348) = 100ms; percentage value (D1131) = 100; present value of output pulses (D1030, D1031) = 0.

3 - 4 4 1

Page 557
Image 557
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Instruction Set