Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 07:46:55 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  auto Z setter adjusting
Pages: 1 2 3 »   Go Down
Print
Author Topic: auto Z setter adjusting  (Read 1313 times)
0 Members and 1 Guest are viewing this topic.
BOGIE
Active Member

Offline Offline

Posts: 12


View Profile
« on: June 20, 2010, 04:55:45 AM »

I have noticed that auto z setting is not accurate on our router.  In the near future plans are to to do some engraving so z tolerance. will be very important.  How do I go about correcting this.  Is there a setting that can be adjusted in the program and if so where is it.  We now use a .125 plate and it seems to be off about .0100.  This hasn't been a problem since any work we did was not critical on the Z. Any help would be a blessing, thanks in advance.
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,258


Super Kitty.


View Profile WWW
« Reply #1 on: June 20, 2010, 05:39:29 AM »

Hi Bogie,

There have been many changes to the Auto Tool Zero macro in recent months in the light of problems that were experienced by some users.
My latest version is attached and as it is commented and if you wish to use it you should be able to change the parameters to suit your application. Alternately by comparison you should be able to see where to modify your existing macro to correct for your error.

Hope this helps,

Tweakie.

* ToolZero.zip (0.96 KB - downloaded 127 times.)
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
GeorgeRace
Active Member

Offline Offline

Posts: 52


My Home Built Airplane


View Profile WWW
« Reply #2 on: June 20, 2010, 07:32:44 AM »

Attached is the Z Zero code that I am using.  It automatically detects if you are running Imperial or Metric.  It does a double touch, to assure exact touch point.  It is always accurate within .001 and very repeatable.

Code was originally written by BigTEX with modifications that I added a couple of months or so back.

Also make sure you are using the "locked down" version of Mach3 as well.

One last thing to check.  Under Config/General Configuration I have to make the Debounce Interval and Index both at 5000 or a bit higher to make sure there is no noise being detected which will upset the Z Zero point as well.

Hopefully one of these things will help you overcome your accuracy problem with your Z Touch routine.

George

* Final Z Touch Code.txt (3.58 KB - downloaded 121 times.)
Logged

Check out my home page
http://www.mrrace.com
BOGIE
Active Member

Offline Offline

Posts: 12


View Profile
« Reply #3 on: June 20, 2010, 11:28:46 AM »

How do I use this ?  It seems it is a txt file and I would use it as if it were a G code program file.  Am I correct?
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,258


Super Kitty.


View Profile WWW
« Reply #4 on: June 20, 2010, 11:39:38 AM »

Hi Bogie,

No you are not correct - They are VB code and must be put into the 'Auto Zero Button' on the Mach screen.

Within Mach click:-  Operator / Edit Button Script - (the VB buttons will flash) then click on the Auto Tool Zero button - your macro will be in there and that is where you make the corrections etc (don't forget to save it).

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
BOGIE
Active Member

Offline Offline

Posts: 12


View Profile
« Reply #5 on: June 20, 2010, 11:44:26 AM »

Do I just copy this file to that area and over write what's their.
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,258


Super Kitty.


View Profile WWW
« Reply #6 on: June 20, 2010, 11:50:38 AM »

Hi Bogie,

I suggest you make a copy of what is there already and save it for safety.
Look at my macro and see where the changes have to be made to suite your machine (all units in my macro are metric - change them to inch units if that is what you require). You will certainly want to change the plate thickness.
Then copy and past it into the button - you can always make corrections as you test it but do not use a good cutter for testing just in case things go pear shaped  Wink

Tweakie.

btw. If you post a copy of your existing macro I will look at it and suggest what changes are needed to correct your error.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
GeorgeRace
Active Member

Offline Offline

Posts: 52


My Home Built Airplane


View Profile WWW
« Reply #7 on: June 20, 2010, 11:59:48 AM »

Hi BOGIE:
If you are using my Z Zero routine there is some additional information you need to set your Z Axis height after the touch.

In the code look for "ZNew = Plate Offset + .937  This is in the Imperial section at the top of page.

You will need to change the number .937 to compensate for the touch plate thickness and your new Z height after the touch.

Here is how it works.
My touch plate is .063 thick.  I wanted to withdraw the Z Axis to 1 inch above the work surface.  I subtracted .063 from 1 inch, the result, .937 goes in the line of code.

So to set your final Z height after touch, subtract your touch plate height from the final height you want Z to go to and put that number in the "ZNew" line in the VB Code.

As my routine does both Imperial and Metric in the same routine, for Metric you need to go down further in the program and do the same calculations, using Metric numbers, in place of the "20" shown there now.

Hope this helps,
George
Logged

Check out my home page
http://www.mrrace.com
Greolt
Global Moderator
*
Offline Offline

Posts: 872


View Profile
« Reply #8 on: June 20, 2010, 04:03:47 PM »



 Under Config/General Configuration I have to make the Debounce Interval and Index both at 5000 or a bit higher to make sure there is no noise being detected which will upset the Z Zero point as well.

Just for your info George,

Debounce setting has no direct bearing on the probe input.

Greg
« Last Edit: June 20, 2010, 04:05:37 PM by Greolt » Logged
Ya-Nvr-No
Active Member

Offline Offline

Posts: 268


Scuptris 3D


View Profile
« Reply #9 on: June 20, 2010, 04:42:27 PM »

Does debounce come into use only if he is using a micro switch to detect instead of completing a circuit by shorting an input?
« Last Edit: June 20, 2010, 04:48:05 PM by Ya-Nvr-No » Logged
Pages: 1 2 3 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!