8 Application Examples
8.3.2 Designing Programs
Ladder diagram of trigger condition 1: Operation:
X0
D1824
D1836
D1837
DMOV
D1848
DMOV
D1838
DMOVP
D1840
M1002
K0
K100000
K10000
K20000
DMOV
MOV
MOV
MOV
K100
K100
K100
D1840
D1840
X1
K9000
K18000
K7000
D1840
D1840
X2
X3
H102
D1846
X7
DMOVP
DMOVP
DMOVP
DMOVP
Setting the bias speed of the X-axis (V )
BIAS
Setting the acceleration time of the X-axis (T )
ACC
Setting the deceleration time of the X-axis (T )
DEC
Clearing the present position of the X-axis to 0
Setting the total distance of all segments for the X-axis
Setting the operation speed for the first segment on the X-axis
X0=ON: Modifying the operation speed into 20,000Hz
X1=ON: Modifying the operation speed into 9,000Hz
X2=ON: Modifying the operation speed into 18,000Hz
X3=ON: Modifying the operation speed into 7,000Hz.
Pulse output will be finished in this segment.
X7=ON: Enabling the single speed postioning mode of the X-axis.
Ladder diagram for trigger condition 2: Operation:
D1824
D1836
D1837
DMOV
D1848
DMOV
D1838
DMOVP
D1840
M1002
K0
K100000
K10000
K20000
DMOV
MOV
MOV
MOV
K100
K100
K100
D1840
D>= D1848 K15000
SET M0
M1
SET
D>= D1848 K30000
M0
DMOVP
D1840
SET
DMOVP
D1840
SET
DMOVP
D1840
MOVP
M1
M2
X7
K7000
K18000
K9000
D>= D1848 K50000
D>= D1848 K80000
M3
M3
D1846
H102
Setting the bias speed of the X-axis (V )
BIAS
Setting the accelerati on time of the X-axis (T )
ACC
Set up the deceleration time of the X-axis (T )
DEC
Clearing the current position of the X-axis to 0
Setting the total distance of all segments for the X -axis
Setting the operation speed for the first segment on the X-axis
Comparing K15000 with the present position
M0=ON: Modifying the operation speed into 20,000Hz
Comparing K30000 with the present position
M1=ON: Modifying the operation speed into 9,000Hz
Comparing K50000 with the present position
M2=ON: Modifying the operation speed into 18,000Hz
Comparing K80000 with the current position
M3=ON: Modifying the operation speed into 7,000Hz.
Pulse output will be finished in this segment.
X7 = ON: Enabling the single speed positioning mode of the X-axis
M2
DVP-20PM Application Manual
8-10