Machsupport Forum

General CNC Chat => Show"N"Tell ( Your Machines) => Topic started by: Mark B on July 24, 2019, 02:33:42 PM

Title: Cnc Id od and thread grinder
Post by: Mark B on July 24, 2019, 02:33:42 PM
Well started on a project to build a small Id od grinder. Almost all the pieces are in and had a few set backs. I'm includingapic of some of the initial electronics.  I'll have some questions soon but wish me luck.
Title: Re: Cnc Id od and thread grinder
Post by: Tweakie.CNC on July 25, 2019, 01:12:52 AM
Hi Mark,

I am looking forward to following your build project - all looks good so far  :)

Tweakie.
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on July 25, 2019, 08:04:23 AM
Just got the cross slide in last night.  Today I'm measuring and designing the adapter plates and mounts and figuring out heights for the main axis.  1 question I am planning on using a stepper for the spindle ( Low rpm)  and a y axis for the thread grinding. Is there a way to config mach that way. 1 time keep turning 2nd move proportionally to the z axis. ( the 2nd I can do with gcode easy enough).
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on July 25, 2019, 08:09:26 AM
100mm linear axis
Title: Re: Cnc Id od and thread grinder
Post by: Tweakie.CNC on July 26, 2019, 01:19:39 AM
Quote
1 question I am planning on using a stepper for the spindle ( Low rpm)  and a y axis for the thread grinding. Is there a way to config mach that way. 1 time keep turning 2nd move proportionally to the z axis. ( the 2nd I can do with gcode easy enough).

I am not sure I fully understand this ?

Tweakie.
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on July 26, 2019, 01:50:39 AM
When I am grinding the od.  I want the steeper to just rotate at a rpm. When i go to grind in the threading want to be able to control rotation like threading on a lathe. Slow rpm and directly proportional to movement in the z axis
Title: Re: Cnc Id od and thread grinder
Post by: Tweakie.CNC on July 26, 2019, 03:00:14 AM
Yes it could be done where the work rotation is essentially a Rotary Axis.

Are you planning on Mach3 or Mach4 ?

Tweakie.
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on July 26, 2019, 03:26:43 AM
Probably 4 seems more adaptable
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on July 29, 2019, 06:43:10 PM
Made the plate to mount the x axis to the z axis.  Had to get metric access for the pillow blocks (linear bearings) damn they cost.  Thank God I'll be able to use imperial feathers for most of the rest.  I'll post a  pic tomorrow. It's still at work right now.
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on August 01, 2019, 08:45:26 AM
Opps just reread it metric screws and imperial threads.  Oh well here is the latest pic. Base plate is next on the list.
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on August 01, 2019, 09:07:36 AM
Can a moderator turn that pic over.  I sent it right side up.
Title: Re: Cnc Id od and thread grinder
Post by: Tweakie.CNC on August 01, 2019, 10:29:38 AM
Looking good (either way up  ;))
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on August 21, 2019, 11:49:44 AM
I have a question for all of you mach pros.  Am i able to define a home, soft limit and hard limit in mach. Soft limit as a stop motion but not a shut down. As an example as I'm trying to home the machine if it hits a soft limit have it turn around and go the other direction to hit the home position.
Title: Re: Cnc Id od and thread grinder
Post by: joeaverage on August 21, 2019, 02:41:13 PM
Hi,
soft limits are effective ONLY AFTER your machine has been homed.

Your description sounds like you want to use a soft limit to turn the axis direction around to find the home switch
ie before the machine is homed. Soft limits are distances from the home position......if the home position is yet to be
defined then the soft limits are likewise undefined.

Craig
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on August 21, 2019, 06:52:17 PM
What about a physical switch?
Title: Re: Cnc Id od and thread grinder
Post by: joeaverage on August 22, 2019, 03:33:39 AM
Hi,
yes a physical switch would work.

How many axes do you need to do this for?

If you put a home switch(es) at or very near to the end of the axis(es) then you would always home in one direction,
there would be no need of extra switches.

Do you use Mach3 or Mach4? I contributed to a thread where a guy had home switches in the middle of his axes and wanted
some means to always home toward the switch. Using Mach4 there is a way to do so, its not all that straight forward but
it does work.

https://www.machsupport.com/forum/index.php?topic=41636.0 (https://www.machsupport.com/forum/index.php?topic=41636.0)

Craig
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on August 22, 2019, 08:09:53 AM
I'm not set on either mach yet.  I would need to do this on 2 axis.  I'm trying to make this as dummy proof as possible.  If all works well it will be a full production machine for untrained operators.
Title: Re: Cnc Id od and thread grinder
Post by: joeaverage on August 22, 2019, 07:27:21 PM
Hi,
then I'd suggest mounting the home switches at or very near the end of the axes then under almost
any circumstance the homing direction will always be toward the home switches...no guessing.....no extra switches....
no tricky coding.

If you are planning to use this widely then you should consider Mach4 over Mach3 as all development of Mach3 ceased six years ago.
Whatever bugs it has it will always have.

Mach4 is, on the other hand, being actively developed. Additionally the structure, API and Lua scripting language offer very distinct
advantages in terms of flexibility and customisation which would be very appropriate if you were considering manufacturing for
non-expert operators.

Craig
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on August 22, 2019, 08:34:32 PM
Ok i kindad felt id  go with mach4 . As for home switches I'm planning on the center axis (X) having the home in the center.  If it moves to far in either direction with a piece on the mandrel  it will crash into the grinding wheels.  I will need the room as it dresses so it could create a problem when the wheels are new.
Title: Re: Cnc Id od and thread grinder
Post by: joeaverage on August 23, 2019, 03:37:54 AM
Hi,
OK you have decided on a central X axis home switch then you need to consider how to do it.

Have you read and digested the method I outlined in the link I posted? In particular you need to thouougly
understand both why and the implications of that method:

Quote
Should it transpire that your machine axes can or have been moved between sessions this method would fail.

The other alternative which I think you must consider is a non-volatile multiturn absolute encoder. I recommend
you look closely at the Delta A3 series servos. They have a 24 bit absolute encoder that apportions its bits into 'so many
revolutions + so many encoder counts within that revolution'. It has a battery backup so when you turn your machine on
you don't have to home it because the machine can 'remember where it is from the last session'. They are the latest and
greatest and aren't cheap.....but you get what you pay for.

Craig
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on September 24, 2019, 06:14:00 PM
New update.  Sorry it's been a while but I finally got most of the mechanical stuff done.  It's at about 90 percent.
As soon as it's all done it will be hell time for me.  Electronics,  software,  limit and home switches.
 
Title: Re: Cnc Id od and thread grinder
Post by: Mark B on September 24, 2019, 06:16:15 PM
Can a moderator please shrink the pic.