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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3. Instruction Set<br />

Change target freq.<br />

Freq.<br />

Actual timing of changing<br />

Gap freq.<br />

Gap<br />

time<br />

Gap<br />

time<br />

Delayed by program scan cycle<br />

Time<br />

2. If users change the target frequency by applying DICF instruction in insterupt subroutines, the<br />

actual changing timing will be executed immediately with only an approx. 10us delay<br />

(execution time of DICF instruction).<br />

The timing diagram is as below:<br />

Interrupt<br />

Actual timing of changing<br />

Freq.<br />

Gap freq.<br />

Gap<br />

time<br />

Gap<br />

time<br />

Time<br />

approx.10us<br />

Program Example:<br />

1. When M0 = ON, pulse output ramps up to 100kHz. Total shifts: 100, Gap frequency: 1000Hz,<br />

Gap time: 10ms. Calculation of total shifts: (100,000 -0) ÷ 1000 = 100.<br />

2. When X6 external interrupt executes, target frequency is changed and ramp down to 50kHz<br />

immediately. Total shifts: 150, Gap frequency: 800Hz, Gap time: 20ms. Calculation of total<br />

shifts: (100,000 -50,000) ÷ 800 = 125<br />

3. When X7 external interrupt executes, target frequency is changed and ramp down to 100Hz<br />

immediately. Total shifts: 25, Gap frequency: 2000Hz, Gap time: 100ms. Calculation of total<br />

shifts: (50,000 -100) ÷ 2000 = 25.<br />

4. When pulse output reaches 100Hz, the frequency is kept constant and pulse output stops<br />

when 1,000,000 pulses is completed.<br />

3-451

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

Saved successfully!

Ooh no, something went wrong!