2 Functions of Devices in DVP-PLC 4. Note: this function is applicable only when “all” the conditions below are met. a) Start frequency b) Gap frequency ≤ (target frequency – start frequency) c) Total number of pulses > (accel/decel number of pulses Ч 2) d) For start frequency and target frequency: Min. 25Hz; Max. 10kHz e) Number of accel/decel pulses > number of accel/decel sections When M1115 turns from “On” to “Off”, M1119 will be reset and M1116, M1117 and M1118 remain unchanged. When PLC goes from “STOP” to “RUN”, M1115 ~ M1119 will be reset as “Off”. D1104 will only be cleared as “0” when it turns from “Off” to “On”.
Either accel/decel pulse output function or PLSY Y0 output can be executed at a time when PLC is operating. 5. How to calculate the action time of each section Assume the start frequency is set as 1kHz, gap frequency as 1kHz, target frequency as 5kHz, total number of pulses as 100 and number of acceleration pulses as 40, the timing diagram of the acceleration sections is as the figure below. Frequency (Hz) 5,000 4,000 3,000 2,000 1,000 Time (sec) t t t t 1 2 3 4 From the conditions above, we can obtain the number of acceleration/deceleration sections is (5K – 1K)/1K = 4 and the number of output pulses in each section is 40/4 = 10.
Therefore, in the diagram, t1 = (1/1K) Ч 10 = 10ms, t2 = (1/2K) Ч 10 = 5ms, t3 = (1/3K) Ч 10 = 3.33ms, t4 = (1/4K) Ч 10 = 2.5ms. 6. Program example: Forward/reverse acceleration/deceleration step motor control M1002 D500 ~ D506 as parameter addresses Start frequency: 1KHz Interval frequency: 100Hz Target frequency: 10KHz Number of output pulses: 80,000 Number of pulses in accel/decel section: 10,000 a) When PLC is in RUN status, store all parameter settings into the registers designated in D1104. DVP-PLC Application Manual 2-92 MOV K500 D1104 MOV K1000 D500 MOV K100 D501 MOV K10000 D502 DMOV K80000 D503 DMOV K10000 D505 SET M1115