328
5 POSITIONING CONTROL
5.15 Speed/Position Switching Control
Program example
The program for performing speed/position switching control of Axis 4 is explained as an example.
This program example is explained in the "Q series Motion compatible device assignment" device assignment method.
■
Positioning conditions
• Positioning conditions are shown below.
• Positioning start command: X0 Leading edge (OFF
ON)
• Speed/position switching enable command: M3265
■
Operation timing
Operation timing for speed/position switching control is shown below.
Item
Positioning conditions
Servo program No.
101
Control axis
Axis 4
Travel value for positioning control
40000
Command speed
1000
[Rq.1145] Speed/position switching
enable command (M3265)
t
Position control
Speed control
Servo program No.101
V
[St.1065] Speed/position switching
latch (M2465)
[Rq.1120] PLC ready flag (M2000)
[Rq.1123] All axes servo ON
command (M2042)
[St.1045] All axes servo ON accept
flag (M2049)
Axis 4 [St.1075] Servo ready (M2475)
Start command (X0)
Servo program start
Axis 4 [St.1040] Start accept flag
(M2004)
Axis 4 [St.1061] Positioning complete
(M2461)
1 second
1 second
CHANGE signal input (External input)
Содержание 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: ......