Hello Guys,
I have problems with Mach3 and Probing with my Pokeys 57E
When I run the Code/Script in Mach3 via debugger step by step, everything works super fine.
But when I run the buttonscript normal, one of the axis, or all together fail.
By failing I mean, that the axis behaves like it got probing contact way before touching the workpiece.
mach 3 probe error - overrun: limit (1378410135 -1613) 7 and so on...
My setup:
Probing Pin = Pin19 (1k Ohm pullup resistor)
Probing Pin is positiv and is connected to my workpiece (1m copper wire).
The Endmill has contact to ground throught the hole machine.
The plugin shows perfectly that if I touch the workpiece the LED in the IO-Monitor goes off.
Mach3 version: R3.043.066
Pokeys: newest Firmaware
Script for XYZ Left corner:
Sub Main()
SetOEMDRO(800, 0.0000)
SetOEMDRO(801, 0.0000)
SetOEMDRO(802, 0.0000)
Sleep 500
code "G0 Z15 F200"
code "G0 X10"
code "G0 Y10"
code "G0 Z0 F150"
If IsSuchSignal (22) Then
code "G31 Z-15 F50"
While IsMoving()
Wend
SetOEMDRO(802, 0.0000)
Sleep 500
code "G0 Z15 F200"
code "G0 X-8"
code "G0 Z-4 F100"
End If
If IsSuchSignal (22) Then
code "G31 X10 F50"
While IsMoving()
Wend
SetOEMDRO(802, -3)
Sleep 500
code "G0 X-10 F200"
code "G0 Y-8"
code "G0 X10"
End If
If IsSuchSignal (22) Then
code "G31 Y10 F50"
While IsMoving()
Wend
SetOEMDRO(802, -3)
Sleep 500
code "G0 Y-10 F200"
code "G0 Z10"
code "G0 X0"
code "G0 Y0"
End If
End Sub
Can someone help me?
Is it the Input-pin or is it the plugin or Pokeys, or mach3?
Its totaly random which axis fails...sometimes all...very rare, all axis work.
The error Code is:
mach 3 probe error - overrun: limit (1378410135 -1613) 7 and so on...
Thanks for yout time and help.
Cheers Lukas