• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Problem with m291

Scheduled Pinned Locked Moved
Gcode meta commands
4
10
540
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    schpongo
    last edited by 18 Sept 2020, 13:17

    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"
    
    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 18 Sept 2020, 14:05

      There have been some fixes to M291+SBC in RRF/DSF 3.2beta. @chrishamm has the details.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        schpongo
        last edited by 18 Sept 2020, 14:53

        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.

        ? 1 Reply Last reply 18 Sept 2020, 14:55 Reply Quote 0
        • ?
          A Former User @schpongo
          last edited by 18 Sept 2020, 14:55

          @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.

          https://forum.duet3d.com/post/178813

          1 Reply Last reply Reply Quote 0
          • undefined
            schpongo
            last edited by 18 Sept 2020, 15:00

            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?

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by 18 Sept 2020, 15:07

              same thing just replace unstable with stable on the first line.

              (presumably you can skip line #4 but it won't hurt either)

              1 Reply Last reply Reply Quote 0
              • undefined
                schpongo
                last edited by 18 Sept 2020, 18:27

                Thanks for the quick answer.

                1 Reply Last reply Reply Quote 0
                • undefined
                  chrishamm administrators
                  last edited by 21 Sept 2020, 07:29

                  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.

                  Duet software engineer

                  undefined 1 Reply Last reply 21 Sept 2020, 16:45 Reply Quote 0
                  • undefined
                    schpongo @chrishamm
                    last edited by 21 Sept 2020, 16:45

                    @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?

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      schpongo
                      last edited by 7 Oct 2020, 16:29

                      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.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA