4) programming examples, 20 (4) programming examples – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual
Page 127
![background image](https://www.manualsdir.com/files/819957/content/doc127.png)
8 Command Reference
8.1.4 Deceleration Time Change (DCC)
8-20
(4) Programming Examples
DCC command programming examples are shown below.
• When bits 4 to 7 (Acceleration/deceleration degree unit selection) of OW
03 are set to
1 (ms).
The following example shows when the MOV command is executed to decelerate axis A1 from the rated
speed to 0 in four seconds, and when the MOV command is executed to decelerate the axis from the rated
speed to 0 in eight seconds.
* The unit of rated speed (min
-1
) must be converted to the same unit used for positioning speed (10
n
refer-
ence units/min).
Fig. 8.9 Deceleration Time Change (DCC) Command Programming Example 1:
When Acceleration/Deceleration Degree Unit Selection is Set to 1 (ms).
INC;
VEL [A1]10000;
ACC [A1]8000;
DCC [A1]4000;
MOV [A1]5000000;
DL00000 = 8000;
DCC [A1]DL00000;
MOV [A1]5000000;
END;
" Incremental mode
" Set Velocity [10
∗∗n reference units/min]
" Acceleration time change [ms]
" Deceleration time change [ms]
" Positioning
" Deceleration time [ms]
" Deceleration time change [ms]
" Positioning
EXAMPLE
Speed (V)
Time (t)
[s]
10000
8 s
4 s
DCC
DCC
Positioning speed
[10 reference units/min]
20000
n
Rated speed
*