Auto Tool Zero weird behavior with ToolTable , need help please !
Hello group , i worked on my ATC setup and managed to setup a script i been able to get from a Youtube guy Bo Anderson
The script takes all the tools in the rack and goes measure them at a fixed plate and enters the values to the ToolTable .
Now when i try to zero the tool to the work surface with the Auto Tool Zero button ( i tried 3 different scripts in the button) it reads the zero of the surface + plate thickness and shows on the DRO ( its fine yes but...) , but then goes up on the Z to the Tool Lenght value in the ToolTable and then the DRO shows the tool lenght value over the zero so i would need to go down to the zero manually and click to zero the Z at the DRO ....
There must be a little thing i didnt found yet in the Mach3 settings or i would need a Zero script made for this .... not adding the tool lenght over the zero but i have no clue of what we should write in the script....
i would appreciate some quick help !
Thanks
Re: Auto Tool Zero weird behavior with ToolTable , need help please !
I tried adding G49 to the Autozero script to cancel the tool offset , it works for the first tool to keep the work surface Zero to zero but when it changes the tool thru M6Tx it raises the second tool from zero to his lenght in the ToolTable
When i manually zero the first tool and Zero the Z-axis DRO button all the other tools are following the ToolTable lenghts and they all are zeroed on the work surface but i would love to set the Zero with the touch plate like all the time
Could i add to the script something that would tell to the DRO to not add the tool lenght? or at the end of the script to remove it ?
a way to use the ToolTable values and if Tool2 is on while zeroing , remove Tool1 length from the DRO
if Tool3 is on while zeroing , remove Tool3 length from the DRO
if Tool4 is on while zeroing , remove Tool4 length from the DRO
if Tool5 is on while zeroing , remove Tool5 length from the DRO or something .... i am not a superb programmer !!!!
//Code "G49" 'Tool Ofsetts Off ================== G49 worked for the first Tool zeroing but next tool is adding his length to the DRO zero when ATC changed
CurrentFeed = GetOemDRO(818) 'Get the current feedrate.
PlateThickness = 10
ProbeFeed = 50
Code "G90 F" &ProbeFeed
While IsMoving()
Wend
If GetOemLed (825)=0 Then
Code "G4 P3" 'Time to get to the z-plate
Code "G31Z-50 F" &ProbeFeed
While IsMoving()
Wend
Code "G4 P0.25"
ZProbePos = GetVar(2002)
Code "G0 Z" &ZProbePos
While IsMoving ()
Wend
Call SetDro (2, PlateThickness)
Code "G4 P0.5" 'Pause for Dro to update.
Code "G0 Z10" 'Change the Z retract height here
While IsMoving()
Wend
Code "(Z axis is now zeroed)"
Code "F" &CurrentFeed
//code "G43"
//Code "G43H1"
//Code "G43H2"
//Code "G43H3"
//Code "G43H4" ========================G43 didnt helped , it is to restore the ToolTable values
//Code "G43H5"
//Code "G43H6"
//Code "G43H7"
//Code "G43H8"
Else
Code "(Z-Plate is grounded, check connection and try again)"
Exit Sub
End If
Re: Auto Tool Zero weird behavior with ToolTable , need help please !
here it is the script i am using , presented by the creator
https://youtu.be/duULYFBjDnk
and here the video of his machine doing the script
https://youtu.be/SLq_s0FQ-SA