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:

Custom Chip Break drill cycle


Guest
 Share

Recommended Posts

I seen a couple of discussions in the past about a chip break cycle with a full retract.

 

Well here's one if anyone thinks they can use it.

 

You set your top of stock & total depth as normal, you add a peck amount, # of full clearance moves you want and the height above the next peck start.

 

If you want to start at .05 abouve on the pecks, place .05 in, if you want .01 put it in.

 

Formatted variables

 

code:

fmt Z 2 inc_depth

fmt 4 no_step

fmt 2 total_depth

fmt 4 pass

fmt 4 count

fmt Z 2 cut_depth

fmt Z 2 cut_1

fmt Z 2 rpt_cut

fmt R 2 r_plane

fmt 2 r_hght

Custom cycle

code:

pdrlcommomb

if drillcyc$ = 8,

[

no_step = peck2$

r_hght = retr$

total_depth = depth$ - tosz$

inc_depth = total_depth / no_step

cut_1 = tosz$ + inc_depth

pbld, n$, *sgdrlref, *sg73, pdrlxy, *cut_1, prdrlout, *peck1$, *feed, e$

pass = 1

count = no_step - 1

rpt_cut = cut_1

r_plane = cut_1 + r_hght

while count > 0,

[

rpt_cut = cut_1 + (inc_depth * pass)

pbld, n$, *sgdrlref, *sg73, pdrlxy, *rpt_cut, *r_plane, *peck1$, *feed, e$

pass = pass + 1

count = count -1

r_plane = rpt_cut + r_hght

]

pcom_movea

]

Drill cycle description

code:

[drill cycle 9]

1. "Special Peck Cycle"

2. ""

3. ""

4. ""

5. ""

7. "Peck"

8. "# of Pecks"

9. ""

10. "Rapid Height"

11. ""

Sample program

code:

T2 M06 (1/8 DRILL)

(MAX - Z2.)

(MIN - Z-4.)

G00 G90 G54 X0. Y0. S5000 M03

G43 H2 Z2.

G98 G73 Z-.5 R.1 Q.1 F5.76

G98 G73 Z-1. R-.48 Q.1 F5.76

G98 G73 Z-1.5 R-.98 Q.1 F5.76

G98 G73 Z-2. R-1.48 Q.1 F5.76

G98 G73 Z-2.5 R-1.98 Q.1 F5.76

G98 G73 Z-3. R-2.48 Q.1 F5.76

G98 G73 Z-3.5 R-2.98 Q.1 F5.76

G98 G73 Z-4. R-3.48 Q.1 F5.76

M05

G91 G28 Z0.

G91 G28 X0. Y0.

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