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:

G60 - single direction positioning


kccadcam
 Share

Recommended Posts

On a fanuc 11m I believe it is just one time shot per entry. This can be checked by trying it with the rapid rate down all the way. Better yet try turning single block on. I think this is how I figured it out when I needed some accurate bore locations relavent to each other on a older machine. Please post the results when you find out. Inquiring minds want to know. Then maybe I'll be able to remember better this time. cheers.gif

Link to comment
Share on other sites

Yes Kevin this is easy to do. Have to decide if you want this as a call it when you need it or hard coded in the post to always come out. I will try to show you the Misc way. Look here in the post:

code:

 

pdrlcommonb #Canned Drill Cycle common call, before

if sav_dgcode = 81,

[

result = newfs (two, zinc)

if drillcyc = three, drlgsel = fsg1(-ss) + drillcyc * two

else, drlgsel = fsg2(dwell) + drillcyc * two

if initht <> refht, drillref = zero

else, drillref = one

prv_refht_a = c9k

prv_refht_i = c9k

prv_dwell = zero

]

if cuttype = three, sav_dgcode = gcode

else, z = depth

if cuttype = one, prv_zia = initht + (rotdia/two)

else, prv_zia = initht

pcom_moveb

feed = fr_pos

comment

pcan

#5 axis must map the true Z, correct Z calculation here

if cuttype = three,

[

prv_zia = zabs + (-depth) + initht

zia = fmtrnd(zabs)

zinc = zia - prv_zia

]

if mi8 = 1, "M60" , e

 

pcanceldc #Cancel canned drill cycle

result = newfs (three, zinc)

z = initht

if cuttype = one, prv_zia = initht + (rotdia/two)

else, prv_zia = initht

pxyzcout

!zabs, !zinc

prv_gcode = zero

pcan

pcan1, pbld, n, "G80", strcantext, e

pcan2

if mi8 = 1, "M64", e


Do not have at home but think this might work. If you want to get fancy can change the TXT for the post and have the Misc look like a question or something to your liking. If you want this hard coded then you just take out the if mi8 = 1, on both and will be there for all. This way is for all drilling routines and all you have to do it use the mi8 to turn it on or off wit hthe vaules of 1.

Link to comment
Share on other sites

Ok, have been tweaking on this machine (Matsuura H600 Horizontal) for awhile, and I think I've got it. bonk.gif

 

code:

 M6 (#3 CENTER DRILL  TOOL-428)

M22

G90

M21

G60

G0 G17 G90 X-5.8125 Y-4.9199 S1749 M3 T411

G43 H428 Z8. /M8

M50 (SPINDLE COOLANT ON)

G81 Z6.665 R6.84 F3.

G80

G64

M9

G94

G91 G28 Z0 M5

G49

M52 (AIR BLAST ON)

G4 X9.5

M53 (AIR BLAST OFF)

(BREAK CHECK)

G65 P9301 D0.015 H428

M1

M6 (3.3MM MITSUBISHI CARB COOLANT THRU DRILL TOOL-411)

M22

G90

M21

G60

G0 G17 G90 X-5.8125 Y-4.9199 S3500 M3 T426

G43 H411 Z8. /M8

M50 (SPINDLE COOLANT ON)

G81 Z6.59 R6.84 F9.

G80

G60

G81 Z5.7517 R6.84 F9.

G80

G64

M9

G94

G91 G28 Z0 M5

G49

M52 (AIR BLAST ON)

G4 X9.5

M53 (AIR BLAST OFF)

(BREAK CHECK)

G65 P9301 D0.015 H411

M1

It's working quite well now other than transform toolpath calls a new canned cycle for every part mad.gif

Link to comment
Share on other sites
  • 13 years later...
4 minutes ago, Leon82 said:

Do you happen to know if this is a pay for option on FANUC or you just need to enable a parameter?

For this machine it was an option from the builder. Each MTB does things a little differently you would need to get a hold of your MTB and see what they say. Not an expensive option if it is a chargeable one.

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