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:

need some MPGEN5X_FANUC help


mayday
 Share

Recommended Posts

I need the post to imput a G80 at surface depth changes. hear is what i get. it needs to cancel and issue a new drill cycle at the next position change. ????????

 

:G0G18G90X49.9213Y5.S800M3M43

Z9.6457

G81Y-.1181R0.F2.5

X50.7087

X52.5591Z7.6772R-.3937

X56.4961

X52.5591

X50.7087Z-9.6457R0.

X49.9213

X49.4095Z-11.811R-1.063

Z-12.9921

X118.7008

Z-11.811

G80J1

Link to comment
Share on other sites

MayDay, try this out.

this is for a custom cycle in my post.

it will cancel the drill cycle when a new z depth is encountered. do not know if this is exactly what you had in mind. this is for a 3 axis post, maybe it will give you an idea of how to get it to work in your 5 axis post.

 

pmisc2_2 #Canned Misc #2 Cycle

if z <> prv_z,

[

z = initht

"G80", *z, e

prv_refht_a = c9k

prv_refht_i = c9k

pmisc2

]

else,

[

pdrlcommonb#canned drill cycle common call before

pcan1, pbld, pxout, pyout, pzout, prdrlout, feed,

strcantext, e

pcom_movea # common motion routine after

]

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...