376
5 POSITIONING CONTROL
5.20 Simultaneous Start
Precautions
A check is made at the start. An error occurs and operation does not start in the following cases.
• Specified servo program does not exist.
• START instruction is set as the specified servo program.
• The specified servo program start axis is already used.
• A servo program cannot start by an error.
• The specified program number for simultaneous start is already used.
• The program number for simultaneous start is set as the self program number.
• The real axis program and command generation axis program are mixed.
• The program to start does not exist.
• All of the specified program numbers are "-1".
Program example
The program for performing simultaneous start of Axis 1, Axis 2, Axis 3, and Axis 4 is explained as an example.
This program example is explained in the "Q series Motion compatible device assignment" device assignment method.
■
Number of specified servo programs and program No.
• Number of specified servo programs: 3
• Specified servo program No.
■
Start conditions
• Simultaneous start servo program No.: No.121
• Simultaneous start execute command: X0 Leading edge (OFF
ON)
■
Motion SFC program
The Motion SFC program for executing the servo program (No. 121) for simultaneous start control is shown below.
*1 Example of the above Motion SFC program is started using the automatic start or sequence program
Servo Program No.
Used axis
Control Details
No.1
Axis 1, Axis 2
Circular interpolation control
No.14
Axis 3
Speed control
No.45
Axis 4
Home position return control
Simultaneous start control
SET M2042
[F10]
X0*M2415*M2435*M2455*M2475
[G10]
START
Program No.
K 1
Program No.
K
14
Program No.
K
45
[K121]
Wait until X0, Axis 1 servo ready, Axis 2 servo ready,
Axis 3 servo ready and Axis 4 servo ready turn ON.
Turn on all axes servo ON command.
!X0
[G20]
END
Wait until X0 turn OFF after simultaneous start
completion.
Simultaneous start control
No.1 servo program
No.14 servo program
No.45 servo program
Содержание 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: ......