CNC Programming

CNC | C | C++ | Assembly | Python | R | Rust | Arduino | Solidworks | Embedded Systems


Table Of Contents:
  1. G-code Table
  2. G00 - Rapid Linear Motion
  3. G01 - Linear Motion at Feed Rate
  4. G02 and G03 - Arc at Feed Rate
  5. G04 - Dwell
  6. G10 - Coordinate System Data Tool and Work Offset Tables
  7. G17, G18 and G19 - Plane Selection
  8. G20 and G21 - Length Units
  9. G28 and G30 - Return to Home
  10. G28.1 - Reference Axes
  11. G40, G41 and G42 - Cutter Radius Compensation
  12. G43, G44 and G49 - Tool Length Offsets
  13. G47 - Engrave Sequential Serial Number
  14. G53 - Move in Absolute Coordinates
  15. G54 to G59 and G59 P~ - Select Work Offset Coordinate System
  16. G61 and G64 - Set Path Control Mode
  17. G73 - Canned Cycle - High Speed Peck Drill
  18. G80 - Cancel Modal Motion
  19. G81 to G89 - Canned Cycles
  20. G90 and G91 - Distance Mode
  21. G92, G92.1, G92.2 and G92.3 - G92 Offsets
  22. G93, G94 and G95 - Set Path Control Mode
  23. G98 and G99 - Canned Cycle Return Level 
The G73 cycle is intended for deep drilling or milling with chip breaking. See also G83. The retracts in this cycle break the chip but do not totally retract the drill from the hole. It is suitable for tools with long flutes which will clear the broken chips from the hole. This cycle takes a Q number which represents a "delta" increment along the Z-axis.
Program: 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.
  • G73 Example   

    (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 G54 G20 G17 G50 G94 G64 (safety block)
    N5 G90 G80 G20
    N10 M06 T3 G43 H3
    N15 M03 S1200
    N20 G00 X1 Y1
    N25 G73 Z-0.75 R0.125 Q0.0625 F5 (Invoke G73 cycle)
    N30 X2.0
    N35 X3.0
    N40 Y2.0
    N45 X2.0
    N50 X1.0
    N55 G80 G00 Z1 (Canned cycle cancel)
    N60 X0 Y0
    N65 M05
    N70 M30


No comments:

Post a Comment