Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: jerry74 on April 19, 2011, 07:24:32 PM

Title: Home switches!!
Post by: jerry74 on April 19, 2011, 07:24:32 PM
Hi to all, i got a question!!

All my home switches are working fine and when i hit  Ref ALL HOME works fine also, but what i can do to move the y axis littlebit more far from the home sw when the REF ALL HOME is in process in that axis!


Thanks!!
Title: Re: Home switches!!
Post by: olf20 on April 19, 2011, 09:21:05 PM
I asked that question a few years back and the answer I got was
nothing. Hope some one chimes in and has a suggestion.
olf20 / Bob
Title: Re: Home switches!!
Post by: ger21 on April 19, 2011, 09:41:48 PM
Do you want it to back farther away from the switch after homing?
If so, change the Ref All script to something like this. This will move the Y 1 unit off the switch.

DoButton( 24 )
DoButton( 23 )
Code "G53 G0 Y1"
While IsMoving()
Wend
DoButton(22)
Title: Re: Home switches!!
Post by: olf20 on April 20, 2011, 06:54:08 AM
Thanks Gerry
I knew someone had done this.
olf20 / Bob
Title: Re: Home switches!!
Post by: jerry74 on April 20, 2011, 07:49:40 AM
Thanks Sir!!!

I will try it!!!!
Title: Re: Home switches!!
Post by: Hood on April 20, 2011, 05:11:04 PM
Is there a reason you want to do this?
Hood
Title: Re: Home switches!!
Post by: olf20 on April 20, 2011, 06:50:41 PM
As for me, I have a BP clone and do wood working on it. I want to home the machine,
especially X and have it move off the switch so I have some wiggle room to change
bits etc. Y & Z are no problem for me.
olf20 / Bob
Title: Re: Home switches!!
Post by: Hood on April 20, 2011, 07:12:18 PM
I see, just wondered :)
Hood