
B-63943EN-1/02 8.MULTI-PATH CONTROL
- 919 -
(3) Program example
Path 1
Path 2
N1000 . . . N2000 . . .
Independent machining of each path
N1010 Z0 ; N2010 Z20. ;
Move each workpiece to position
N2020 X120. ;
Move along the X2 axis to a non-interference position
N1030 M200 P12 ; N2030 M200 P12 ; Waiting
N2040 M55 ;
Start composite control on the X2 and X1 axes (perform
automatic coordinate system setup)
N1050 M201 P12 ; N2050 M201 P12 ; Waiting
N2060 T0212 ;
Set the offset for turret 1
N2070 S1000 M4 ;
N2080 G0 U10. W- 20. ;
Machining along the X1 and Z2 axes
N2090 G1 F0.2 W- 15. ;
N2100 . . .
N1110 M200 P12 ; N2110 M200 P12 ; Waiting
N2120 M56 ;
Cancel composite control (perform automatic coordinate system
setup)
N1120 M201 P12 ; N2120 M201 P12 ; Waiting
N1130 . . . N2130 . . .
Independent machining of each path
where
M55 is an M code to start the control of turret 1 with the program
of path 2, and
M56 is an M code that cancel the control of turret 1 with the
program of path 2.