I'm having real trouble with setting the zero tool height.
I have followed a few threads here on machsupport forum and on you tube but still cannot get it to work correct can someone please help.
This is what I have first my breakout board is a HG07 and is wired as instructed with a 250 resistor, with the probe as port 1 pin 12 the E-Stop is on port 1 pin 15, this is as the instruction that came with the board and I have checked this with other instalment instruction that came with my stepper motor drivers.
My Mach 3 setup is in metric ( MM.)
The Machine touch plate is brass which is 0.80mm thick.
I first press enable button script next I press the Auto tool zero, this opens a Hidden script editor window I paste this to the box.
Z zeroing macro by Scott Worden - Timber Lake Creations (and a little "Probe Var" tip from Brian ;-).
CurrentFeed = GetOemDRO(818) 'Get the current feedrate.
PlateThickness = GetUserDRO(1151) 'You could put your z-plate thickness here instead
ProbeFeed = GetUserDRO(1152) 'You could put a probing feedrate here instead.
Code "G90 F" &ProbeFeed
If GetOemLed (825)=0 Then
Code "G4 P5" 'Time to get to the z-plate
Code "G31Z-5 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 Z2.0" 'Change the Z retract height here
Code "(Z axis is now zeroed)"
Code "F" &CurrentFeed
Else
Code "(Z-Plate is grounded, check connection and try again)"
Exit Sub
End If
I save script when the box closes.
when I try to run the auto tool zero I get error no feed speed. and the Z axis vibrates up and down very quick.
I changed the
PlateThickness = GetUserDRO(1151) 'You could put your z-plate thickness here instead
to this PlateThickness = GetUserDRO(0.80) 'You could put your z-plate thickness here instead
and changed the
ProbeFeed = GetUserDRO(1152) 'You could put a probing feedrate here instead.
to this ProbeFeed = GetUserDRO(20) 'You could put a probing feedrate here instead.
Can someone tell me what I'm doing wrong. as This is a large learning curve for me, and I would like to understand it.
also could you please adjust the script to the correct values ie. Plate thickness and speed in metric.