Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Equipment >> CNC Machine

Fanuc BHC Macro – Custom Bolt Hole Circle Tooling for CNC

Submit by: cnc programmer

Drawing/Image

Fanuc BHC Macro – Custom Bolt Hole Circle Tooling for CNC

CNC Program

/*Parameters
G65 P9100 Xx Yy Zz Rr Ff Ii Aa Bb Hh
X: X coordinate of the center of the circle (#24)
Y: Y coordinate of the center of the circle (#25)
Z: Hole depth (#26)
R: Coordinates of an approach point (#18)
F: Cutting feedrate (#9)
I: Radius of the circle (#4)
A: Drilling start angle (#1)
B: Incremental angle (Clockwise when negative value) (#2)
H: Number of holes (#11)
*/

O9100
#3=#4003
G81 Z#26 R#18 F#9 K0
IF[#3 EQ 90]GOTO 1
#24=#5001+#24
#25=#5002+#25
N1 WHILE[#11 GT 0]DO 1
#5=#24+#4*COS[#1]
#6=#25+#4*SIN[#1]
G90 X#5 Y#6
#1=#1+#2
#11=#11-1
END 1
G#3 G80
M99

/*Fanuc Bolt Hole Macro Example
Example macro call to drill 5 holes at intervals of 45 degrees
after a start angle of 0 degrees
on the circumference of a circle with radius 4”.
The absolute center of the circle is (10”, 5”).*/
O0002
G90 G92 X0 Y0 Z4.0
G65 P9100 X10.0 Y5.0 R1.0 Z-2.0 F20 I4.0 A0 B45.0 H5
M30

CNC Machine

  1. G71 Bolt Hole Arc: Easy CNC Mill Programming for Precise Arc Hole Drilling
  2. Setting the Starting Angle in G70 Bolt Hole Circles – A Practical CNC Example
  3. CNC Sample Program: G83 Peck Drilling with G70 Bolt Hole Circle for Evenly Spaced Deep Holes
  4. CNC Milling: G70 Bolt Hole Circle Program – Simple & Accurate Example
  5. G70 Bolt Hole Circle: Automate CNC Milling for Precise Circular Bolt Holes
  6. Fanuc G72.1 & G72.2 Figure Copy Example – CNC Program for Bolt Hole Circle
  7. Fadal L93NN BHC Subroutine – Accurate Bolt Hole Circle Drilling
  8. Fanuc G15 & G16: Polar Coordinate Bolt Circle CNC Program Example
  9. Custom Fanuc Macro for Precise Peck Drilling on Lathes
  10. Sinumerik HOLES2: Mastering Hole Circle Machining