CNC KNOWLEDGE Denford Mirac PC CNC Lathe: G & M Code Referen - CNC KNOWLEDGE

Denford Mirac PC CNC Lathe: G & M Code Referen

  




   The Denford Mirac PC CNC lathe uses standard G and M codes for programming. Below is a general list of common G and M codes that may apply. However, variations might exist depending on the specific version of the Denford software, so consulting the machine's manual is recommended.




Common G Codes

Code Function
G00 Rapid positioning
G01 Linear interpolation (feedrate controlled)
G02 Circular interpolation (CW)
G03 Circular interpolation (CCW)
G04 Dwell
G17 XY plane selection
G18 ZX plane selection
G20 Programming in inches
G21 Programming in millimeters
G28 Return to machine zero
G40 Cancel cutter radius compensation
G41 Cutter radius compensation (left)
G42 Cutter radius compensation (right)
G90 Absolute programming
G91 Incremental programming
G94 Feed per minute
G95 Feed per revolution

Common M Codes

Code Function
M00 Program stop
M01 Optional stop
M03 Spindle on (clockwise)
M04 Spindle on (counterclockwise)
M05 Spindle stop
M08 Coolant on
M09 Coolant off
M30 Program end and rewind
M98 Subprogram call
M99 Subprogram end

Example Program

G21               ; Set units to millimeters
G90               ; Absolute programming
G00 X0 Z0         ; Rapid move to start position
G01 X20 Z-30 F100 ; Linear cut with feedrate
G02 X30 Z-40 R10  ; Clockwise arc
G01 X50 Z-50 F50  ; Linear cut with slower feedrate
M05               ; Stop spindle
M30               ; End of program




Denford Mirac PC CNC Lathe: G & M Code Referen Denford  Mirac PC CNC Lathe: G & M Code Referen Reviewed by www.cncknowledge.in on December 02, 2024 Rating: 5
Powered by Blogger.