·4·
Programming manual
CNC 8037
SOFT: V02.2X
5.5 Auxiliary function (M) ..................................................................................................... 70
5.5.1 M00. Program stop .................................................................................................... 71
5.5.2 M01. Conditional program stop.................................................................................. 71
5.5.3 M02. End of program ................................................................................................. 72
5.5.4 M30. End of program with return to the first block ..................................................... 72
5.5.5 M03. Clockwise spindle rotation ................................................................................ 73
5.5.6 M04. Counterclockwise spindle rotation .................................................................... 73
5.5.7 M05. Spindle stop ...................................................................................................... 74
5.5.8 M06. Tool change code ............................................................................................. 74
5.5.9 M19. Spindle orientation ............................................................................................ 75
5.5.10 M41, M42, M43, M44. Spindle gear change .............................................................. 76
CHAPTER 6 PATH CONTROL
6.1 Rapid traverse (G00) ..................................................................................................... 78
6.2 Linear interpolation (G01) .............................................................................................. 79
6.3 Circular interpolation (G02, G03)................................................................................... 80
6.4 Circular interpolation with absolute arc center coordinates (G06) ................................. 84
6.5 Arc tangent to previous path (G08)................................................................................ 85
6.6 Arc defined by three points (G09).................................................................................. 86
6.7 Tangential entry at the beginning of a machining operation (G37)................................ 87
6.8 Tangential exit at the end of a machining operator (G38) ............................................. 88
6.9 Automatic radius blend (G36) ........................................................................................ 89
6.10 Chamfer (G39)...............................................................................................................90
6.11 Threading (G33) ............................................................................................................ 91
6.12 Withdrawal of axes when interrupting a threading operation (G233)............................. 94
6.13 Variable pitch threads (G34).......................................................................................... 96
6.14 Move to hardstop (G52)................................................................................................. 97
6.15 Feedrate "F" as an inverted function of time (G32)........................................................ 98
CHAPTER 7 ADDITIONAL PREPARATORY FUNCTIONS
7.1 Interruption of block preparation (G04).......................................................................... 99
7.1.1 G04 K0: Block preparation interruption and coordinate update ............................... 101
7.2 Dwell (G04 K) .............................................................................................................. 102
7.3 Working with square (G07) and round (G05,G50) corners.......................................... 103
7.3.1 G07 (square corner)................................................................................................. 103
7.3.2 G05 (round corner) .................................................................................................. 104
7.3.3 Controlled round corner (G50) ................................................................................. 105
7.4 Look-ahead (G51)........................................................................................................ 106
7.4.1 Advanced look-ahead algorithm (integrating Fagor filters) ...................................... 108
7.4.2 Look-ahead operation with Fagor filters active ........................................................ 109
7.5 Mirror image (G10, G11. G12, G13, G14) ................................................................... 110
7.6 Scaling factor (G72)..................................................................................................... 111
7.6.1 Scaling factor applied to all axes. ............................................................................ 112
7.6.2 Scaling factor applied to one or more axes.............................................................. 113
CHAPTER 8 TOOL COMPENSATION
8.1 Tool length compensation............................................................................................ 115
8.2 Tool radius compensation............................................................................................ 116
8.2.1 The location code of the tool (tool type)................................................................... 117
8.2.2 Working without tool radius compensation .............................................................. 120
8.2.3 Working with tool radius compensation ................................................................... 121
8.2.4 Beginning of tool radius compensation (G41, G42) ................................................. 122
8.2.5 Sections of tool radius compensation ...................................................................... 125
8.2.6 Cancellation of tool radius compensation (G40) ...................................................... 126
8.2.7 Temporary cancellation of tool compensation with G00 .......................................... 130
8.2.8 Change of type of radius compensation while machining........................................ 132
8.2.9 Tool compensation in any plane .............................................................................. 133
8.3 Collision detection (G41 N, G42 N) ............................................................................. 134
CHAPTER 9 CANNED CYCLES
9.1 G66. Pattern repeat canned cycle ............................................................................... 136
9.1.1 Basic operation ........................................................................................................ 140
9.1.2 Profile programming syntax ..................................................................................... 142
9.2 G68. Stock removal cycle along X axis ....................................................................... 143
9.2.1 Basic operation ........................................................................................................ 147
9.2.2 Profile programming syntax ..................................................................................... 150
9.3 G69. Z axis roughing canned cycle ............................................................................. 151
9.3.1 Basic operation ........................................................................................................ 154
9.3.2 Profile programming syntax ..................................................................................... 157