370
5 POSITIONING CONTROL
5.18 Position Follow-Up Control
Program example
The program for performing Axis 3 position follow-up control for PLC CPU (CPU No.1) to Motion CPU (CPU No.2) is
explained as an example.
This program example is explained in the "Q series Motion compatible device assignment" device assignment method.
■
Positioning conditions
• Position follow-up conditions are shown below.
• Position follow-up control start command: X0 Leading edge (OFF
ON) (PLC CPU device)
■
Operation timing
Operation timing for position follow-up control is shown below.
Item
Setting
Servo program No.
100
Control axis
Axis 3
Positioning address
D4000
Positioning speed
20000
Axis 3 [St.1075] servo ready (M2455)
Servo program start
Axis 3 [St.1060] Positioning start
complete (M2440)
Axis 3 [St.1061] Positioning complete
(M2441)
Axis 3 [St.1063] Command in-position
(M2443)
t
V
[Rq.1120] PLC ready flag (M2000)
Positioning address (D4000)
0
100
0
[Rq.1123] All axes servo ON
command (M2042)
[St.1045] All axes servo ON
accept flag (M2049)
Start command (X0)
Axis 3 [St.1040] Start accept flag
(M2003)
Stop command (X1)
Axis 3 [Rq.1140] Stop command
(M3240)
Содержание 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: ......