346
5 POSITIONING CONTROL
5.17 Continuous Trajectory Control
Program example
The program for switching speed of Axis 1 and Axis 2 by turning ON "[Rq.1122] Speed-switching point specified flag (M2040)"
during the continuous trajectory control instruction is explained as an example.
This program example is explained in the "Q series Motion compatible device assignment" device assignment method.
■
Positioning conditions
• Speed switching conditions are shown below.
• The continuous trajectory control start command for speed switching: X0 Leading edge (OFF
ON)
■
Operation timing and speed-switching positions
Operation timing and positions for speed switching are shown below.
Item
Setting
Servo program No.
310
Positioning speed
10000
15000
Positioning method
2 axes linear interpolation
Central point-specified
circular interpolation
2 axes linear interpolation
2 axes linear interpolation
Pass point
Axis 1
20000
30000
40000
50000
Axis 2
10000
20000
25000
40000
Axis 1 [St.1075] Servo ready
(M2415)
Axis 2 [St.1075] Servo ready
(M2435)
Servo program start
t
V
10000
15000
[Rq.1120] PLC ready flag
(M2000)
[Rq.1122] Speed switching point
specified flag (M2040)
[Rq.1123] All axes servo ON
command (M2042)
[St.1045] All axes servo ON
accept flag (M2049)
Start command (X0)
Axis 1 [St.1040] Start accept flag
(M2001)
Axis 2 [St.1040] Start accept flag
(M2002)
Axis 1 positioning
direction
Axis 2 positioning direction
0
20000
P1
P2
P3
P4
40000
20000
40000
Central
point
Содержание MELSEC iQ-R16MTCPU
Страница 1: ...MELSEC iQ R Motion Controller Programming Manual Positioning Control R16MTCPU R32MTCPU R64MTCPU ...
Страница 2: ......
Страница 477: ...APPENDICES Appendix 1 Processing Times of the Motion CPU 475 A MEMO ...
Страница 481: ......