851
General Mach Discussion / Re: Double touch when using auto zero. Plate grounded error.
« on: March 12, 2018, 01:07:21 PM »
i guess i mean this code aeria:
Code "G90 G0 Z.500" 'retract Z to .500 inch
Code "G91 G0 Y-.100 X1.0"
Code "G90 G0 Z-.200"
Code "F" &CurrentFeed 'Returns to prior feed rate
While IsMoving ()
Wend
End If
Rem VBScript For probing In the x- direction
If GetOemLed (825)<>0 Then 'May need to use =0 if it errors
Call ProbeGrounded() 'Check to see if the probe is already grounded or faulty
Exit Sub
Else
and specialy here i added a while ismoving() to wait for movement finished before the checking of probe is grounded
Code "G90 G0 Z.500" 'retract Z to .500 inch
Code "G91 G0 Y-.100 X1.0"
Code "G90 G0 Z-.200"
Code "F" &CurrentFeed 'Returns to prior feed rate
While IsMoving ()
Wend
End If
Rem VBScript For probing In the x- direction
If GetOemLed (825)<>0 Then 'May need to use =0 if it errors
Call ProbeGrounded() 'Check to see if the probe is already grounded or faulty
Exit Sub
Else
and specialy here i added a while ismoving() to wait for movement finished before the checking of probe is grounded