Jeff, thanks for the quick responses. I figured out all the issues. I found a script that makes Auto Tool Zero work perfectly with Ver .032, SmoothStepper and the G540. I also remembered where the jog speed settings were "hiding" early this morning. Thanks again for the great driver! And the external spindle relay. Your products are FIRST RATE! Here is the VB script for a good, reliable Auto Tool Zero, but with three notes: 1) Add your Z plate/probe height to the distance you want to retract and enter that value in the "change the Z retract height" line 2) This works for the standard Mach screen, I don't know if it will work with any others 3) Input High or Low muxt be correct for the style of plate/probe being used - if not correct, you won't get past the "Z plate is already grounded" error message
CurrentFeed = GetOemDRO(818) 'Get the current feedrate.
PlateThickness =2.040
If GetOemLed (825)=0 Then
DoOEMButton (1010)
Code "G4 P3" 'Time to get to the z-plate, 3 seconds
Code "G90 G31 Z-2 F4" ' probing move, can set the feed rate here as well as how far to move
While IsMoving()
Wend
ZProbePos = GetVar(2002)
Code "G1 Z" &ZProbePos
While IsMoving ()
Wend
Call SetDro (2, PlateThickness)
Sleep(120)
Code "G0 Z2.785" 'Change the Z retract height here to what you want, must be higher than touch plate
Code "(Z axis is now zeroed)"
Code "F" &CurrentFeed 'returns to prior feedrate
Else
Code "(Z-Plate is grounded, check connection and try again)"
End If
Exit Sub