231
General Mach Discussion / Re: Alternatives to Mach3
« on: May 05, 2022, 02:02:07 AM »
you may also have look at estlcam.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Code ("G53 G1 X" &GetOEMDro(1200) &" Z" &GetOEMDro(1201) &" F123")
Code ("G1 X" &GetOEMDro(1200) &" Z" &GetOEMDro(1201) &" F123")
If GetOemLed (825)=0 Then 'Check to see if the probe is already grounded or faulty
Message("starting z-probe at z: " &GetDro(2))
Sleep(200)
DoOEMButton (1010) 'zero the Z axis so the probe move will start from here
Code "G90 G31 Z-50 F50" 'probing move, can set the feed rate here as well as how far to move
While IsMoving() 'wait while it happens
Wend
Sleep(200)
Message("z-Position after probe: " &GetDro(2))
Sleep(200)
Message("probe input after probe: " &GetOemLed(805))
Sleep(200)
If GetOemLed (825)=1 Then 'Check to see if the probe is hit
Call SetDro (2, 5) 'set the Z axis DRO to whatever is set as plate thickness
Sleep(200) 'pause for Dro update.
Code "G1 Z10 F500" 'put the Z retract height you want here
Code "(Z axis is now zeroed)" 'puts this message in the status bar
Else
MSGBox "probe not hit !"
Exit Sub
End If
Else
Code "(Z-Plate is grounded, check connection and try again)" 'this goes in the status bar if aplicable
Exit Sub
End If