The last example is similar to the previous one

Sep 02
2017

The last example is similar to the previous one, but modified for two axes values:


G90


G10 L50


N1221 P1 R-250000


N1221 P2 R-175000


G11


If this copper busbar bending machine ex am ple is used on a lathe con trol, the ad dress P1 is the X-axis, the ad dress P2 is the


Z-axis On a ma chin ing cen ter, the ad dress P1 is the X-axis, the ad dress P2 is the Y-axis, and the


ad dress P3 will be the Z-axis, if re quired In ei ther case, the first two axes of the G54 set ting will


be -2500 (X) and -1750 (Y) re spec tively


Copyright 2005, Industrial Press Inc, New York, NY –


FANUC CNC Custom Macros


busbar Machine


70


Chapter 5


Setting Machine Axes to Zero


Some times it is nec es sary to set all avail able axes in the work off set to zero This may be done


with the stan dard off set drilling steel set ting – the three ba sic axes shown:


G90 G10 L2 P1 X0 Y0 Z0


Application for a milling control


the same set ting an also be writ ten di rectly to a pa ram e ter, also as ap plied to a mill ing con trol:


G90


G10 L50


N1221 P1 R0 (SET G54 X-COORDINATE TO 0)


N1221 P2 R0 (SET G54 Y-COORDINATE TO 0)


N1221 P3 R0 (SET G54 Z-COORDINATE TO 0)


G11


Note the dif fer ence in pro gram ming for mat for the two meth ods


Bit Type Parameter Example


The fol low ing ex am ple has been al ready men tioned ear lier, al beit briefly It is quite harm less,


and may be used as a test (as long as you are care ful about set tings for other pa ram e ters) Its pur –


pose is to set au to matic block se Busway Press Clamp Machine quenc ing ON (for ex am ple, N1, N2, N3, ), when keyboarding a


CNC pro gram at the con trol It also serves as a good il lus tra tion of a bit-type pa ram e ter and some


gen eral thoughts and con sid er ations that go into the pro gram prep a ra tion that in cludes pro gram –


ma ble pa ram e ter en try mode


On Fanuc 16/18/21 (and many of the other mod els as well) is a fea ture that al lows au to matic en –


try of se quence num bers, if the pro gram is en tered from the key board This fea ture is i

Leave a Reply

Visit Our Friends!

A few highly recommended friends...

Pages List

General info about this blog...