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

    M208 messes up some axes but not others

    Scheduled Pinned Locked Moved
    Beta Firmware
    4
    10
    312
    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.
    • theolodianundefined
      theolodian
      last edited by

      Every 3rd axis minimum was ignored. RRF3.4b7+2 in standalone mode.

      We had all of the minimums (S1) in a one line M208 in our config.g, and all of the maximums (S0) in a second one line M208. Every 3rd minimum value was ignored out of 12 axes. 2 good, 1 ignored (zero), 2 good, 1 ignored...

      A single axis M208 S1 from the console worked fine. I split it into 3 minimums or 3 maximums per M208, didn't help. I put the maximums first and then the minimums were fine! I didn't have a chance to try every combination. So the first thing to try is maximums first, then split into multiple M208 lines if it still doesn't work.

      I haven't tested the maximums yet... 🙄

      gloomyandyundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • gloomyandyundefined
        gloomyandy @theolodian
        last edited by

        @theolodian I think you should post an example of what it is you have that does not work. Also if you enter the failing line in the console do you get any sort of error? It would probably also help if you posted your complete config.g file.

        theolodianundefined 1 Reply Last reply Reply Quote 0
        • theolodianundefined
          theolodian @gloomyandy
          last edited by

          @gloomyandy Here is the one that doesn't work. I got it to work by splitting it up and changing the order.

          ; M208: Set axis max travel
          ; https://duet3d.dozuki.com/Wiki/Gcode#Section_M208_Set_axis_max_travel
          
          M208 U-5 V-5 W-5 'A-5 'B-5 'C-5 'D-5 'H-5 'I-5 'J-5 'K-5 'L-5 S1
          M208 U1000 V1000 W1000 'A2000 'B2000 'C2000 'D2000 'H2000 'I2000 'J2000 'K2000 'L2000 S0
          
          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @theolodian
            last edited by

            @theolodian you should post the M584 line that comes before those M208 lines too.

            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

            dc42undefined theolodianundefined 2 Replies Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @dc42
              last edited by dc42

              Works for me (read the console output from bottom to top):

              01/02/2022, 20:10:55 	m208
              Axis limits (mm)s X0.0:305.0, Y0.0:300.0, Z-1.0:295.0, U-5.0:1000.0, V-5.0:1000.0, W-5.0:1000.0, a-5.0:2000.0, b-5.0:2000.0, c-5.0:2000.0, d-5.0:2000.0, i-5.0:2000.0, k-5.0:2000.0, l-5.0:2000.0
              01/02/2022, 20:10:45 	M208 U1000 V1000 W1000 'A2000 'B2000 'C2000 'D2000 'H2000 'I2000 'J2000 'K2000 'L2000 S0
              01/02/2022, 20:10:33 	M208 U-5 V-5 W-5 'A-5 'B-5 'C-5 'D-5 'H-5 'I-5 'J-5 'K-5 'L-5 S1
              01/02/2022, 20:10:22 	m584 u1.0 v1.1 w1.2 'a2.0 'b2.1 'c2.2 'd0.5 'd0.5 'i0.5 'k0.5 'l0.5
              

              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

              theolodianundefined 1 Reply Last reply Reply Quote 0
              • theolodianundefined
                theolodian @dc42
                last edited by

                @dc42

                ; Main 6HC Board CAN #0
                
                M584 U0.3
                M584 V0.4
                M584 W0.5
                
                M584 'a0.0 ;R0
                M584 'b0.1 ;R0 
                M584 'c0.2 ;R0
                 
                M584 'd1.0
                M584 'h1.1
                M584 'i1.2
                
                M584 'j2.0
                M584 'k2.1
                M584 'l2.2
                
                1 Reply Last reply Reply Quote 0
                • theolodianundefined
                  theolodian @dc42
                  last edited by

                  @dc42 This spare system that I have on the bench here with the same software version in it gives me the same results that you get. The system on the machine today refused to set every 3rd axis to the correct starting value after homing. I won't be able to try it on the machine again until next week. Cheers.

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator @theolodian
                    last edited by

                    @theolodian said in M208 messes up some axes but not others:

                    RRF3.4b7+2 in standalone mode.

                    Can you test with this build?

                    https://www.dropbox.com/sh/i5vox3xmkd55gaz/AAC19mI0WEC5GmEjLOBRbKs-a?dl=0

                    Z-Bot CoreXY Build | Thingiverse Profile

                    theolodianundefined 1 Reply Last reply Reply Quote 0
                    • theolodianundefined
                      theolodian @Phaedrux
                      last edited by

                      @dc42 I haven’t had a chance to test this on a newer firmware build yet. I may be able to test some things on the machine tomorrow.

                      dc42undefined 1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators @theolodian
                        last edited by

                        @theolodian please test using 3.4.0rc2.

                        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
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA