·4·
Programming manual
CNC 8037
SOFT: V02.2X
5.5 Auxiliary function (M) ..................................................................................................... 71
5.5.1 M00. Program stop .................................................................................................... 72
5.5.2 M01. Conditional program stop.................................................................................. 72
5.5.3 M02. End of program ................................................................................................. 73
5.5.4 M30. End of program with return to the first block ..................................................... 73
5.5.5 M03. Clockwise spindle rotation ................................................................................ 74
5.5.6 M04. Counterclockwise spindle rotation .................................................................... 74
5.5.7 M05. Spindle stop ...................................................................................................... 75
5.5.8 M06. Tool change code ............................................................................................. 75
5.5.9 M19. Spindle orientation ............................................................................................ 76
5.5.10 M41, M42, M43, M44. Spindle gear change .............................................................. 77
CHAPTER 6 PATH CONTROL
6.1 Rapid traverse (G00) ..................................................................................................... 80
6.2 Linear interpolation (G01) .............................................................................................. 81
6.3 Circular interpolation (G02, G03)................................................................................... 82
6.4 Circular interpolation with absolute arc center coordinates (G06) ................................. 87
6.5 Arc tangent to previous path (G08)................................................................................ 88
6.6 Arc defined by three points (G09).................................................................................. 89
6.7 Helical interpolation ....................................................................................................... 90
6.8 Tangential entry at the beginning of a machining operation (G37)................................ 91
6.9 Tangential exit at the end of a machining operator (G38) ............................................. 92
6.10 Automatic radius blend (G36) ........................................................................................ 93
6.11 Chamfer (G39)...............................................................................................................94
6.12 Threading (G33) ............................................................................................................ 95
6.13 Variable pitch threads (G34).......................................................................................... 97
6.14 Move to hardstop (G52)................................................................................................. 98
6.15 Feedrate "F" as an inverted function of time (G32)........................................................ 99
CHAPTER 7 ADDITIONAL PREPARATORY FUNCTIONS
7.1 Interruption of block preparation (G04)........................................................................ 101
7.1.1 G04 K0: Block preparation interruption and coordinate update ............................... 103
7.2 Dwell (G04 K) .............................................................................................................. 104
7.3 Working with square (G07) and round (G05,G50) corners.......................................... 105
7.3.1 G07 (square corner)................................................................................................. 105
7.3.2 G05 (round corner) .................................................................................................. 106
7.3.3 Controlled round corner (G50) ................................................................................. 107
7.4 Look-ahead (G51)........................................................................................................ 108
7.4.1 Advanced look-ahead algorithm (integrating Fagor filters) ...................................... 110
7.4.2 Look-ahead operation with Fagor filters active ........................................................ 111
7.5 Mirror image (G10, G11. G12, G13, G14) ................................................................... 112
7.6 Scaling factor (G72)..................................................................................................... 113
7.6.1 Scaling factor applied to all axes. ............................................................................ 114
7.6.2 Scaling factor applied to one or more axes.............................................................. 115
7.7 Pattern rotation (G73) .................................................................................................. 117
CHAPTER 8 TOOL COMPENSATION
8.1 Tool radius compensation (G40, G41, G42)................................................................ 120
8.1.1 Beginning of tool radius compensation .................................................................... 121
8.1.2 Sections of tool radius compensation ...................................................................... 124
8.1.3 Cancellation of tool radius compensation ................................................................ 125
8.1.4 Change of type of radius compensation while machining........................................ 131
8.2 Tool length compensation (G43, G44, G15)................................................................ 132
8.3 Collision detection (G41 N, G42 N) ............................................................................. 134
CHAPTER 9 CANNED CYCLES
9.1 Canned cycle definition................................................................................................ 136
9.2 Influence zone of a canned cycle ................................................................................ 137
9.2.1 G79. Modification of the canned cycle parameters.................................................. 138
9.3 Canned cycle cancellation ........................................................................................... 140
9.4 Some general points to consider ................................................................................. 141
9.5 Machining canned cycles............................................................................................. 142
9.6 G69. Drilling canned cycle with variable peck ............................................................. 145
9.6.1 Basic operation ........................................................................................................ 147
9.7 G81. Drilling canned cycle ........................................................................................... 150
9.7.1 Basic operation ........................................................................................................ 151
9.8 G82. Drilling canned cycle with dwell .......................................................................... 153
9.8.1 Basic operation ........................................................................................................ 154
9.9 G83. Deep-hole drilling canned cycle with constant peck ........................................... 156
9.9.1 Basic operation ........................................................................................................ 158