Lathe OD Turning

More
12 Dec 2010 18:06 #5994 by BigJohnT
Replied by BigJohnT on topic Re:OD Turning Subroutine
Well, that didn't work out like I wanted. So I have the g71.ngc subroutine taking in all the parameters and handling the work offsets and all the logic. In the loop it just calls a subroutine called "profile". This can have the actual profile or just call the profile.

John

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

More
12 Dec 2010 22:07 #5997 by Rick G
Replied by Rick G on topic Re:OD Turning Subroutine
John,

I think I have it working calling a numbered file. I will post in the morning after I give it a test.

Rick G

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

More
13 Dec 2010 10:39 #6001 by Rick G
Replied by Rick G on topic Re:OD Turning Subroutine
Morning John,

This seems to work on my machine in demo mode with subroutine calling a numbered file. The numbered file must be a sub also. I need to add safe travel positions and clean things up but I think it is on it's way. I have a busy week at work but will try to work on this later in the week.

Thanks,

Rick

File Attachment:

File Name: od4-5ef9eb...4fed.ngc
File Size:1 KB
Attachments:

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

More
13 Dec 2010 10:40 #6002 by Rick G
Replied by Rick G on topic Re:OD Turning Subroutine
and

File Attachment:

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

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

More
13 Dec 2010 16:38 #6005 by BigJohnT
Replied by BigJohnT on topic Re:OD Turning Subroutine
My internet has been down since last night...

I'll give it a try as soon as I'm done with this job on the lathe.

John

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

More
25 Mar 2012 13:12 - 25 Mar 2012 13:13 #18781 by BigJohnT
Replied by BigJohnT on topic Re:OD Turning Subroutine
Here is the latest version of OD that I'm using.

File Attachment:

File Name: od.ngc
File Size:1 KB


John
Attachments:
Last edit: 25 Mar 2012 13:13 by BigJohnT.

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

More
26 Mar 2012 09:48 #18802 by Rick G
Replied by Rick G on topic Re:OD Turning Subroutine
Hey John,

For someone with a slow connection you are keeping busy.
Looks like this one now combines the rough and slow passes.

Rick G

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

More
26 Mar 2012 10:39 #18804 by BigJohnT
Replied by BigJohnT on topic Re:OD Turning Subroutine
Yes, but I'm not 100% sure it works all the time...

John

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

More
26 Mar 2012 11:53 - 26 Mar 2012 13:33 #18806 by Rick G
Replied by Rick G on topic Re:OD Turning Subroutine
It looks like if the depth of cut and the final diameter come out even it may skip the finish cut?
Perhaps a field with the finish cut depth and add that to the final diameter before running?
Then run the finish cut.

Never mind it looks like it's already there. Maybe it's the new glasses.

Rick G
Last edit: 26 Mar 2012 13:33 by Rick G.

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

More
26 Mar 2012 13:41 - 26 Mar 2012 14:07 #18808 by BigJohnT
Replied by BigJohnT on topic Re:OD Turning Subroutine
I did a complete re-write of the OD sub this morning as there were several mistakes in my logic...

This sub will allow you to specify roughing and finishing tools, depth of cut, feed as well as the normal things needed like OD, final diameter, start Z, end Z. If the finish cut is equal to or deeper than the difference between start diameter and final diameter / 2 then the roughing cuts are simply skipped. The roughing cuts are as close as possible to the specified roughing depth and not deeper but evenly divided up so each cut is the same. The finish cut follows the complete profile left to give a wiping cut on the Z shoulder.

And here it is completely re-written and much better behaved...

File Attachment:

File Name: od-8e11e70...fdcb.ngc
File Size:2 KB


Enjoy
John
Attachments:
Last edit: 26 Mar 2012 14:07 by BigJohnT.

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

Time to create page: 0.188 seconds
Powered by Kunena Forum