9
« on: July 04, 2017, 01:18:24 PM »
Hi,
I have tried several Macro's in order to achieve auto tool length zero but they always zero the fixture offset zero and not the tool zero. I am putting the various macro's in the vb button Auto Tool Zero (this seems to indicate that it would set the tool length and not the fixture offset). Here is a simple macro i have tried.....
Message( "Auto Zeroing..." )
If IsSuchSignal (22) Then
code "G31 Z-3 F20"
While IsMoving()
Wend
Call SetDRO( 2, .060 )
code "G1 Z1"
End If
Will i need 2 touch plates? All i would like to do is have all the fixture offsets at zero and hit the auto tool zero button and have the length set from machine home (z in the highest position). It would be nice to set the fixture offset to table height and then have positive tool length offsets but I wanted to start with the simple stuff first. What in the above code can i change to set the active tool offset in the tool information window? I may be overthinking it but it seems that i could enter 3 in the tool information window load tool 3 in the spindle and hit auto tool zero and it shoiuld zero tool 3 tool length offset but every macro i have found zero's the z fixture offset that is active. Is this a function of the M31 probe routine?
I am considering buying a screenset from CNC woodworker but i think it works the same way as what i have now.
Thank you in advance,
Matt