Denford Mirac PC CNC Lathe G & M Codes

Table of contents:

[1] What is CNC?
[2] How to Make CNC Program?
[3] Make Your First CNC Program
[4] G Code Introduction
[5] Modal G-Code- Learn G Code Programming
[6] One Shot G-Codes- Learn G Code Programming
[7] Mill/Lathe G/M-Codes- Learn G Code Programming
[8] Popular CNC G-Code Lists- Learn G Code Programming
[9] Din 66025 Programming- Learn G Code Programming
[10] M Code Introduction
[11] CNC Program Block
[12] Why to use Canned Cycles?
[13] Subprograms Basics
[14] CNC Machine Modes
[15] Speed and Feed Override
[16] Block Delete
[17] Dry Run
[18] Reference Point Return
[19] CNC Operating Modes
[20] CNC Reference Point Return
The Denford Mirac PC is a versatile 2 axis CNC bench turning centre, ideal for all levels of education and technical training.
Here is complete list of Denford Mirac PC CNC Lathe G & M Codes.

Denford Mirac PC CNC Lathe

Mirac PC G-Codes List

G CodeFunction
G00Positioning (Rapid Traverse)
G01Linear Interpolation (Feed)
G02Circular Interpolation CW
G03Circular Interpolation CCW
G20Inch Data Input
G21Metric Data Input
G28Reference Point Return
G40Tool Nose Radius Compensation Cancel
G41Tool Nose Radius Compensation Left
G42Tool Nose Radius Compensation Right
G50Work Co-ordinate Change / Max. Spindle Speed setting
G70Finishing Cycle
G71Stock Removal in Turning – X
G72Stock Removal in Facing – Z
G73Pattern Repeating
G74Peck Drilling in Z Axis
G75Grooving in X Axis
G76Multiple Thread Cutting Cycle
G81Deep hole drilling (No FANUC)
G90Diameter Cutting Cycle A (Outer/Inner)
G92Thread Cutting Cycle
G94Cutting Cycle B (End Face Cycle)
G96Assessed Surface Speed Control
G97Assessed Surface Speed Control Cancel
G98Feed Per Minute
G99Feed Per Revolution

Denford Mirac PC CNC Lathe G Codes M Codes

Mirac PC M-Codes List

M CodeFunction
M00Program stop
M01Optional stop
M02End of program
M03Spindle forward (clockwise)
M04Spindle reverse (counter clockwise)
M05Spindle stop
M06Automatic tool change
M08Coolant on
M09Coolant off
M10Chuck open
M11Chuck close
M13Spindle forward and coolant on
M14Spindle reverse and coolant on
M25Tailstock quill extend
M26Tailstock quill retract
M30Program stop and reset
M38Door open
M39Door close
M40Parts catcher extend
M41Parts catcher retract
M62Auxiliary output 1 on
M63Auxiliary output 2 on
M64Auxiliary output 1 off
M65Auxiliary output 2 off
M66Wait for auxiliary output 1 on
M67Wait for auxiliary output 2 on
M76Wait for auxiliary output 1 off
M77Wait for auxiliary output 2 off
M98Sub program call
M99Sub program end and return

Fanuc 31i G Codes Machining Center – Fanuc 30i 31i 32i

Fanuc 31i G codes list for cnc machinists programmers who work on cnc machining centers with Fanuc 30i 31i 32i cnc controls.
Fanuc 31i cnc control

Fanuc CNC Controls

Following list of g codes applies to following cnc controls as well.
  • Fanuc Series 30i/300i/300is-MODEL A
  • Fanuc Series 31i/310i/310is-MODEL A5
  • Fanuc Series 31i/310i/310is-MODEL A
  • Fanuc Series 32i/320i/320is-MODEL A

Fanuc 31i G Codes

