Milling multiple copies

More
18 Mar 2011 09:53 #7914 by Rick G
Now that we have the ngcgui as a tab in AXIS it is just so easy to run sub programs that we are using them more and more.

Often we have a completed ngc file for a part we machine and it works fine...if we need just one, however sometimes we need multiple copies of the same parts and we have large enough stock to machine several.
The concept of this untested sub is to take that part and duplicate it as many times as necessary in what ever direction you wish using the ngcgui.
This was set up for XYZ machine such as a mill/router/plasma.
In order to avoid error with G10 command G40 is used before G10.
Tool offset should be O.K. but will need to be applied in the part file.


With this sub you should be able to take your existing part file and duplicate it.

You can select:
What file to run.
Where to start the first copy.
How many copies.
The distance between and direction of the copies.
Where the machine should park when done.


To try just make your part file a sub by..

Name the part file with a numerical name (say 501.ngc)
Make the file a sub by adding

o<filename> sub
to the beginning

and adding

o<filename> endsub
to the end.

Be sure to have all files in the correct directory.

For example the file 501.ngc is

o<501> sub
F20
g0 x0y0
g1 z-.125
g1 x1.5
g1 y-1.5
g1 x0
g1 y0
g0 z.025
g0 x1.5
g1 z-.125
g1 x0 y-1.5
g0 z.025
o<501> endsub

Because ngcgui allows you to string several subs together before you finalize you should be able to set up several rows and columns of the part.
Again this is untested and you will probably only want to use this as a starting point to fit your needs.
You probably need at least EMC 2.4 or later.

Rick G

File Attachment:

File Name: millmultiple.ngc
File Size:1 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
18 Mar 2011 09:54 #7915 by Rick G
Replied by Rick G on topic Re:Milling multiple copies
501 sample file

File Attachment:

File Name: 501.ngc
File Size:0 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
18 Mar 2011 12:15 #7917 by BigJohnT
Replied by BigJohnT on topic Re:Milling multiple copies
Hi Rick,

This is pretty cool. I never would have thought that ngcgui would be so powerful... I love it on my lathe. I can't wait to get my BP Series 1 over to my new shop and convert it to EMC.

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum