Hi,
I have a problem with the "HiddenScript.m1s" script from the "auto tool zero" button .
CurrentFeed = 50
PlateThickness = 1
ProbeFeed = 50
Code "G90 F" &ProbeFeed
If GetOemLed (825)=0 Then
Code "G4 P5"
Code "G31Z-5 F" &ProbeFeed
While IsMoving()
Wend
Code "G4 P0.25"
ZProbePos = GetVar(2002)
Code "G0 Z" &ZProbePos
While IsMoving()
Wend
Call SetDro ( PlateThickness)
Code "G4 P0.5"
Code "G0 Z2.0"
Code "(Z axis is now zeroed)"
Code "F" &CurrentFeed
Else
Code "(Z-Plate is grounded, check connection and try again)"
Exit Sub
End If
Wen I run this script from "Auto tool zero" button in the "Mach3 VB ScriptEditor "
I get this error "Error on line: 11 - Internal error<Code>.
I have tryed many things, but only wen I remove Z-5 its getting through.
Plz help my !!
Stef