Fanuc Macro Programming
Fanuc macro programming tutorials and programming examples
Fanuc Lathe Custom Macro for Peck Drilling
Fanuc Peck Drilling Macro Move the tool beforehand along the X- and Z-axes to the position where a drilling cycle starts. Specify Z or W for the depth of a…
Make your own G81 Drilling Cycle through Fanuc Macro and G66 Modal Call
This is a complete Fanuc Macro which works same as Fanuc G81 Drilling Cycle. Image: directindustry.com G66 Modal Call Once Fanuc G66 is issued to specify a modal call a…
Fanuc Bolt Hole Circle Custom Macro (BHC)
/*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…
G65 Macro for an Increasing Radius
;A = #1 (Start Angle 0 degrees) ;B = #2 (Start Radius) ;C = #3 (Increment angle for accuracy calculations.) ;I = #4 (Finish Angle) ;J = #5 (Finish radius)…
G65 Macro for Internal Elipse
T1 M6 G0 G90 G40 G21 G17 G94 G80 G54 X0 Y0 S? M3 G43 Z5 H? G1 Z-? F? #20 = 2 ; Incremental degree calculation #21 = 0…
G65 Macro for a Counterbore
T? M6 (ENDMILL) G0 G90 G40 G21 G17 G94 G80 G54 X? Y? S? M3 (Move to bore centre) G43 Z? H? ; G65 P1001 A? D? (A = C/BORE…
G65 Macro for Internal Helical
T? M6 (THREADMILL) G0 G90 G40 G21 G17 G94 G80 G54 X? Y? S? M3 (Move to bore centre) G43 Z? H? ; G65 P1002 A? B? D? (A =…