13. Program Support Functions ..................................................................................................248
13.1 Fixed Cycles......................................................................................................................248
13.1.1 Standard Fixed Cycles; G80 to G89, G73, G74, G75, G76........................................248
13.1.2 Drilling Cycle with High-Speed Retract.......................................................................276
13.1.3 Initial Point and R Point Level Return; G98, G99........................................................279
13.1.4 Setting of Workpiece Coordinates in Fixed Cycle Mode.............................................281
13.2 Special Fixed Cycle; G34, G35, G36, G37 .......................................................................282
13.3 Subprogram Control; G22, G22........................................................................................287
13.3.1 Calling Subprogram with G22 and G22 Commands...................................................287
13.3.2 Figure Rotation; G22 I_ J_ K_ ....................................................................................291
13.4 Variable Commands..........................................................................................................294
13.5 User Macro Specifications ................................................................................................299
13.5.1 User Macro Commands; G65, G66, G66.1, G67, G68(G23)......................................299
13.5.2 Macro Call Command.................................................................................................300
13.5.3 ASCII Code Macro......................................................................................................309
13.5.4 Variables.....................................................................................................................313
13.5.5 Types of Variables......................................................................................................315
13.5.6 Arithmetic Commands.................................................................................................353
13.5.7 Control Commands.....................................................................................................358
13.5.8 External Output Commands........................................................................................361
13.5.9 Precautions.................................................................................................................363
13.5.10 Actual Examples of Using User Macros....................................................................365
13.6 G Command Mirror Image; G50.1, G51.1 / G62...............................................................369
13.7 Corner Chamfering/Corner Rounding I.............................................................................372
13.7.1 Corner Chamfering " ,C_ "..........................................................................................372
13.7.2 Corner Rounding " ,R_ " .............................................................................................374
13.8 Linear Angle Command ....................................................................................................375
13.9 Geometric Command........................................................................................................376
13.10 Circle Cutting; G12, G13.................................................................................................380
13.11 Parameter Input by Program; G10, G11.1 ......................................................................382
13.12 Macro Interrupt; ION, IOF ...............................................................................................383
13.13 Tool Change Position Return; G30.1 to G30.6 ...............................................................391
13.14 Normal Line Control ; G40.1/G41.1/G42.1......................................................................394
13.15 High-accuracy Control ; G61.1, G08...............................................................................405
13.16 High-speed Machining Mode; G05, G05.1......................................................................419
13.16.1 High-speed Machining Mode I,II; G05 P1, G05 P2...................................................419
13.17 High-speed High-accuracy Control; G05, G05.1.............................................................422
13.17.1 High-speed High-accuracy Control I, II.....................................................................422
13.17.2 SSS Control..............................................................................................................428
13.18 Spline; G05.1 ..................................................................................................................433
13.19 High-accuracy Spline Interpolation ; G61.2.....................................................................440
13.20 Scaling; G50/G51............................................................................................................442
13.21 Coordinate Rotation by Program; G68.1/G69.1..............................................................447
13.22 Coordinate Rotation Input by Parameter; G10................................................................455
13.23 3-dimensional Coordinate Conversion; G68.1/69.1........................................................458
13.24 Tool Center Point Control; G43.4/G43.5.........................................................................475
13.25 Timing-synchronization between Part Systems..............................................................497
13.26 End Point Error Check Cancellation; G69.......................................................................500
13.27 Coordinate Read Function; G14 .....................................................................................502
14. Coordinates System Setting Functions................................................................................505
14.1 Coordinate Words and Control Axes.................................................................................505
14.2 Basic Machine, Workpiece and Local Coordinate Systems..............................................506
14.3 Machine Zero Point and 2nd, 3rd, 4th Reference Positions..............................................507
14.4 Basic Machine Coordinate System Selection; G53...........................................................508