Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

post g54 and g54


Recommended Posts

Yes with macro;

 

(Fadal snippet)

 

N970(NO. 2 CENTER DRILL)
N980T2M06S7868
N990G90M03
N1000#V40=V42+1
N1010#:2
N1020#V40=V40-1
N1030#R9=V40
N1040G00X-.8Y-.5E+R9
N1050H2Z2.5
N1060G99G81Z1.302R01.6F78.
N1070G98X-.2
N1080G00G80Z2.5
N1090#IF V40>V41+1 THEN GOTO :2
N1100G91G28Z0
N1110M01

 

N1120(1/8" .125 DIA. DRILL)
N1130T3M06S10000
N1140G90M03
N1150#V40=V41
N1160#:3
N1170#V40=V40+1
N1180#R9=V40
N1190G00X-.2Y-.5E+R9
N1200H3Z2.5
N1210G99G83Z.9924R01.6Q.0625F72.P.02
N1220G98X-.8
N1230G00G80Z2.5
N1240#IF V40<V42 THEN GOTO :3
N1250G91G28Z0
N1260M01
 

Link to comment
Share on other sites

They are standard work offsets loaded just like G54, G55, etc. The macro just tells the program to rerun a program segment on a different offset until it the last part, then go back (in the instance I posted). We've been running this style of macro since the early nineties even though we are currently phasing out the vertical machines for production work.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...