Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: lamartinada on October 12, 2013, 09:07:20 AM

Title: Edit Script Ref All Home
Post by: lamartinada on October 12, 2013, 09:07:20 AM
Hi. I'm trying to use the "Ref All Home" in Mach3 but I can not get results. When I edit the script button I have this:

DoButton (24)
DoButton (23)
DoButton (22)

The problem is that when I press the button once I saved changes and rebooted Mach3 script, the three boxes of DRO are illuminated in green, but the machine does not move until the limit switches.
What I want is that Mach3 references first the X axis to the limit and then go back home X amount (about 1/2 inch) to disable the limit switch (and reset X DRO to zero), then do the same for the Y axis and finally in the Z
Can anyone help me?

Thank you very much to everyone in advance.
Title: Re: Edit Script Ref All Home
Post by: ger21 on October 12, 2013, 11:35:52 AM
Is sounds like you don't have your Home switches enabled in Ports and Pins.
Title: Re: Edit Script Ref All Home
Post by: lamartinada on October 12, 2013, 11:44:17 AM
Right now I just get that with individual buttons referencing each axis machine. Now, what can I do to make the button "Ref All Home" do what I suggest in the post?