B.3 motion program for speed control, A-16 – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual
Page 337

Appendices
B.3 Motion Program for Speed Control
A-16
B.3 Motion Program for Speed Control
A sample motion program for speed control is shown below.
For this sample program, bits 0 to 3 (Speed unit selection) of motion setting parameter OW
03 are set to
0.01% (a percentage of the rated speed).
The following diagram illustrates the moving pattern implemented by the above sample program.
OW8008=23; "Speed control mode
OL8010=6000; "Changes the speed to 60% of rated speed
TIM T300; "Waits for three seconds
OL8010=10000; "Changes the speed to the rated speed
TIM T400; " Waits for four seconds
OL8010=5000; "Changes the speed to 50% of rated speed
TIM T600; " Waits for six seconds
OW8008=0; "Cancels the speed control mode
END;
50
100
0
3 U
4 U
6 U
Speed [%]
0
5000
10000
Rated speed
Motion setting parameterޓ
OL
10: Speed unit setting
Time (s)
Time (s)