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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3. Instruction Set<br />

Frequency<br />

Target<br />

frequency<br />

Start/end<br />

frequency<br />

High speed counter receives<br />

target number of feedbacks<br />

or<br />

External interrupt occurs<br />

Time<br />

Pulse Number<br />

Ramp-up<br />

time<br />

High speed time<br />

Ramp-down<br />

time<br />

Idle time<br />

Number of output pulses =<br />

target number of feedbacks x D1131(D1132) / 100<br />

3. Principles for adjusting the completion time of positioning:<br />

a) The completion time of positioning refers to the total time of “ramp up + high speed +<br />

ramp down + idle” (see the figure above). When percentage value (D1131/D1132) is<br />

modified, the total number of output pulses will be increased or decreased as well as the<br />

completion time.<br />

b) When S 1 designates input points X with interrupt pointers, D1244 / D1255 can be<br />

applied for setting the idle time as limited pulse number, in case the interrupt is not<br />

properly triggered.Users can determine if the execution result is good or bad by the<br />

length of the idling time. In theory, a bit of idling left is the best result for a positioning.<br />

c) Owing to the close loop operation, the length of idle time will not be the same in every<br />

execution. Therefore, when the content in the special D for displaying the actial number<br />

of output pulses is smaller or larger than the calculated number of output pulses (target<br />

number of feedbacks x percentage value / 100), users can improve the situation by<br />

adjusting the percentage value, ramp-up/ramp-down time or target frequency.<br />

Program Example1: Immediate stop high-speed pulse output by external interrupt<br />

1. Adopt X4 as the input for external interrupt and I401 (rising-edge trigger) as the interrupt<br />

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

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

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

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

3-441

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

Saved successfully!

Ooh no, something went wrong!