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

    G32 ERROR

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    7
    108
    5.3k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

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

      Instead of using exp.e#stop let's try using the pin names for the actual deux pins.

      duex.e2stop
      duex.e3stop
      duex.e4stop
      duex.e5stop
      duex.e6stop

      When using these names I think you can remove the !, but please test carefully.

      Z-Bot CoreXY Build | Thingiverse Profile

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

        @Phaedrux so I did move the ! And did exactly as
        M574 Z2 S1 P" duex.e2stop+ duex.e3stop+duex.e5stop+ duex.e6stop"; when I click home Z axis are not moving they do get power but no signal

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

          And if you check M119 what does the endstop status say?
          If it says the z endstop is triggered but the switch isn't pressed, then you would need to add the ! again to invert the signal.

          Z-Bot CoreXY Build | Thingiverse Profile

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

            @Phaedrux yes thats what I got

            2/1/2021, 1:30:18 PM: M119: Endstops - X: not stopped, Y: not stopped, Z: at max stop, Z probe: not stopped
            
            moe.adams9093undefined 1 Reply Last reply Reply Quote 0
            • moe.adams9093undefined
              moe.adams9093 @moe.adams9093
              last edited by

              I'm going to put ! back and see what's going on

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

                The only one is communicating probably is e6stop

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

                  Its not working. when I added this code
                  M574 Z2 S1 p"!duex.e6stop+!duex.e5stop+!duex.e3stop+!duex.e4stop";
                  and run M119

                  M119
                  Endstops - X: at min stop, Y: at min stop, Z: no endstop, Z probe: not stopped
                  

                  but If I remove any one of any of the above endstops

                  example:
                  M574 Z2 S1 p"!duex.e6stop+!duex.e5stop+!duex.e3stop";

                  my M119 will show Z end stop is available I don't know what's causing this issue to not take all 4endstops. also when I press any of the endstops they all stop automatically not individually. I don't know whats happening maybe my duex 5 is bad or if you guys know any solution around please let me know. thank you

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