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:

Peck drill cycle


Philcott
 Share

Recommended Posts

I have been drilling more and more titanium lately and I need a drill cycle (it would need to be longhand for my machine) that rapids from in front of the part to a position (often an R value) then drills to a designated depth with programmed in-feed increments and uses a chip breaking movement.

 

Sample of a canned cycle might be something like this.

 

G0 X0 Z.2

G83 Z-1.5 R-.15 Q1500 V.01 F.005

G80

 

V would be the programmable (non-rapid retract) chip breaking move.

 

My machines don't have a canned cycle that will do this so long hand would look something like this.

 

G0 X0 Z.2

Z.05

G1 Z-.1 F.003

W.005

Z-.25

W.005

Z-.4

W.005

.

.

Z-1.5

G0 Z.05

Z.2

 

Can anyone help me figure out how to get one of the custom drilling cycles to output code like this?

 

Thanks

G80

Link to comment
Share on other sites

Try changing your post to do longhand code in the CD for Switches and Position calculations. This chould give you longhand.

Set usecanpeck and usecanchip to no.

 

# --------------------------------------------------------------------------

# Enable Canned Drill Cycle Switches

# --------------------------------------------------------------------------

usecandrill$ : yes$ #Use canned cycle for drill

usecanpeck$ : no$ #Use canned cycle for Peck

usecanchip$ : no$ #Use canned cycle for Chip Break

usecantap$ : yes$ #Use canned cycle for Tap

usecanbore1$ : yes$ #Use canned cycle for Bore1

usecanbore2$ : yes$ #Use canned cycle for Bore2

usecanmisc1$ : yes$ #Use canned cycle for Misc1

usecanmisc2$ : yes$ #Use canned cycle for Misc2

 

 

Also

 

# --------------------------------------------------------------------------

# Position calculations, generally these do not need to be modified

# --------------------------------------------------------------------------

pmiscint$ #Capture the top level absinc for subprograms

if sub_level$ = zero, absinc$ = mi2$

#Disable cutpos2 if not 4 axis, saves time

if rot_on_x = zero, cutpos2$ = m_one

 

pusecannedyes # Use canned drilling cycles

usecandrill$ = yes$ # Use canned cycle for drill

usecanpeck$ = no$ # Use canned cycle for Peck

usecanchip$ = no$ # Use canned cycle for Chip Break

usecantap$ = yes$ # Use canned cycle for Tap

usecanbore1$ = yes$ # Use canned cycle for Bore1

usecanbore2$ = yes$ # Use canned cycle for Bore2

usecanmisc1$ = yes$ # Use canned cycle for Misc1

usecanmisc2$ = yes$ # Use canned cycle for Misc2

 

pusecannedno # Use canned drilling cycles

usecandrill$ = no$ # Use canned cycle for drill

usecanpeck$ = no$ # Use canned cycle for Peck

usecanchip$ = no$ # Use canned cycle for Chip Break

usecantap$ = no$ # Use canned cycle for Tap

usecanbore1$ = no$ # Use canned cycle for Bore1

usecanbore2$ = no$ # Use canned cycle for Bore2

usecanmisc1$ = no$ # Use canned cycle for Misc1

usecanmisc2$ = no$ # Use canned cycle for Misc2

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