G CodeDescription
G00Positioning (rapid traverse)
G01Linear interpolation (cutting feed)
G02Circular interpolation CW or helical interpolation CW
G03Circular interpolation CCW or helical interpolation CCW
G02.2, G03.2Involute interpolation CW/CCW
G02.3, G03.3Exponential interpolation CW/CCW
G02.4, G03.4Three-dimensional coordinate conversion CW/CCW
G05AI contour control (high-precision contour control compatible command)
G05.1AI contour control / Nano smoothing / Smooth interpolation
G05.4HRV3,4 on/off
G06.2NURBS interpolation
G07Hypothetical axis interpolation
G07.1 (G107)Cylindrical interpolation
G08AI contour control (advanced preview control compatible command)
G09Exact stop
G10Programmable data input
G10.6Tool retract and recover
G10.9Programmable switching of diameter/radius specification
G11Programmable data input mode cancel
G12.1Polar coordinate interpolation mode
G13.1Polar coordinate interpolation cancel mode
G15Polar coordinates command cancel
G16Polar coordinates command
G17XY plane selection
G18ZX plane selection
G19YZ plane selection
G20 (G70)Input in inch
G21 (G71)Input in mm
G22Stored stroke check function on
G23Stored stroke check function off
G25Spindle speed fluctuation detection off
G26Spindle speed fluctuation detection on
G27Reference position return check
G28Automatic return to reference position
G29Movement from reference position
G302nd, 3rd and 4th reference position return
G30.1Floating reference position return
G31Skip function
G31.8EGB-axis skip
G34Variable lead threading
G35Circular threading CW
G36Circular threading CCW
G37Automatic tool length measurement
G38Cutter or tool nose radius compensation : preserve vector
G39Cutter or tool nose radius compensation : corner circular interpolation
G40Cutter or tool nose radius compensation : cancel
Three-dimensional cutter compensation : cancel
G41Cutter or tool nose radius compensation : left
Three-dimensional cutter compensation : left
G41.2Cutter compensation for 5-axis machining : left (type 1)
G41.3Cutter compensation for 5-axis machining : (leading edge offset)
G41.4Cutter compensation for 5-axis machining : left (type 1) (FS16i-compatible command)
G41.5Cutter compensation for 5-axis machining : left (type 1) (FS16i-compatible command)
G41.6Cutter compensation for 5-axis machining : left (type 2)
G42Cutter or tool nose radius compensation : right
Three-dimensional cutter compensation : right
G42.2Cutter compensation for 5-axis machining : right (type 1)
G42.4Cutter compensation for 5-axis machining : right (type 1) (FS16i-compatible command)
G42.5Cutter compensation for 5-axis machining : right (type 1) (FS16i-compatible command)
G42.6Cutter compensation for 5-axis machining : right (type 2)
G40.1Normal direction control cancel mode
G41.1Normal direction control on : right
G42.1Normal direction control on : left
G43Tool length compensation +
G44Tool length compensation –
G43.1Tool length compensation in tool axis direction
G43.4Tool center point control (type 1)
G43.5Tool center point control (type 2)
G45Tool offset increase
G46Tool offset decrease
G47Tool offset double increase
G48Tool offset double decrease
G49 (G49.1)Tool length compensation cancel
G50Scaling cancel
G50.1Programmable mirror image cancel
G51.1Programmable mirror image
G50.2Polygon turning cancel
G51.2Polygon turning
G52Local coordinate system setting
G53Machine coordinate system setting
G53.1Tool axis direction control
G54 (G54.1)Workpiece coordinate system 1 selection
G55Workpiece coordinate system 2 selection
G56Workpiece coordinate system 3 selection
G57Workpiece coordinate system 4 selection
G58Workpiece coordinate system 5 selection
G59Workpiece coordinate system 6 selection
G60Single direction positioning
G61Exact stop mode
G62Automatic corner override
G63Tapping mode
G64Cutting mode
G65Macro call
G66Macro modal call A
G66.1Macro modal call B
G67Macro modal call A/B cancel
G68Coordinate system rotation start or 3-dimensional coordinate conversion mode on
G69Coordinate system rotation cancel or 3-dimensional coordinate conversion mode off
G68.2Feature coordinate system selection
G72.1Figure copy (rotation copy)
G72.2Figure copy (linear copy)
G73Peck drilling cycle
G74Left-handed tapping cycle
G76Fine boring cycle
G80Canned cycle cancel
G80.5Electronic gear box 2 pair: synchronization cancellation
G80.8Electronic gear box: synchronization cancellation
G81Drilling cycle or spot boring cycle
G81.5Electronic gear box 2 pair: synchronization start
G81.8Electronic gear box: synchronization start
G82Drilling cycle or counter boring cycle
G83Peck drilling cycle
G84Tapping cycle
G84.2Rigid tapping cycle (FS15 format)
G84.3Left-handed rigid tapping cycle (FS15 format)
G85Boring cycle
G86Boring cycle
G87Back boring cycle
G88Boring cycle
G89Boring cycle
G90Absolute programming
G91Incremental programming
G91.1Checking the maximum incremental amount specified
G92Setting for workpiece coordinate system or clamp at maximum spindle speed
G92.1Workpiece coordinate system preset
G93Inverse time feed
G94Feed per minute
G95Feed per revolution
G96Constant surface speed control
G97Constant surface speed control cancel
G98Canned cycle : return to initial level
G99Canned cycle : return to R point level
G107Cylindrical interpolation
G112Polar coordinate interpolation mode
G113Polar coordinate interpolation mode cancel


No comments:

Post a Comment