13.3.3 Face Boring Cycle (Longitudinal boring cycle) ; G85 (G89).................................................... 263
13.3.4 Deep Hole Drilling Cycle 2 ; G83.2......................................................................................... 265
13.3.5 Fixed Cycle for Drilling Cancel; G80 ....................................................................................... 267
13.3.6 Precautions When Using a Fixed Cycle for Drilling ................................................................ 268
13.3.7 Initial Point and R Point Level Return ; G98,G99.................................................................... 269
13.3.8 Setting of Workpiece Coordinates in Fixed Cycle Mode ......................................................... 270
13.3.9 Drilling Cycle High-Speed Retract .......................................................................................... 271
13.3.10 Acceleration/Deceleration Mode Change in Hole Drilling Cycle............................................ 272
13.4 Subprogram Control; M98, M99, M198 ........................................................................................... 274
13.4.1 Subprogram Call ; M98,M99................................................................................................... 274
13.4.2 Subprogram Call ; M198......................................................................................................... 280
13.5 Variable Commands ....................................................................................................................... 281
13.6 User Macro ...................................................................................................................................... 283
13.6.1 User Macro ............................................................................................................................. 283
13.6.2 Macro Call Instruction ............................................................................................................. 284
13.6.2.1 Simple Macro Calls ; G65............................................................................................... 284
13.6.2.2 Modal Call A (Movement Command Call) ; G66............................................................. 288
13.6.2.3 Modal Call B (for each block) ; G66.1............................................................................. 290
13.6.2.4 G Code Macro Call ......................................................................................................... 292
13.6.2.5 Miscellaneous Command Macro Call (for M, S, T, B Code Macro Call) ......................... 293
13.6.2.6 Detailed Description for Macro Call Instruction .............................................................. 294
13.6.3 ASCII Code Macro .................................................................................................................. 296
13.6.4 Variable.................................................................................................................................... 301
13.6.5 Types of Variables .................................................................................................................. 303
13.6.5.1 Common Variables ......................................................................................................... 303
13.6.5.2 Local Variables (#1 to #33) ............................................................................................. 304
13.6.5.3 Macro Interface Inputs/Outputs (#1000 to #1035, #1100 to #1135, #1200 to #1295,
#1300 to #1395) ............................................................................................................. 307
13.6.5.4 Tool Compensation ......................................................................................................... 314
13.6.5.5 Workpiece Coordinate System Compensation (#5201 - #532n) ..................................... 315
13.6.5.6 NC Alarm (#3000) ........................................................................................................... 316
13.6.5.7 Integrating Time (#3001, #3002) .................................................................................... 317
13.6.5.8 Suppression of Single Block Stop and Miscellaneous Function Finish Signal Waiting
(#3003) .......................................................................................................................... 317
13.6.5.9 Feed Hold, Feedrate Override, G09 Valid/Invalid (#3004) ............................................. 318
13.6.5.10 Message Display and Stop (#3006) .............................................................................. 318
13.6.5.11 G Command Modals (#4001-#4021, #4201-#4221) ..................................................... 319
13.6.5.12 Other Modals (#4101 - #4120, #4301 - #4320) ............................................................ 320
13.6.5.13 Position Information (#5001 - #5140 + n) ..................................................................... 321
13.6.5.14 External Workpiece Coordinate System Compensation (#2501, #2601) ..................... 323
13.6.5.15 Number of Workpiece Machining Times (#3901, #3902) ............................................. 323
13.6.5.16 Tool Life Management (#60000 - #63016) ................................................................... 324
13.6.5.17 Reading The Parameters (#100000-#100002, #100010) ............................................. 328
13.6.5.18 Reading PLC data (#100100-#100103,#100110) ......................................................... 331
13.6.5.19 Time Reading Variables (#3001, #3002, #3011, #3012) .............................................. 335
13.6.5.20 R Device Access Variables (#50000 - #50749, #51000 - #51749, #52000 - #52749) .. 337
13.6.6 Operation Commands ............................................................................................................. 343
13.6.7 Control Commands ................................................................................................................. 348
13.6.8 External Output Commands ; POPEN, PCLOS, DPRNT ....................................................... 351
13.6.9 Precautions ............................................................................................................................. 355
13.7 Corner Chamfering I/Corner Rounding I ....................................................................................
..... 357
13.7.1 Corner Chamfering I ; G01 X_ Z_ ,C_/I_/K_/C_ ..................................................................... 357
13.7.2 Corner Rounding I ; G01 X_ Z_ ,R_/R_.................................................................................. 359
13.7.3 Corner Chamfering Expansion/Corner Rounding Expansion ................................................. 361
13.7.4 Interrupt during Corner Chamfering/Interrupt during Corner Rounding .................................. 363
13.8 Corner Chamfering II / Corner Rounding II ..................................................................................... 364
13.8.1 Corner Chamfering II ; G01/G02/G03 X_ Z_ ,C_/I_/K_/C_.................................................... 364
13.8.2 Corner Rounding II ; G01/G02/G03 X_ Z_ ,R_/R_ ................................................................. 366
13.8.3 Corner Chamfering Expansion/Corner Rounding Expansion ................................................. 368
13.8.4 Interrupt during Corner Chamfering/Interrupt during Corner Rounding .................................. 368
13.9 Linear Angle Command ; G01 X_/Z_ A_/,A_................................................................................... 369