RRF3RC1 - M585 probe does not stop when switch closes
-
There are a couple of other threads on this; I created this new one to ask a focused question:
**M585 in RRF3RC1 does not appear to stop when the switch closes. ** @DC42 is this a known limitation that will be fixed in the future? Or a bug.
I have a printer where I've wired a touch probe to io3.in. If I declare that to be the low endstop on the Z axis, and G0 H3 probe, it stops on contact. This proves that the physical wiring, io port, etc, etc are all working fine.
Same switch defined as probe K1, it appears to define with no error and a M558 K1 (with no other parameters) does correctly shows that definition. However, an M585 P1 does not stop when contact occurs.
-
M558 K1 P8 F60 C"!^io3.in" G31 K1 P100 ; required for triggering with 3.0-b12 ... M585 Z50 F120 S1 P1 G10 P1 X0 Y0 Z0 ; probing is using T1, reset tool offsets to set WCS offsets G10 P1 L20 Z0
Works here as as intended on a Duet 3 controlled CNC to set WCS.
-
@jannau said in RRF3RC1 - M585 probe does not stop when switch closes:
M558 K1 P8 F60 C"!^io3.in" G31 K1 P100 ; required for triggering with 3.0-b12 ... M585 Z50 F120 S1 P1 G10 P1 X0 Y0 Z0 ; probing is using T1, reset tool offsets to set WCS offsets G10 P1 L20 Z0
Works here as as intended on a Duet 3 controlled CNC to set WCS.
Interesting. Perhaps the G31 is the difference. I will give that a try!
-
Yes, that G31
makes all the difference in the world. I have now had successful probes, and they correctly set G10 offsets. Yay! -
Spoke too soon. It is NOT stopping. The limits I put on the M585 made me think it was. It is going several MM past contact. Again, all hardware/wiring proven good because an G1 H3 (with this same wire defined as an endstop) stops.
Probe definition: M558 K1 P5 C"!io4.in"
Preposition: G1 Z10
Probe command: M585 Z-10 F120 S1 P1Interestingly enough, the M585 DOES set a G10 offset: Tool 0 offsets: X0.00 Y0.00 Z0.39 U0.00
I'm not real sure why that's .39, but it is very consistent!Anyway, it does not stop when contact occurs.
@jannau I take it you are running in CNC mode at the instant the probe occurs? I may try that as well.
-
@Danal said in RRF3RC1 - M585 probe does not stop when switch closes:
@jannau I take it you are running in CNC mode at the instant the probe occurs? I may try that as well.
yes, I'm using CNC mode. I just tested with aluminium foil that the probe move stops on contact.
G31 K1
(in my case for probe 1) was helpful to debug the probe behavior.I guess in your case the probe move is stopped by the machine limits or endstop and the tool offset is consistently set to 0.39 due to the Z trigger height of the probe.
G31 K1
displays the Z trigger height.G38.x might be another option for probing. It currently doesn't respect relative positioning. It is annoying for probing a work coordinate system but for probing tool offsets at known machine coordinates it should be less of a problem.
-
@jannau Thank you ! I will think about everything you said, and give several things a try.
Thank you!