Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: Tarak on May 08, 2008, 12:54:24 AM

Title: Homing Routine ....again....
Post by: Tarak on May 08, 2008, 12:54:24 AM
Hi guys,
(Before you ask, yes I did search..........probably not well enough though)
Is it possible to use the homing routine to home at 30% feedrate, then home at 5% feedrate for accuracy?

e.g
DoButton( 22 ) 'Home X at 30% feedrate
DoButton( 24 ) 'Home Z at 30% feedrate
DoButton( 25 ) 'Home A at 30% feedrate

DoButton( 22 ) 'Home X at 5% feedrate
DoButton( 24 ) 'Home Z at 5% feedrate
DoButton( 25 ) 'Home A at 5% feedrate

Thanks
Darc
Title: Re: Homing Routine ....again....
Post by: sunmix on May 08, 2008, 11:07:20 PM
Hi Darc,

Maybe you could find out the homing X and Y position, assign all the position into a variable, add the variable with 5 units, and put is as another variable. You can use G00 to rapid to the position with added  5units , running at a certain feedrate, and G00 to rapid the position with the original position at a slower feedrate.

Here's just an idea I could think of.

Charles
Title: Re: Homing Routine ....again....
Post by: poppabear on May 09, 2008, 09:55:22 PM
can you clarify you question.

Are you asking to home once at 30%, then come off the home "some distance", the rehome the shorter distance at 5%???

Scott
Title: Re: Homing Routine ....again....
Post by: Tarak on May 10, 2008, 07:41:24 PM
Yep, spot on, is it possible?
Darc
Title: Re: Homing Routine ....again....
Post by: poppabear on May 11, 2008, 12:06:12 AM
yes, but you I think you only have two options, one easy, one complex............

easy is using the macro pump to watch for the homing LED to say all axis (anded) are homed, then un-home the machine (there is a button press for it), then using VB parameters for my homing speed, I would have it rehome at the reduced rate, once the homes are re-made, have the Macro pump reset the homing speed back to normal.

Option 2: A plug - in...........

scott