Download PCNC User Manual
Transcript
Programming language reference G73 X~ Y~ Z~ A~ R~ L~ Q~ • Preliminary motion, as described in G81 to 89 canned cycles. • Move the Z-axis only at the current feed rate downward by delta or to the Z position, whichever is less deep. • Rapid back out by the distance defined in the G73 Pullback DRO on the Settings screen. • Rapid back down to the bottom of the current hole, but backed off a bit. • Repeat steps 1, 2 and 3 until the Z position is reached at step 1. • Retract the Z-axis at traverse rate to clear Z. It is an error if the Q number is negative or zero. The following sample program demonstrates the G73 command. (Sample Program G73EX20:) (Workpiece Size: X4, Y3, Z1) (Tool: Tool #3, 3/8" HSS Drill) (Tool Start Position: X0, Y0, Z1) N2 G90 G80 G40 N5 G90 G80 G20 N10 M06 T3 G43 N15 M03 S1200 N20 G00 X1 Y1 N25 G73 Z-0.75 N30 X2.0 N35 X3.0 N40 Y2.0 N45 X2.0 N50 X1.0 N55 G80 G00 Z1 N60 X0 Y0 N65 M05 N70 M30 G54 G20 G17 G50 G94 G64 (safety block) H3 R0.125 Q0.0625 F5 (Invoke G73 cycle) (Canned cycle cancel) 7.7.22 Cancel Modal Motion – G80 Program: G80 to ensure no axis motion will occur, to terminate canned cycles etc. Note that it cancels the current G2 or G3 mode so this must be re-established for the next move that is required. This particularly affects people adapting a CAM postprocessors from another machine as this behavior varies between different CNC controls. It is an error if: • Axis words are programmed when G80 is active, unless a modal group 0 G-code is programmed which uses axis words. 7.7.23 Canned Cycles – G81 to G89 The canned cycles G81 through G89 have been implemented as described in this section. Two examples are given with the description of G81 below. All canned cycles are performed with respect to the currently selected plane. Any of the three planes (XY, YZ, and ZX) may be selected. Throughout this section, most of the descriptions assume the XY-plane has been selected. The behavior is always analogous if the YZ or XZplane is selected. Rotational axis words are allowed in canned cycles, but it is better to omit them. If rotational axis words are used, the numbers must be the same as the current position numbers so that the rotational axes do not move. Using Tormach PCNC 1100 Series II 7-26 31138 Rev B1-4