Hello Guest it is March 28, 2024, 08:15:25 PM

Author Topic: Edit Script Ref All Home  (Read 4028 times)

0 Members and 1 Guest are viewing this topic.

Edit Script Ref All Home
« 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.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Edit Script Ref All Home
« Reply #1 on: October 12, 2013, 11:35:52 AM »
Is sounds like you don't have your Home switches enabled in Ports and Pins.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Edit Script Ref All Home
« Reply #2 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?