Fanuc G72.1 G72.2 Figure Copy Program Example (Bolt Hole Circle)

In this article, we write CNC program example for rotational and linear copy commands (G72.1 and G72.2 codes) in CNC Milling machines.

0
241

Programming Notes

Specifying two or more commands to copy a figure;

  • G72.1 cannot be specified more than once in a subprogram for making a rotational copy (If this is attempted, alarm PS0900 will occur).
  • G72.2 cannot be specified more than once in a subprogram for making a linear copy (If this is attempted, alarm PS0901 will occur).
  • In a subprogram that specifies rotational copy, however, linear copy can be specified. Similarly, in a subprogram that specifies linear copy, rotational copy can be specified.

Technical Drawing

Fanuc G72.1 G72.2 Figure Copy Program Example (Bolt Hole Circle)

CNC Program

Main program

O4000 ;
N10 G90 G00 G17 X240. Y230. Z100. ; (P0)
N20 G72.1 P4100 X120. Y120. L8 R45. ;
N30 G80 G00 X240. Y230. ; (P0)
N40 M30 ;

Sub program – Rotation copy (G72.1)

O4100 N100 G72.2 P4200 I0 J20. L3 ;
N200 M99 ;

Sub program – Linear copy (G72.2)

O4200 N110 G90 G81 X120. Y180. R60. Z10. F200. ; (P1)
N210 M99 ;

G Codes Explanation

G00 Rapid traverse
G01 Linear interpolation
G15 and G16 Polar Coordinate
G17 Plane Selection
G43 Tool Length Offset
G54 Work Offset
G72.1 Rotational Copy
G72.2 Linear Copy
G80 Canned Cycle Cancel
G81 Drilling
G90 Absolute command
G91 Incremental command

 


Need to More?

Our volunteers have worked together and carefully prepared the articles published here in their native language without using machine translation. You can search the entire site for more information on the subject. You can start a discussion on CNCarea.com forums and join us to get support, ask questions, improve a published article or give your opinion.


Previous articleFanuc G72.1 Rotational Copy Program Example
Next articleCNC Milling | G16 | Polar Coordinate Example with G81 Cycle