13.5.2.3 Modal Call B (for each block) ; G66.1 ...........................................................................................243
13.5.2.4 G Code Macro Call ..........................................................................................................................244
13.5.2.5 Miscellaneous Command Macro Call (for M, S, T, B Code Macro Call) .....................................245
13.5.2.6 Detailed Description for Macro Call Instruction .........................................................................246
13.5.3 Variable .....................................................................................................................................................247
13.5.4 Types of Variables ...................................................................................................................................249
13.5.4.1 Common Variables .........................................................................................................................249
13.5.4.2 Local Variables (#1 to #33) .............................................................................................................250
13.5.4.3 Macro Interface Inputs/Outputs (#1000 to #1035, #1100 to #1135, #1200 to #1295, #1300 to #1395)
.........................................................................................................................................................................255
13.5.4.4 Normal line control parameters (#1900, #1901) ...........................................................................264
13.5.4.5 Tool Offset .......................................................................................................................................264
13.5.4.6 Workpiece Coordinate System Compensation (External Workpiece Coordinate Offset)
(#5201 - #532n)...............................................................................................................................................265
13.5.4.7 NC Alarm (#3000) ............................................................................................................................266
13.5.4.8 Integrating Time (#3001, #3002) ....................................................................................................267
13.5.4.9 Suppression of Single Block Stop and Miscellaneous Function Finish Signal Waiting (#3003) 267
13.5.4.10 Feed Hold, Feedrate Override, G09 Valid/Invalid (#3004) .........................................................268
13.5.4.11 Message Display and Stop (#3006) .............................................................................................268
13.5.4.12 Mirror Image (#3007) .....................................................................................................................269
13.5.4.13 G Command Modals (#4001-#4021, #4201-#4221) .....................................................................270
13.5.4.14 Other Modals (#4101 - #4140, #4301 - #4340) .............................................................................271
13.5.4.15 Position Information (#5001 - #5100 + n) ....................................................................................272
13.5.4.16 Number of Workpiece Machining Times (#3901, #3902) ...........................................................275
13.5.4.17 ZR device access variable ............................................................................................................276
13.5.4.18 Tool Life Management (#60000 - #64700) ...................................................................................285
13.5.5 Operation Commands .............................................................................................................................290
13.5.6 Control Commands ..........................................................................................................
.......................295
13.5.7 Precautions ..............................................................................................................................................298
13.5.8 Actual examples of using user macros..................................................................................................300
13.6 G command mirror image ; G50.1,G51.1.........................................................................................................304
13.7 Corner Chamfering/Corner Rounding I ..........................................................................................................308
13.7.1 Corner Chamfering ; G01 X_ Y_ ,C ........................................................................................................308
13.7.2 Corner Rounding ; G01 X_ Y_ ,R_ .........................................................................................................310
13.8 Circular Cutting ; G12,G13...............................................................................................................................312
13.9 Programmable Parameter Input ; G10 L70, G11.............................................................................................314
13.10 Macro Interruption ; M96,M97........................................................................................................................316
13.11 Tool Change Position Return ; G30.1 - G30.6...............................................................................................324
13.12 Normal Line Control ; G40.1/G41.1/G42.1 (G150/G151/G152).....................................................................327
13.13 High-accuracy control ; G61.1.......................................................................................................................346
13.14 Coordinate rotation by program ; G68/G69..................................................................................................356
13.15 Timing Synchronization between Part Systems ..........................................................................................360
13.15.1 Timing Synchronization between Part Systems ; !L..........................................................................360
13.15.2 Start Point Designation Timing Synchronization (Type 1) ; G115.....................................................365
13.15.3 Start Point Designation Timing Synchronization (Type 2) ; G116....................................................367
13.16 Chopping ; G81.1 ............................................................................................................................................369
14 Coordinate System Setting Functions................................................................................................. 375
14.1 Coordinate Words and Control Axes..............................................................................................................376
14.2 Basic Machine, Workpiece and Local Coordinate Systems .........................................................................377
14.3 Machine Zero Point and 2nd, 3rd, 4th Reference Position (Zero point) ......................................................378
14.4 Automatic Coordinate System Setting............................................................................................................379
14.5 Basic Machine Coordinate System Selection ; G53 ......................................................................................380
14.6 Coordinate System Setting ; G92....................................................................................................................381
14.7 Reference Position (Zero point) Return ; G28,G29........................................................................................382
14.8 2nd, 3rd, and 4th Reference Position (Zero point) Return ; G30..................................................................386
14.9 Reference Position Check ; G27......................................................................................................................389
14.10 Workpiece Coordinate System Setting and Offset ; G54 to G59 (G54.1)...................................................390
14.11 Local Coordinate System Setting ; G52.......................................................................................................398
14.12 Coordinate System for Rotary Axis...............................................................................................................402