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:

A unique way to program


Recommended Posts

Where to even start?

How much of this could I get MasterCAM to spit out?

Is there a way to turn everything after a tool change into a sub-program?

This is kind of a side project to see if I can actually do it, so no rush but any help would be appreciated.

 

:1000( PART PROGRAM )

M68

M98P6100 (call offsets) 

M98P8061 (call tool comp)

N1 (used for quick find of operation)

M6T1 (call up tool)

M1

(ENDMILL)

G54P1

M98P2010 (sub program = t#*10+2000 and +1 at each operation[the second time that tool is called would be 2011])

M6T1 (Recall first tool)

M9

G91G30Y0Z0M19 (go home)

M30

 

:2010( ENDMILL )

G0G90X.225Y0.001

G43H1Z2.S6800M13 (m13 = M3+ M9)

Z.1

G1Z-0.06F48.

X-5.5

G0Z2.

M1

M99 (end sub program)

 

:6100( VISE OFFSET PROGRAM )

G10G90L2P1X0.000Y0.000Z0.000( FIXTURE OFFSET - G54 )

M99

 

:8061( TOOL OFFSET PROGRAM )

G10G90L11P1R-0.000( 1/4 ENDMILL )

M99

Link to comment
Share on other sites

Unless you have an issue with memory capacity, or using the sub in many different programs, you may want to avoid this.  I find it better to have everything in one program, that way you are not populating the directory with a maze of program numbers to keep track of.  However, I do use sub programs from time to time.  And, on big files, dataserver.

  • Like 1
Link to comment
Share on other sites

I got the post to work perfectly.

 

 

Unless you have an issue with memory capacity, or using the sub in many different programs, you may want to avoid this.  I find it better to have everything in one program, that way you are not populating the directory with a maze of program numbers to keep track of.  However, I do use sub programs from time to time.  And, on big files, dataserver.

 

 

I have made comments to the company about the way they do things. This is the way they want to do it.

Link to comment
Share on other sites

Unless you have an issue with memory capacity, or using the sub in many different programs, you may want to avoid this.  I find it better to have everything in one program, that way you are not populating the directory with a maze of program numbers to keep track of.  However, I do use sub programs from time to time.  And, on big files, dataserver.

All of my programs have from 5 to 80 subs. I find it much less complicated to just program one part and let router subprograms dictate when to call up tool path subprograms as they are needed for however many parts are needed per cycle. I understand this process isn't for everyone but it does fit us very well.

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