2 functions of devices in dvp-plc – Delta Electronics Programmable Logic Controller DVP-PLC User Manual
Page 127

2 Functions of Devices in DVP-PLC
DVP-PLC Application Manual
2-99
6. Example
2: Pulse output program for 1 acceleration section and 1 deceleration section
M1002
MOV
K2
D200
MOV K200
MOV K250 D202
MOV K500 D203
MOV K250 D204
MOV
D205
D206
MOV K750 D208
MOV K500 D209
MOV K-250 D210
MOV K250 D211
K200 D212
END
M0
7. Example
3: Acceleration and deceleration in 1 section and the pulse output program with direction switch
TF1
TF2
TF2
TF1
SF2
SF2
SF1
SF1
X0=ON
Y7=OFF
Position
Zero point
Y7=On
Explanation:
a) See example 2 for the settings for acceleration and deceleration. The acceleration/deceleration frequency is
stored in the latched area; therefore, you do not have to write it in in the program.
b) The figure above is the example of the motion. When X0 = On, it will start the motion back and forth; when X0
= Off, the motion will stop. Y7 is a direction switch.
c) The program: