
B-63943EN-1/02 8.MULTI-PATH CONTROL
- 923 -
(4) Program example
Path 1
Path 2
N1000 . . . N2000 . . .
Independent machining of each path
N1010 M200 P12 ; N2010 M200 P12 ; Waiting
N2020 M55 ;
Start composite control on the X1 and X2 axes
N1030 M201 P12 ; N2030 M201 P12 ; Waiting
N1040 T0313 ; N2040 T0212 ;
Selection of composite control tool and setting of offset
N1050 G50 W120. ; N2050 G50 W120. ;
Shifting of Z axis workpiece coordinate system
N1060 S1000 M4 ; N2060 S1500 M4 ;
N1070 G0 X20. Z15. ; N2070 G0 X15. Z30.;
N1080 G1 F0.5 W- 8. ; N2080 G1 F0.1 W-5. ;
Start of composite control
N1090 . . . N2090 . . .
N1100 M200 P12 ; N2100 M200 P12 ; Waiting
N2110 M56 ;
End of composite control
N1120 M201 P12 ; N2120 M201 P12 ; Waiting
N1130 G50 W- 120. ; N2130 G50 W-120. ;
Shifting of Z axis workpiece coordinate system
N1140 . . . N2140 . . .
Independent machining of each path
where
M55 is an M code to start composite control (set signal G1128#0
MIX1 to "1"), and
M56 is an M code to cancel composite control (set signal
G1128#0 MIX1 to "0").
(5) Note
NOTE
At the start and end of composite control, you do not
necessarily perform automatic setup of the
coordinate system. If you do not perform automatic
setting, the program will set an appropriate one
internally.
Others
• In the preceding explanation, a single synchronous control or
composite control operation is explained. In reality, however,
you can select multiple synchronous control or composite control
operations and execute them at the same time: Set all necessary
parameters in advance, and specify which synchronous or
composite control to perform, using appropriate signals. Make
sure that a single axis is not subject to multiple
synchronous/composite control operations at the same time.