13.1.3.1 Deep Hole Drilling Cycle.................................................................................................. 310
13.1.3.2 Small Diameter Deep Hole Drilling Cycle........................................................................ 311
13.1.4 Tapping Cycle ; G84................................................................................................................ 313
13.1.5 Boring ; G85............................................................................................................................. 324
13.1.6 Boring ; G86............................................................................................................................. 325
13.1.7 Back Boring ; G87.................................................................................................................... 326
13.1.8 Boring ; G88............................................................................................................................. 328
13.1.9 Boring ; G89............................................................................................................................. 329
13.1.10 Stepping Cycle ; G73............................................................................................................. 330
13.1.11 Reverse Tapping Cycle ; G74................................................................................................ 331
13.1.12 Circular Cutting ; G75 ............................................................................................................ 333
13.1.13 Fine Boring ; G76................................................................................................................... 335
13.1.14 Precautions for Using a Fixed Cycle...................................................................................... 337
13.1.15 Initial Point and R Point Level Return ; G98,G99................................................................... 340
13.1.16 Setting of Workpiece Coordinates in Fixed Cycle Mode ....................................................... 341
13.1.17 Drilling Cycle with High-Speed Retract..................................................................................342
13.1.18 Acceleration/Deceleration Mode Change in Hole Drilling Cycle............................................ 346
13.2 Special Fixed Cycle; G34, G35, G36, G37...................................................................................... 348
13.2.1 Bolt Hole Cycle ; G34............................................................................................................... 349
13.2.2 Line at Angle ; G35.................................................................................................................. 350
13.2.3 Arc ; G36.................................................................................................................................. 351
13.2.4 Grid ; G37 ................................................................................................................................ 352
13.3 Subprogram Control; G22, G23....................................................................................................... 353
13.3.1 Subprogram Call ; G22,G23 ................................................................................................... 353
13.3.2 Figure rotation ; G22 I_J_K_.................................................................................................... 358
13.4 Variable Commands ....................................................................................................................... 361
13.5 User Macro ...................................................................................................................................... 366
13.5.1 User Macro Commands; G65, G66, G66.1, G67, G68(G23)................................................... 366
13.5.2 Macro Call Instruction ............................................................................................................. 367
13.5.2.1 Simple Macro Calls ; G65............................................................................................... 367
13.5.2.2 Modal Call A (Movement Command Call) ; G66............................................................. 370
13.5.2.3 Modal Call B (for Each Block) ; G66.1............................................................................ 372
13.5.2.4 G Code Macro Call ......................................................................................................... 373
13.5.2.5 Miscellaneous Command Macro Call (for M, S, T, B Code Macro Call) ......................... 374
13.5.2.6 Detailed Description for Macro Call Instruction .............................................................. 375
13.5.3 ASCII Code Macro .................................................................................................................. 377
13.5.4 Variable.................................................................................................................................... 381
13.5.5 Types of Variables .................................................................................................................. 383
13.5.5.1 Common Variables ......................................................................................................... 383
13.5.5.2 Local Variables (#1 to #33) ............................................................................................. 384
13.5.5.3 Macro Interface Inputs/Outputs
(#1000 to #1035, #1100 to #1135, #1200 to #1295, #1300 to #1395) ........................... 388
13.5.5.4 Tool Compensation ......................................................................................................... 395
13.5.5.5 Workpiece Coordinate System Compensation (#5201 - #532n) ..................................... 396
13.5.5.6 NC Alarm (#3000) ........................................................................................................... 397
13.5.5.7 Integrating Time (#3001, #3002) .................................................................................... 398
13.5.5.8 Suppression of Single Block Stop and
Miscellaneous Function Finish Signal Waiting (#3003) .................................................. 398
13.5.5.9 Feed Hold, Feedrate Override, G09 Valid/Invalid (#3004) ............................................. 399
13.5.5.10 Message Display and Stop (#3006) .............................................................................. 399
13.5.5.11 Mirror Image (#3007) .................................................................................................... 400
13.5.5.12 G Command Modals (#4001-#4021, #4201-#4221) ..................................................... 401
13.5.5.13 Other Modals (#4101 - #4120, #4301 - #4320) ............................................................ 402
13.5.5.14 Position Information (#5001 - #5160 + n) ..................................................................... 403
13.5.5.15 Number of Workpiece Machining Times
(#3901, #3902) ............................................. 406
13.5.5.16 Coordinate Rotation Parameter..................................................................................... 406
13.5.5.17 Rotary Axis Configuration Parameters .......................................................................... 407
13.5.5.18 Reverse Run Information...............................................................................................407
13.5.5.19 Tool Life Management (#60000 - #64700) ................................................................... 408
13.5.5.20 Reading The Parameters (#100000-#100002, #100010) ............................................. 413
13.5.5.21 Reading PLC data (#100100-#100103,#100110) ......................................................... 416