Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: mikemill on August 25, 2009, 08:49:54 AM

Title: Go To Zero
Post by: mikemill on August 25, 2009, 08:49:54 AM
When I push the go to zero button on the program run screen, the X axis of my SX3 mill dosen't go all the way back I have to push twice to home it.
Anyone got an idea whats causeing problem and hopfully a fix? other axis home.
Thanks
Mike
Title: Re: Go To Zero
Post by: HimyKabibble on August 25, 2009, 09:05:27 AM
GoToZero does not "home" the machine, it simply sends all axes to work coordinates 0.0000.  RefAllHome homes the machine.

Regards,
Ray L.
Title: Re: Go To Zero
Post by: mikemill on August 25, 2009, 01:57:39 PM
OK Ray incorrect terminology I am not trying to ' home' but return to zero but do you have a fix for the problem.
Mike
Title: Re: Go To Zero
Post by: Hood on August 25, 2009, 03:01:56 PM
Are you using the standard screenset? What version of Mach?

Hood
Title: Re: Go To Zero
Post by: budman68 on August 25, 2009, 03:33:26 PM
Just a quick question on this subject if that's ok? Why does one use this function? Don't most (not all) use the top surface as Z zero? Why would you want to have everything go to zero if that's going to bring the cutter down to the surface?

Unless this is just another option that was included just to accomodate those who actually zero above the surface in work coords?

Thanks,
Dave
Title: Re: Go To Zero
Post by: Hood on August 25, 2009, 03:51:41 PM
Theoretically if you go to zero it should not do any harm as the cutter should stop exactly at the surface, in practice it not be that way ;D

I have a knee mill so I use this all the time, if I change/replace a tool I wind the knee down press Go to Zero then crank the knee up to touch off.

Hood
Title: Re: Go To Zero
Post by: budman68 on August 25, 2009, 04:25:53 PM
Ok, understood but why not use a macro or a G28 to set it up so that when you do a toolchange, the spindle goes up to a certain area and makes it easier for you? I use a G28 command and set it up in the config so the Z goes about .500" away from my upper home switch and then the table get's out of the way as well.

Wouldn't this make more sense? I m sure there's a reason and that's why I'm asking  ;)

Or is this one of those "6 one way, half a dozen another way",  things?  :D

Thanks,
Dave
Title: Re: Go To Zero
Post by: Hood on August 25, 2009, 04:38:46 PM
On a knee mill I dont bother setting up tool offsets in the table, much easier just to crank the knee. Same if you snap a tool or a tool goes blunt, just crank the knee down half a turn, press Go to Zero and then move knee up to touch the cutter.

With a bedmill its different scenario so that is likely why you dont use or see a need for it :)
Hood
Title: Re: Go To Zero
Post by: budman68 on August 25, 2009, 04:46:18 PM
Actually I use a bridgeport quite regularly but not a CNC version so I can understand where you're coming from -  ;)

Thanks as always, Hood-
Dave
Title: Re: Go To Zero
Post by: Hood on August 25, 2009, 05:38:00 PM
I also have a toolchange button that will move X Y and Z to a predetermined position but I never use that, one of these things that I thought I would always use but never have done :D Suppose everyone works differently and the great thing about Mach is you can set things up the way you want :)
 Hood
Title: Re: Go To Zero
Post by: mikemill on August 26, 2009, 04:15:14 AM
Hood
I am using Mach 3 standard screen, regarding Dave's post if you use a mill in semi manual mode i.e. making a couple of cuts, rather than writing lots a G code GoTo Zero is usefull especialy when setting the job up.
Mike
Title: Re: Go To Zero
Post by: Hood on August 26, 2009, 04:32:05 AM
please attach your xml


Hood
Title: Re: Go To Zero
Post by: mikemill on August 26, 2009, 08:33:47 AM
xml as rquested
Title: Re: Go To Zero
Post by: Hood on August 26, 2009, 08:43:48 AM
xml looks fine apart from your kernel speed is set to 25KHz and your motor tuning requires more so probably best to either change the velocity or change to 45KHz kernel, the latter probably the preferred.

Go to the operator menu and choose Edit Button Script and you should see the Ref All button flashing, click on it and copy the info in there and post here.

Hood
Title: Re: Go To Zero
Post by: mikemill on August 26, 2009, 11:54:36 AM
Hood
Here is info you requested
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )

Where do I find kernal speed box? looked in general settings
Thanks
Mike
Title: Re: Go To Zero
Post by: Hood on August 26, 2009, 12:05:47 PM
Ports and Pins main page for the kernel.

Your button code is fine so thats not the problem.

Hood
Title: Re: Go To Zero
Post by: mikemill on August 27, 2009, 03:47:18 AM
Hood
Thanks for fix, all is well
Mike
Title: Re: Go To Zero
Post by: Hood on August 27, 2009, 09:14:08 AM
Good to hear it, wasnt sure if that would cause your issues or not, the normal problem with that is rapid moves would be jerky I think.
Hood