Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Jarhead on November 21, 2015, 05:12:39 PM

Title: Auto Tool Zero
Post by: Jarhead on November 21, 2015, 05:12:39 PM
Hello,
I found a few topics on this but nothing with any meaning to me.
Where can I find steps to use the "auto tool zero" button as I used it in Mach3? ie brings the tool down until it touches the plate to set the top of the material.
Title: Re: Auto Tool Zero
Post by: Pedio on November 21, 2015, 11:10:52 PM
I have not been able to make it work. Don't think it is working yet. :'(
Title: Re: Auto Tool Zero
Post by: Jarhead on November 22, 2015, 11:05:03 AM
You don't think 'what' is working yet??
It's my understanding that the button is blank from install, and we need to add our own code to it as we did in Mach3. Is that not correct?
I saw a post on here with code and it said to paste it into the button. My question is how to do we paste it into the button? I can't seem to find a way to do that. Is that what you mean is not working yet?
Title: Re: Auto Tool Zero
Post by: DazTheGas on November 23, 2015, 07:10:18 PM
what version are you using?

Daz
Title: Re: Auto Tool Zero
Post by: Jarhead on November 23, 2015, 09:29:59 PM
Mach4Hobby Installer-4.2.0.2803
Title: Re: Auto Tool Zero
Post by: DazTheGas on November 24, 2015, 03:27:22 AM
The autotool was removed from the main screens in favour of using the probing section, ive just checked and the measure z is working.

Daz
Title: Re: Auto Tool Zero
Post by: Jarhead on November 24, 2015, 08:48:04 AM
What does "was removed" mean?? It's clearly still there.
Title: Re: Auto Tool Zero
Post by: Pedio on November 24, 2015, 11:04:36 AM
The autotool was removed from the main screens in favour of using the probing section, ive just checked and the measure z is working.

Daz

Daz - can you give a step by step on how to get this to work? I can get G31 to work but have never been able to get the Z measure to work. I have the touch plate and it is working according to the machine diagnostics LEDs. I suspect I have something wrong in the set up page but I can't think of what that would be.

This would make my life much easier!
Thanks,
Peter
Title: Re: Auto Tool Zero
Post by: DazTheGas on November 24, 2015, 11:24:20 AM
one of the problems when the default profile is duplicated is that when updates come out you tend to update mach4 core only, if you dont look in the default profile at the changes then some functions could be missing from the startup script or plc, although the modules get updated but theres probably code changed in the buttons. This normally looks to the end user that a function has broken when in fact it has been made to run better.

take the RefHomeAll button - all that is in there now is one call to a function that resides in the startup script.

you would benefit from installing mach4 again into a different directory and running the default profile so you can see the changes, believe me Jarhead there is a better more improved default screen.

As for the topic of updates I am looking into a way of highlighting changes withing the screensets as even myself bypassed some functions and settings that had been added.

As for the autotool i will post my code that i use but wont be till tomoro, im always away on a tuesday and friday night so only have me tablet.

Daz
Title: Re: Auto Tool Zero
Post by: Jarhead on November 24, 2015, 01:57:13 PM
I haven't updated anything. This is the first build of Mach4 I'm using.
Title: Re: Auto Tool Zero
Post by: royce on November 24, 2015, 04:45:54 PM
If you downloaded 4.2.2803 on a fresh install it should have defaulted to wx4.set screen. Judging by your picture it looks like you are using wxMach.set screen. Go to view, load screen, and select wx4.set.
Title: Re: Auto Tool Zero
Post by: bob_at_pmdx on November 25, 2015, 08:38:10 PM
I think he was starting with our sample profile, which still uses the wxMach screen set.  I really need to update our sample profile for the new screen sets.

FYI - to change screen sets, go to the "View" menu and select "Load Screen".  When the file select dialog pops up, change into the "Screens' directory to find all of the screen sets.

Bob
Title: Re: Auto Tool Zero
Post by: Pedio on November 26, 2015, 08:16:12 AM
Bob -  is the wxMach screen set editable by end users? If you use it for the sample profile I don't know if I can even see the scripts or any of the other 'good stuff' you do behind the scenes so I can use it in my profiles.

Title: Re: Auto Tool Zero
Post by: Steve Stallings on November 26, 2015, 09:23:44 AM
The wxMach.set screen set is editable in the usual manner. To start editing, click on

Operator > Edit Screen

One possible point of confusion comes to mind. There is also an executable named
wxMach.exe which is a special version of Mach4Hobby that loads with a fixed screen
set that does not have the Operator > Edit Screen option nor the View > Load Screen
option.

Running the usual Mach4GUI.exe (used by the launcher) and selecting the wxMach.set
screen set is NOT the same thing as running wxMach.exe because wxMach.exe does
not have the editor included. It is unfortunate that "wxMach" could be understood
to mean either.

Title: Re: Auto Tool Zero
Post by: Pedio on November 28, 2015, 09:41:50 AM
Steve - got it. I added the screen set yesterday. Did not get a chance to test the tool change. Will do it next week.

Peter
Title: Re: Auto Tool Zero
Post by: ChrisM on December 05, 2015, 09:55:44 AM
Peter,

Do you have an update on this?  I think I'm having about the same issue as you.  I have configured what I thought needed to be configured but the buttons are not kicking off any code to run the zero'ing script.  Did you have to make any screen edits, etc. to get it to work?

Chris...

Steve - got it. I added the screen set yesterday. Did not get a chance to test the tool change. Will do it next week.

Peter
Title: Re: Auto Tool Zero
Post by: Pedio on December 13, 2015, 09:59:08 PM
Check out the other auto tool zero thread. It worked for me.