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

    G32 ERROR

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    7
    108
    5.1k
    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.
    • moe.adams9093undefined
      moe.adams9093
      last edited by

      I believe somehow some of my end stop input on my duex 5 is not responding correctly. can I use stall detection to stop each motor at Zmax. please share your thoughts

      fcwiltundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • alankilianundefined
        alankilian
        last edited by

        @dc42 I hate to jump in and be an idiot, but is it because MaxAxes is set to six in the firmware?

        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

        Phaedruxundefined 1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt @moe.adams9093
          last edited by fcwilt

          @moe-adams9093 said in G32 ERROR:

          I believe somehow some of my end stop input on my duex 5 is not responding correctly. can I use stall detection to stop each motor at Zmax. please share your thoughts

          I have the same board setup as you - Duet 2 WiFi + Duex5.

          On my printer I only have 3 Z steppers so my end stop configuration command is:

          M574 Z1 S1 P"!duex.e2stop + !duex.e3stop + !duex.e4stop"

          As an experiment I entered this on the DWC Console

          M574 Z1 S1 P"!duex.e2stop + !duex.e3stop + !duex.e4stop + !duex.e5stop"

          and got this error message:

          M574 Z1 S1 P"!duex.e2stop + !duex.e3stop + !duex.e4stop + !duex.e5stop"
          Error: M574: Unknown pin name 'duex.e5sto'

          Notice the last character, the p, is missing.

          I then took that same text and created a gcode file with it in my sys directory.

          I executed the file with the M98 command and got the same error.

          I then used this text to create another gcode file with it in my sys directory:

          M574 Z1 S1 P"!exp.4 + !exp.9 + !exp.14 + !exp.19"

          which are alternate names for the pins.

          I executed the file with the M98 command and got NO error.

          Then I executed from the DWC console a M574 and got this:

          Endstop configuration:
          X: low end switch connected to pin xstop
          Y: high end switch connected to pin ystop
          Z: low end switches connected to pins !(exp.e2stop,exp.4) !(exp.e3stop,exp.9,spi.cs6,duex.cs6) !(exp.e4stop,exp.14,spi.cs7,duex.cs7) !(exp.e5stop,exp.19,spi.cs8,duex.cs8)

          Notice for Z that all four pins are now present - albeit with all possible names for each pin.

          It looks like there may be some sort of command length limitation causing the problem.

          I tried this test with both 3.1.1 and 3.2.0.

          Try the alternate names and see if they work for you.

          Frederick

          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

            @fcwilt Do you get the same error with the original pin names he had used?

            M574 Z2 S1 P"!exp.e2stop+!exp.e3stop+!exp.e5stop+!exp.e6stop"

            Z-Bot CoreXY Build | Thingiverse Profile

            fcwiltundefined 2 Replies Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @Phaedrux
              last edited by

              @Phaedrux said in G32 ERROR:

              M574 Z2 S1 P"!exp.e2stop+!exp.e3stop+!exp.e5stop+!exp.e6stop"

              Hold on and I will try.

              Frederick

              Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                @alankilian said in G32 ERROR:

                @dc42 I hate to jump in and be an idiot, but is it because MaxAxes is set to six in the firmware?

                It shouldn't because in RRF3 you can use multiple endstops on a single axis. No need to create additional axis anymore.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • fcwiltundefined
                  fcwilt @Phaedrux
                  last edited by

                  @Phaedrux said in G32 ERROR:

                  @fcwilt Do you get the same error with the original pin names he had used?

                  M574 Z2 S1 P"!exp.e2stop+!exp.e3stop+!exp.e5stop+!exp.e6stop"

                  That works.

                  Frederick

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                    @fcwilt Hmm, wonder why it didnt work for him the first time?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    fcwiltundefined 1 Reply Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt @Phaedrux
                      last edited by

                      @Phaedrux said in G32 ERROR:

                      @fcwilt Hmm, wonder why it didnt work for him the first time?

                      I have no idea - this topic has gotten rather long and it's hard to remember it all.

                      Those names you suggested are shorter by one character each which tends to reinforce the idea of a command length limitation.

                      Perhaps you could speed verification of this possibility with direct communication with dc42?

                      Frederick

                      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                      Phaedruxundefined dc42undefined 2 Replies Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @moe.adams9093
                        last edited by

                        @moe-adams9093 said in G32 ERROR:

                        can I use stall detection to stop each motor at Zmax. please share your thoughts

                        Yes. M574 Z2 S4. But you'll have to do the usual stall detection tuning.

                        Z-Bot CoreXY Build | Thingiverse Profile

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

                          @fcwilt said in G32 ERROR:

                          Perhaps you could speed verification of this possibility with direct communication with dc42?

                          He's aware. But also asleep at the moment I'd wager.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                          • fcwiltundefined
                            fcwilt @Phaedrux
                            last edited by fcwilt

                            @Phaedrux said in G32 ERROR:

                            He's aware. But also asleep at the moment I'd wager.

                            I have little idea of who lives where.

                            My hours are so erratic I'm not sure what time zone I'm supposed to be in. 😉

                            Frederick

                            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                            1 Reply Last reply Reply Quote 0
                            • moe.adams9093undefined
                              moe.adams9093
                              last edited by

                              Sorry It's US central Time Here maybe we are 8 hours difference.

                              M574 Z2 S1 P"!exp.e2stop+!exp.e3stop+!exp.e5stop+!exp.e6stop"
                              

                              it's not working at all.

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

                                Can you try testing on 3.1.1?

                                It's easy to switch between. Upload this zip file to the system tab. No need to change the config file.

                                https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip

                                Z-Bot CoreXY Build | Thingiverse Profile

                                moe.adams9093undefined 1 Reply Last reply Reply Quote 0
                                • moe.adams9093undefined
                                  moe.adams9093
                                  last edited by

                                  so you dont thing the duex 5 is bad

                                  M574 Z2 S1 P"!exp.e2stop+!exp.e3stop+!exp.e5stop+!exp.e6stop"
                                  and run m119 it will show the endstop is triggered at max

                                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                                  • moe.adams9093undefined
                                    moe.adams9093 @Phaedrux
                                    last edited by

                                    @Phaedrux curently Im on 3.1.1

                                    1 Reply Last reply Reply Quote 0
                                    • moe.adams9093undefined
                                      moe.adams9093
                                      last edited by

                                      @Phaedrux said in G32 ERROR:

                                      Yes. M574 Z2 S4

                                      so if I can use M574 Z2 S4 how can split the axis and make one at a time when they hit max location. if you have documentation on that please share it

                                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @moe.adams9093
                                        last edited by

                                        @moe-adams9093 said in G32 ERROR:

                                        M574 Z2 S1 P"!exp.e2stop+!exp.e3stop+!exp.e5stop+!exp.e6stop"
                                        and run m119 it will show the endstop is triggered at max

                                        That result indicates that one or more of the end stop sensors is triggered.

                                        If you could do the following we can find out if one of the end stop sensors is perhaps not working correctly.

                                        From the DWC console if you issue the M574 to configure just a single end stop the M119 will report it's state independent of any others.

                                        M574 Z2 S1 P"!exp.e2stop"
                                        M119

                                        M574 Z2 S1 P"!exp.e3stop"
                                        M119

                                        M574 Z2 S1 P"!exp.e5stop"
                                        M119

                                        M574 Z2 S1 P"!exp.e6stop"
                                        M119

                                        If would be very helpful to verify that each end stop sensor is working.

                                        Thanks.

                                        Frederick

                                        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                        moe.adams9093undefined 1 Reply Last reply Reply Quote 0
                                        • moe.adams9093undefined
                                          moe.adams9093 @fcwilt
                                          last edited by

                                          @fcwilt ok I Will try that now thanks for keeping up with me I truly appreciated

                                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                                          • moe.adams9093undefined
                                            moe.adams9093
                                            last edited by

                                            @fcwilt I just tried that still same when I do that it will say M119 All at max and they are not even triggered it the same even if I keep ! or I remove. I know for a fact all my endstops function probably because I did install them on the X and Y and they all worked correctly

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