D V P - E S 2 / E X 2 / E C 5 / S S 2 / S A 2 / S X 2 / S E / S E 2 & T P O p e r a t i o n M a n u a l - P r o g r a m m i n g
Function Explanations:
1. If users change the target frequency by using DVSPO instruction, the actual changing timing will
be delayed due to the program scan time and the gap time as below.
Change target freq.
Actual timing of changing
Freq.
Delayed by program scan cycle
2. If users change the target frequency by applying DICF instruction in insterupt subroutines, the
actual changing timing will be executed immediately with only an approx. 10 µs delay
(execution time of DICF instruction).
The timing diagram is as below:
Interrupt
Actual timing of changing
Freq.
Gap
Gap
time
time
approx.10us
Program Example:
1. When M0 = ON, pulse output ramps up to 100 kHz. Total shifts: 100, Gap frequency: 1000 Hz,
Gap time: 10 ms. Calculation of total shifts: (100,000 ﹣0) ÷ 1000 = 100.
2. When X6 external interrupt executes, target frequency is changed and ramp down to 50 kHz
immediately. Total shifts: 150, Gap frequency: 800 Hz, Gap time: 20 ms. Calculation of total
shifts: (100,000 ﹣50,000) ÷ 800 = 125
3. When X7 external interrupt executes, target frequency is changed and ramp down to 100 Hz
immediately. Total shifts: 25, Gap frequency: 2000 Hz, Gap time: 100 ms. Calculation of total
shifts: (50,000 ﹣100) ÷ 2000 = 25.
4. When pulse output reaches 100 Hz, the frequency is kept constant and pulse output stops when
1,000,000 pulses is completed.
3 - 5 5 2
Gap freq.
Gap
Gap
time
time
Gap freq.
Time
Time
Need help?
Do you have a question about the DVP-EX2 and is the answer not in the manual?