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:

Start Spindle after Drill is in hole.


Recommended Posts

I am trying to figure out how to position gun drill inside of hole before coolant and spindle are turned on. How do I go about doing so? here is the code for the drill (chip break ) program. I want the spindle and coolant on at Z -1.0.

 

%

O0000

G17G40G49G80

(T0 61/64 Sterling Gun Drill)

M741(Conveyor On)

G0G90G40G56X-13.4145Y-6.7092S627M3

G43H3Z2.M26

G98G73Z-13.1835R-1.Q.005F8.

G80

M9

G91G30Z0.M5

G53G49

M740(Conveyor Off)

M30

%

 

Any Help is appreciated! THANKS

Link to comment
Share on other sites

You would need a post modification to add a custom drill cycle.

 

Or you could just hand bomb the code like this:

%

O0000

G17G40G49G80

(T0 61/64 Sterling Gun Drill)

M741(Conveyor On)

G0G90G40G56X-13.4145Y-6.7092

G43H3Z2.

G01 Z-1.0 F20.

S627M3

M26

G98G73Z-13.1835R-1.Q.005F8.

G80

G00 Z2.0

M9

G91G30Z0.M5

G53G49

M740(Conveyor Off)

M30

%

 

 

I did not think pecking with a Gun Drill was recomended?

 

Allan

Link to comment
Share on other sites

This is what I did for gundrilling:

 

prgunout	 #R drill position
 if cuttype = one, refht_a = refht$ + (rotdia$ / two)
 else, refht_a = refht$ + drl_prm1$
 refht_i = refht$ - initht$ + drl_prm1$
 if cuttype = three, refht_a = w$ + drl_prm1$
 if absinc$ = zero, refht_a, !refht_i
 else, refht_i, !refht_a
pgundrill		 #Canned Drill Cycle
 pdrlcommonb
 gunht = refht$ + drl_prm1$
 pxout, pyout, e$
 "G01", *refht$, "F75.", e$
 "G01", *gunht, "F6.", e$
 *scoolant, e$
 *speed, *spindle, e$
 pcan1, pbld, *sgdrlref, *sgdrill, pfzout,
 prgunout, dwell$, *feed, strcantext, e$
 pcom_movea
 "G80", e$
 "M05", e$
 "M19", e$
 "M89", e$
 "G00", *initht$, e$

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