| 3.2.1 G41/G42 - circular approach with final positions and slope (G41/G42 X.. Y.. QF..)...................36 3.2.2 G41 /G42 - linear approach without positions (G41/G42)...............................................................37 3.2.3 G41 /G42 - linear approach with final positions (G41/G42)............................................................37 3.3 Retract from profile..................................................................................................................................38 3.3.1 G40 - circular tangent retract (G40 X.. Y..)........................................................................................38 3.3.2 G40 - retract without positions (G40)..................................................................................................39 3.4 feed management with radius correction (g109v, g109u)...............................................................39 3.5 Null or negative radius..............................................................................................................................40 3.6 Connecting radius on external edges (G109S, G109T)......................................................................40 4. RTCP (ROTATING TOOL CENTRE POINT)...................................................................................................41 4.1 G117RTCP for rotating heads................................................................................................................41 4.1.1 Static G117 (G117 KA2)........................................................................................................................41 4.1.2 Dynamic G117 (G117 KA1)..................................................................................................................43 4.1.3 G117 usage.............................................................................................................................................43 4.1.4 Handwheel enable on rotating axes in G117 (G124)........................................................................44 4.2 RTCP for turntables..................................................................................................................................45 4.2.1 G118 simple............................................................................................................................................45 4.2.2 G118 HR1................................................................................................................................................47 4.2.3 G118 usage.............................................................................................................................................48 4.3 Workpiece mounting errors compensation on tilting tables (G122)..............................................49 4.4 Tool tip constant velocity with RTCP active (G131)..........................................................................50 5. PARAMETRIC PROGRAMMING......................................................................................................................51 5.1 Parameter management..............................................................................................................................51 5.1.1 Parameter assignment...........................................................................................................................53 5.1.2 Parameter assignment through a formula..........................................................................................53 5.1.3 Axis movement programming with parameters..................................................................................54 5.1.4 System parameters programming........................................................................................................54 5.1.5 Axes programming through parameters AA, AB, AC........................................................................55 5.2 Programming with "advanced lines"(!... !)............................................................................................56 5.2.1 Assigning values to parameters and computing expressions..........................................................56 5.2.2 Executing jumps without return (!GON..!)...........................................................................................56 5.2.3 Executing jumps with return (!GON..-..!)............................................................................................57 5.2.4 Executing conditioned jumps (!IF ; GON.. !)....................................................................................57 5.2.5 Controlling more than one condition on the same advanced line...................................................58 5.2.6 Structuring conditioned jumps..............................................................................................................58 5.2.7 Jump to a CMOS subprogram (! GOP.. !)...........................................................................................59 5.2.8 Jump to a CMOS subprogram with label (! GOP.. -N..!)..................................................................59 5.2.9 Jump to a CMOS subprogram with two labels (! GOP.. -N.. -N..!)................................................60 5.3 Conditioning blocks of programs (--IF)..................................................................................................60 5.4 Program block repetition (--DO --LOOP)...............................................................................................62 5.4.1 Specifying the repetition number (LOOP {N})....................................................................................62 5.4.2 Repetition condition................................................................................................................................62 5.4.3 Anticipated exit condition --DO --LOOP (--EXIT DO)........................................................................63 5.5 Writing CMOS programs (--DEFINE P..).................................................................................................64 5.6 Writing a temporary subprogram SUBTEMP (--DEFINE S..)..............................................................64 6. Z32 FIXED CYCLES AND MACROS...............................................................................................................66 6.1 Z32 Fixed cycles (G800)..............................................................................................................................66 6.1.1 G800K1: Drilling......................................................................................................................................68 6.1.2 G800K2: Deep drilling with chip breakage.........................................................................................68 6.1.3 G800K3: Deep drilling with chip extraction.........................................................................................69 6.1.4 G800K4: Tapping...................................................................................................................................69 6.1.5 G800K5: Reaming..................................................................................................................................69 6.1.6 G800K6: Boring......................................................................................................................................69 6.1.7 G800K7: Deep drilling with chip breakage and extraction...............................................................70 6.1.8 G800K8: Two zones drilling with gap..................................................................................................71 |