Problem with m291
-
Hey guys,
I'm having trouble using the m291 command.My setup is a Duet 3 6HC + a Duet 3HC expansion shield and a RPI setup as a SBC.
I'd like to run the following macro, but when the message shows up and I click ok the code after the m291 command is not executed. The message then goes away but the printer says it's busy. The same happens when I click cancel.
if !move.axes[0].homed || !move.axes[1].homed || !move.axes[2].homed G28 G1 Z350 F4000 M291 P"The bed will home next. Remove all object from the bed!" R"Warning" S3 G1 Z 300 M98 P"homew.g"
-
There have been some fixes to M291+SBC in RRF/DSF 3.2beta. @chrishamm has the details.
-
How does one go about updating the Duet 3 with a SBC to beta software? The getting started page does not mention anything about that.
-
@schpongo said in Problem with m291:
How does one go about updating the Duet 3 with a SBC to beta software? The getting started page does not mention anything about that.
-
Thanks for the quick reply, before I do that, I would also like to know what I need to do to go back to the stable branches?
-
same thing just replace
unstable
withstable
on the first line.(presumably you can skip line #4 but it won't hurt either)
-
Thanks for the quick answer.
-
M291 did not work well before RRF 3.1 so I presume you're still on an old firmware/DSF version. Please update your Duet as described here: https://duet3d.dozuki.com/Wiki/SBC_Setup_for_Duet_3#Section_Connecting_via_SSH
@dc42 The M291 fixes from 3.2-b1 only affect PanelDue in SBC mode.
-
@chrishamm Hmm.. I'm actually on 3.1.1. I did not yet do the update to the beta Version. Might there be something else that I'm doing wrong?
-
I'm still on 3.1.1 and I'm still having issues with the the M291 command. Here is the macro I'm trying to run:
; ToDo check Temp of bed and nozzle, so both are cold ; Cancel any currently active mesh compensation M561 ; Set z-probe trigger height to 0 G31 Z0 G1 X0 Y0 Z200 F6000 M291 P"Move to point were the z probe shall be calibrated." X1 Y1 S2 M291 P"Get a 0.1 mm thick metal spacer" S2 while iterations <= 5 G1 Z50 M291 P"Remove the z probe sensor if it is already or still attached" S2 G1 Z5 M291 P"Move FFF nozzle down until it just grabs a 0.1 mm thick metal spacer and then remove it." Z1 S2 G92 Z0.1 G1 Z50 M291 P"Attach the z probe" S2 G30 S-1 M291 P"Now calculate the average of the test. The average is the z probe trigger height for that point. Set it the config.g with G31 Z{ave} " S2
After I click OK from the first M291 in line 7 the machine just stays busy and the second window does not open.