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 can cycle


Oppiz
 Share

Recommended Posts

I'm in the process of getting generic post V9 mpheid_i to work for my mill. I have most of the Changes complete. My problem is with the can cycles.I need it to be like this for peck drilling:

G83 P01 -.1 P02 -.958 P03 -.075 P04 0.0 P05 80

 

P01= setup clearance*

P02= Total depth*

p03= pecking depth*

p04= dwell

p05= feed rate

 

*must be negative numbers

 

What I get now is not in the right order and giving wrong information. Any help would be appreciated.

Link to comment
Share on other sites

Go to line 965 in the post. It should look like this:

pcan1, pbld, n, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, prdlout, *peck1, dwell,*feed, strcantext, e

 

Move prdlout in front of pfzout to look like this:

 

pcan1, pbld, n, *sgdrlref, *sgdrill, pxout, pyout, prdrlout, pfzout, pcout, *peck1, dwell,*feed, strcantext, e

 

This should take care of your order problem. As far as negative numbers, insert negative values into your retract value, depth, and peck and it should come out like this:

 

(Just a simple peck drill program)

 

%T G70

; PROGRA M NAM E - T

; DAT E=D D-M M-Y Y - 12-04-02 TIM E=H H:M M - 21:02)

N100 G99 T1 L0. R.07

N102 G0 G40 G90 Z10.

;9/64 DRIL L TOO L - 1 DI A. OF F. - 1 LE N. - 1 DI A. - .14

N104 T1 M6

N106 G0 G90 X-2.5 Y1.5 A0. S1901 M3

N108 Z-.1

N110 G99 G83 P01-.1 P02-.5 P03-.3 P041. P054.3

N112 X-2.4 Y-1.5 P041.

N114 X.52 Y-2.3 P041.

N116 X2.4 Y-1.1 P041.

N118 Y.27 P041.

N120 X2.3 Y.75 P041.

N122 G80

N124 M5

N126 G91 Z0.

N128 X0. Y0. A0.

N130 M02

N99999%T G70

 

Hope this helps. biggrin.gif

Link to comment
Share on other sites

I tried what you suggested and I get this error??

 

Combined Mill and Lathe Post Processor Version 9.00r © Copyright 1992-2002 CNC Software, Inc.

Processing file with MPHEID_I...Illegal character > on left side of equation.

Post line number 549

Program execution halted due to error(s) in .pst

Link to comment
Share on other sites

OPPIZ,

I've tried the modification in both V8 & V9 and it works both places. I don't get the error you have listed. You may want to check the post again to make sure the > was not put in by accident. You may have other issues if the post has been messed with as well. Anyway, if you have a way to send me the post, I'd be glad to look at it and help.

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