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:

Using Sub Programs


Heavycut
 Share

Recommended Posts

We use a lot of sub programs for milling circular pockets on the mill G113 & G112(Okuma OSPU10 Control)

wondering the best way to incorprate this into a file either by positioning in toolpaths somehow and just adding G113 using manual entry.....

Need thoughts and ideas using, macro's or manual entry or Chook

Link to comment
Share on other sites

Well I tell you what I figured it out with soem help from Rekd and alot of trial and error and it works liek a freaking champ. I can use the engraving and other L9000 cycles on our Fadal's and I can use alot of the cycles on the HAAS this way now. Takes me about 1 mintue to write each routine but I guess if you want to be more efficent than that need to talk to the Mastercam GODS because I am fresh out of ideas.

 

Crazy Millman

Link to comment
Share on other sites

quote:

Takes me about 1 mintue to write each routine but I guess if you want to be more efficent than that need to talk to the Mastercam GODS because I am fresh out of ideas.


Easy Millman, No harm hear not being critical,

just checking to see if there are different ways.

You misunderstood me, SORRY Millman !

Link to comment
Share on other sites

Well here is a way to do this is you want to try it taken from the FADAL TXT:

code:

 [drill cycle 10]

1. "Engraving Cycle L9201"

2. "Feed rate"

3. "Enter cycle #"

4. "Clearance..."

5. "Retract..."

6. "Depth..."

7. "R1 Font"

8. "R2 Height"

9. "R3 Angle"

10. "R4 Serial"

11. ""


Then here is a little bit from the FADAL Post:

code:

r1        = dwell	#Used for fadal canned cycles 94xx - 99xx

r2 = frplunge #Used for fadal canned cycles 94xx - 99xx

r3 = peck1 #Used for fadal canned cycles 94xx - 99xx

r4 = peck2 #Used for fadal canned cycles 94xx - 99xx

r5 = peckclr #Used for fadal canned cycles 94xx - 99xx


code:

 pdrlcst     # Custom drill cycles 8-9

if drillcyc = 8,

[

t_feed = ((1 / n_tap_thds) * ss) * .95

n,"G85G98M46M49",*x,*y,*z,*refht,t_feed,

]

if drillcyc = 9,

[

n, *x, *y, *tloffno, e

n, "G1", *depth, retr, e

n, *r1, *r2, *r3, *r4, *r5, e

n, "G0", *initht, e

]

code:

pdrlcst_2   # Custom drill cycles 8-9

if drillcyc = 8, pdrill_2

if drillcyc = 9,

[

n, *x, *y, *tloffno, e

n, "G1", *depth, retr, e

n, *r1, *r2, *r3, *r4, *r5, e

n, "G0", *initht, e

]

You can then customize these to meet what ever you want for each vaules to be for your needs on the Routines you have in your machine. I used this for example but have these for cycles identical to the ones you were asking about in the first posting.

 

Oh yeah no misunderstanding on my part just try to help people if they want it cool if not still all is good on my part.

 

Crazy Millman

 

[ 12-20-2003, 12:01 AM: Message edited by: Millman^Crazy ]

Link to comment
Share on other sites

Mig if you set up your post right it will ouput the code exactly like you want it. The Drill cycles is your X,Y,Z that you need the your R,K,I,J,F or what ever your need are just fill in the blank. It takes about 30 seconds to write these cycles when making a mastercam program and you are done once you have your post dialed in. Mastercam cal do Macros # fill in for you, it can do so much with the Vb and Mp that the post uses that it is really up to your imagination what your limits are.

 

Crazy Millman

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