6 MANUAL CONTROL
6.1 JOG Operation
417
6
Program example
The program for performing JOG operation of Axis 1 and Axis 2 is explained as an example.
This program example is explained in the "Q series Motion compatible device assignment" device assignment method.
■
JOG operation conditions
■
Motion SFC program
Motion SFC program for which executes JOG operation is shown below.
*1 Example of the above Motion SFC program is started using the automatic start or sequence program.
Item
JOG operation conditions
Axis No.
Axis 1, Axis 2
JOG start speed
100000 (1000.00 [mm/min])
JOG start
commands
Forward JOG start
Axis 1
X3 ON
Axis 2
X5 ON
Reverse JOG start
Axis 1
X4 ON
Axis 2
X6 ON
JOG operation-individual start
SET M2042
[F10]
M2415*M2435
[G10]
D640L=K100000
D642L=K100000
[F20]
SET M3202=X3*!M3203
RST M3202=!X3
SET M3203=X4*!M3202
RST M3203=!X4
SET M3222=X5*!M3223
RST M3222=!X5
SET M3223=X6*!M3222
RST M3223=!X6
[F30]
P1
P1
Turn on all axes servo ON command.
Wait until Axis 1 servo ready and Axis 2 servo ready turn on.
Transfer the JOG operation speed to D640L and D642L.
Axis 1, Axis 2 forward/reverse JOG operation
Axis 1 forward JOG start command SET/RST
Axis 1 reverse JOG start command SET/RST
Axis 2 forward JOG start command SET/RST
Axis 2 reverse JOG start command SET/RST
Summary of Contents for MELSEC iQ-R16MTCPU
Page 2: ......
Page 477: ...APPENDICES Appendix 1 Processing Times of the Motion CPU 475 A MEMO ...
Page 481: ......