I have downloaded some files for edge finder which after a little works does work, what I would like is for the probe to back off 5-10 mm when it has found the edge; below is the script I use and would be grateful for ang suggestions. Cheers Tony
Rem VBScript To probe bottom edge
If GetOemLed (825) NE 0 Then 'Check to see if the probe is already grounded or faulty
Code "(Probe plate is grounded, check connection and try again)"
Else
FeedCurrent = GetOemDRO(818) 'Get the current settings
XCurrent = GetDro(0)
Current = GetDro(1)
Code "G4 P1" 'Pause 1 second to give time to position probe plate
Code "F100" 'slow feed rate to 100 mmpm
Rem Probe up
YNew = YCurrent + 75
Code "G31 Y" &YNew
While IsMoving()
Wend
Code "F" &FeedCurrent 'restore starting feed rate
Call SetDro (1,Abs(getoemdro(1000))/(-2))
End If
Rem End of To probe bottom edge script.