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:

Translating drilled hole 3 times posting a sub routine for each hole


DC CNC
 Share

Recommended Posts

I'm translating a simple drilled hole 3 times. I want the main program to call location and 1 subroutine to drill the hole. When I post it I get the main with 3 subroutine P1 thru P3 and the subs O1 thru O3 . I just need it to post one sub for all 3. Is this something in the post or the machine/control def?

Link to comment
Share on other sites

check the Incremental button.

 
( 1/8 DRILL )
(TOOL NO. 1)
(TOOL DIA. .125)
(LEN. OFFSET 1)
(DIA. OFFSET 41)
 
 
N1G17G98G40G49G80G90
N2G0X0.Y7.
N3T1M6
N4S2139M3
N5G0G90G54X0.Y0.B0.
N6G43H1Z4.
N7M08
N8M98P0001
N13G90X1.
N14M98P0001
N19G90X2.
N20M98P0001
N25G90X3.
N26M98P0001
N31G90X4.
N32M98P0001
N37M09
N38G0G28G53G49Z0.M19
N39G90X0.Y7.
N40M30
 
O0001
N9G91
N10G83Z-4.R-3.9Q.06F4.11
N11G80
N12M99
%
 

Untitled.png

  • Like 1
Link to comment
Share on other sites
58 minutes ago, DC CNC said:

We've decided to use multiple work offsets but would like to only post one subroutine for each operation. There are several profile ops besides the drilling. Can this be done in absolute?

Will need to get a hold of your dealer since you are going off in Custom Posting land. They way the logic is written and how it also work with Mp.dll just not sure there is an easy method to handle it with absolute. Maybe Colin or someone else will come along and teach us there is a simple method, but I am not knowledgeable enough to make such a claim there is.

Link to comment
Share on other sites
On 5/4/2022 at 9:49 AM, DC CNC said:

We've decided to use multiple work offsets but would like to only post one subroutine for each operation. There are several profile ops besides the drilling. Can this be done in absolute?

I do that every day but that is a lot of post work. The trick is to use routers for each type of process.

Link to comment
Share on other sites

This is our routers list for our Kurt clustertowers running up to eight parts in each pallet. The probing has to have different subprograms because you can't rotate the probing toolpaths but it's one toolpath sub for each of the other different paths and the router will do the work offsets, rotations and check if the next particular fixture is turned on. If the fixture turned off the router will check the next one in line.

1. CLUSTER VISES 8 PARTS

 11. CLUSTER VISES 8 PARTS (5001~5007)

 12. CLUSTER VISES 8 PARTS WITH PART INVERT MACRO (5001~5007)

 13. CLUSTER VISES 8 PARTS WITH PARTS SAME POSITION TWO DIFFERENT JAWS WITH TWO  PART OPERATION (5001~5007)

 14. CLUSTER VISES 8 PARTS RUNNING FOUR PARTS AT 0 AND 180 DEGREE (5001~5007)

 15. CLUSTER VISES SYSTEM 11 PALLET A (5001~5007), SYSTEM 34 PALLET B (5301~5307)

 16. CLUSTER VISES 8 PARTS RUNNING FOUR PARTS AT 0 AND 180 DEGREE WITH PART INVERT MACRO (5001~5007)

 17.CLUSTER VISES 8 PARTS WITH RUNNING FOUR PARTS AT 0 AND 180 DEGREE TWO DIFFERENT JAWS WITH TWO PART OPERATION (5001~5007)

 

 

Link to comment
Share on other sites
7 minutes ago, DC CNC said:

So if I understand this correctly the post must be modified to do this. I'm not clear on the "router" and how that works.

 

Heavy modification. Our post has 10,542 lines without including the XML crap (19,445 lines with it) but we have five machines and 39 routing systems. All five machines use the same routers. But once the work is done the programming time is significantly reduced.

 

  • Like 1
Link to comment
Share on other sites
35 minutes ago, DC CNC said:

So if I understand this correctly the post must be modified to do this. I'm not clear on the "router" and how that works.

On 5/4/2022 at 7:49 AM, crazy^millman said:

Will need to get a hold of your dealer since you are going off in Custom Posting land. They way the logic is written and how it also work with Mp.dll just not sure there is an easy method to handle it with absolute. Maybe Colin or someone else will come along and teach us there is a simple method, but I am not knowledgeable enough to make such a claim there is.

Not to repeat myself, but yes the post must be modified and you should get a hold of your dealer. Tim is an experience Post person and has helped me with different issues over the last 18+ years on the forum. I imagine it took well over 40-60 hours of work to dial this in with his years of experience. You are more than welcome to download the MP documentation and learn. I am never trying to stop someone from learning, but if my back is against the wall and I can get help I have learned that is faster and cheaper in the long run.

Link to comment
Share on other sites
45 minutes ago, DC CNC said:

Thanks for the replies. Looks like we have our work cut out for us.

As you try things and get stuck post them up with a sample file in the Post section of the forum and plenty of people will be glad to help. Make a sample file and share your work and when people see your trying they willing to help those helping themselves.

  • Like 1
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...