14.5 Variables Used in User Macros .......................................................................................................................... 495
14.5.1 Common Variables..................................................................................................................................... 497
14.5.2 Local Variables (#1 to #33) ........................................................................................................................ 498
14.5.3 System Variables ....................................................................................................................................... 500
14.6 User Macro Commands...................................................................................................................................... 501
14.6.1 Operation Commands................................................................................................................................ 501
14.6.2 Control Commands .................................................................................................................................... 505
14.6.3 External Output Commands ; POPEN, PCLOS, DPRNT..........................................................................508
14.6.4 Precautions ................................................................................................................................................ 512
14.7 Macro Interruption; M96, M97............................................................................................................................. 514
15 Program Support Functions ................................................................................................................. 523
15.1 Corner Chamfering I /Corner Rounding I............................................................................................................ 524
15.1.1 Corner Chamfering I ; G01 X_ Z_ ,C_/I_/K_/C_....................................................................................... 524
15.1.2 Corner Rounding I ; G01 X_ Z_ ,R_/R_ .................................................................................................... 526
15.1.3 Corner Chamfering Expansion/Corner Rounding Expansion..................................................................... 528
15.1.4 Interrupt during Corner Chamfering/Interrupt during Corner Rounding ..................................................... 530
15.2 Corner Chamfering II /Corner Rounding II .......................................................................................................... 531
15.2.1 Corner Chamfering II ; G01/G02/G03 X_ Z_ ,C_/I_/K_/C_........................................................................ 531
15.2.2 Corner Rounding II ; G01/G02/G03 X_ Z_ ,R_/R_..................................................................................... 534
15.2.3 Corner Chamfering Expansion/Corner Rounding Expansion..................................................................... 536
15.2.4 Interrupt during Corner Chamfering/Interrupt during Corner Rounding ..................................................... 536
15.3 Linear Angle Command ; G01 X_/Z_ A_/,A_...................................................................................................... 537
15.4 Geometric ; G01 A_ ............................................................................................................................................ 538
15.5 Geometric IB....................................................................................................................................................... 540
15.5.1 Geometric IB (Automatic Calculation of Two-arc Contact) ; G02/G03 P_Q_ /R_ ..................................... 541
15.5.2 Geometric IB (Automatic Calculation of Linear - Arc Intersection) ; G01 A_ , G02/G03 P_Q_H_ ............. 545
15.5.3 Geometric IB (Automatic Calculation of Linear - Arc Intersection) ; G01 A_ , G02/G03 R_H_................. 549
15.6 Manual Arbitrary Reverse Run Prohibition ; G127.............................................................................................. 553
15.7 Data Input by Program........................................................................................................................................ 559
15.7.1 Parameter Input by Program; G10 L70, G11 ............................................................................................. 559
15.7.2 Compensation Data Input by Program ; G10 L2/L10/L11, G11 .................................................................561
15.7.3 Tool/Material Shape Input by Program ; G10 L100/L101, G11.................................................................. 564
15.8 Tool Life Management II ; G10 L3, G11 ............................................................................................................ 570
15.8.1 Counting the Tool Life................................................................................................................................ 573
15.8.2 Allocation of The Number of T
ool
Life Management Sets to Part Systems ............................................... 577
15.9 Axis Name Switch ; G111 ................................................................................................................................... 579
15.10 Mirror Image for Facing Tool Posts ; G68,G69................................................................................................. 586
16 Multi-part System Control ..................................................................................................................... 597
16.1 Timing Synchronization Operation...................................................................................................................... 598
16.1.1 Timing Synchronization Operation (! code) !n (!m ...) L ............................................................................. 598
16.1.2 Timing Synchronization Operation with Start Point Designated (Type 1) ; G115 ...................................... 602
16.1.3 Timing Synchronization Operation with Start Point Designated (Type 2) ; G116 ...................................... 605
16.1.4 Timing Synchronization Operation Function Using M codes ; M*** ...........................................................608
16.1.5 Time Synchronization When Timing Synchronization Ignore Is Set .......................................................... 612
16.2 Balance Cut ; G15,G14...................................................................................................................................... 615
16.3 Mixed Control...................................................................................................................................................... 620
16.3.1 Cross Axis Control ;G110........................................................................................................................... 620
16.3.2 Arbitrary Axis Exchange ; G140, G141, G142 ........................................................................................... 625
16.4 Control Axis Superimposition.............................................................................................................................. 647
16.4.1 Control Axis Superimposition ; G126 ......................................................................................................... 647
16.4.2 Arbitrary Axis Superimposition ; G156 ....................................................................................................... 667
16.5 Control Axis Synchronization between Part Systems ; G125 ............................................................................. 684
16.6 Multi-part System Simultaneous Thread Cutting Cycle ...................................................................................... 690
16.6.1 Multi-part System Simultaneous Thread Cutting Parameter Setting Command ; G76 .............................. 690
16.6.2 Multi-part System Simultaneous Thread Cutting Cycle l ; G76.1 ............................................................... 691
16.6.3 Two-part System Simultaneous Thread Cutting Cycle ll ; G76.2............................................................... 694
16.7 Multi-part System Simultaneous Thread Cutting Cycle (MITSUBISHI CNC special format) ; G76.1,G76.2 ...... 697
16.8 Synchronization between Part Systems ............................................................................................................. 700
16.8.1 Dwell/Miscellaneous Function Time Override ............................................................................................ 700
16.8.2 Synchronization between Part Systems OFF ............................................................................................ 704
16.9 Sub Part System Control .................................................................................................................................... 706
16.9.1 Sub Part System Control I ; G122............................................................................................................. 706
16.9.2 Sub Part System Control II ; G144............................................................................................................ 722