
5 POSITIONING CONTROL
5.21 Home Position Return
379
5
Program example
The servo program No. 0 for performing home position return of Axis 4 is explained as an example.
This program example is explained in the "Q series Motion compatible device assignment" device assignment method.
■
Motion SFC program
The Motion SFC program for executing the servo program (No. 0) for home position return is shown below.
*1 It is necessary to turn on the zero pass signal before execution of the home position return instruction for data set method home position
return.
*2 Example of the above Motion SFC program is started using the automatic start or sequence program.
Precautions
If the home position is not within the in-position range of servo parameter, it does not mean having reached the home position
and the home position return does not end in the proximity dog method, count method, data set method 1, dog cradle method,
limit switch combined method, scale home position signal detection method, dogless home position signal reference method,
or driver home position return method home position return. In this case, adjusts the in-position range of servo parameter or
position control gain.
ZERO
Axis
4
Home position return
SET M2042
[F10]
X0*M2475*M2462
[G10]
[K0]
Wait until X0, Axis 4 servo ready and
in-position signal turn ON.
Turn on all axes servo ON command.
!X0
[G20]
END
Wait until X0 turn OFF after home position
return completion.
Home position return
*1
Axis used . . . Axis 4
Содержание 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: ......