M291 S3 in homez.g results in error messages
-
@mikeabuilder said in M291 S3 in homez.g results in error messages:
I added an M291 S3 (blocking, wait for response) in my homez.g so the user can ensure there is metal under the z-probe before proceeding. I tested this new homez.g as a macro and it worked without obvious errors. When I put the file in the sys folder and use the HOME Z button on the web interface, I get two error messages - One says M28 failed, the other says M292 failed.
Are you issuing the M292?
I have a blocking M291 in several places (but not in any homing code) and they all work fine.
Frederick
-
I can confirm I'm getting this same behavior. The
homez.g
file is really simple. I'm runningRepRapFirmware for Duet 3 Mini 5+ version 3.3 (2021-06-15 21:46:11) running on Duet 3 Mini5plus WiFi (standalone mode)
.; homez.g M291 P"Click OK when touch probe is ready to home Z" R"Home Z" S3 X1Y1 G90 ; absolute coordinates G30 ; probe z
My Z probe is setup like this in
config.g
:M558 K0 P5 C"^!io4.in" H5 F100 T6000 ; set Z probe 0 to digital switch type, invert and enable pullup resistor G31 P900 X0 Y0 Z0.5 ; set Z probe trigger value, offset and trigger height
After pressing
HOME Z
on the web interface, theG30
command executes and probes my metal touch probe properly andHOME Z
turns blue. After it turns blue, two messages pop up withM292 Error: Homing failed
and
G28 Z Error: Homing failed
-
@elbgrd said in M291 S3 in homez.g results in error messages:
K0
If you only have a single probe, delete the K0 part of your M558 and try again.
-
Deleted, rebooted, and still get the error messages.
-
@phaedrux Any other ideas?
-
Under investigation as a possible bug.
-
@mikeabuilder and @elbgrd , please specify whether you are running in standalone mode or SBC mode, because that might make a difference. @mikeabuilder, please also tell us what firmware version you are using.
-
@dc42 Standalone mode.
-
@dc42
I have the exact same problem running a 3 mini on 3.3 in SBC mode. -
Any updates on this?
-
@benecito Not as of yet.
-
@phaedrux But from the above I take it is not supposed to be like that? So I can expect a future update to fix this? Or do I need to look for another way to work my way trough homing?
-
@benecito In the meantime you may need to seek a workaround yes, but hopefully not forever.
-
@dc42 - So sorry for starting this thread then going silent. I thought I had it set to email me when there were replies (newbie error).
I'm running a Duet2 clone board and have the RR3.3 firmware running. I'm not near the machine now so I can't look for a more detailed version number, but I downloaded mine at the end of June.
My homez.g is attached and you'll see I don't have an M292 in it, just the M291. homez.g Apologies fr the extraneous comment lines at the end. They are a leftover from the file when I inherited it.
And I'm running standalone. And I've tried this with web control and also PanelDue. I get the error messages on both.