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

    confusion with emergency stop and a Z homing failsafe

    Scheduled Pinned Locked Moved
    General Discussion
    3
    12
    296
    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.
    • jay_s_ukundefined
      jay_s_uk @appjaws
      last edited by

      @appjaws you should configure the inputs using M950 not M574

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      appjawsundefined 1 Reply Last reply Reply Quote 0
      • appjawsundefined
        appjaws @jay_s_uk
        last edited by appjaws

        @jay_s_uk
        Would that be inputs or outputs?
        M950 P6 C"zfailsafe"
        M581 P6 T2 R0
        M950 P7 C"emgstop"
        M581 P7 T3 R0

        Error: Unknown pin name 'zfailsafe'
        Error: Unknown pin name 'emgstop'
        I don't think that's right, still confused, could you provide an example so that trigger2 runs please

        appjaws - Core XYUV Duet Ethernet Duex5
        firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
        Ormerod 1-converted to laser engraver, Duet wifi
        OpenSCAD version 2024.03.18
        Simplify3D 5.1.2

        jay_s_ukundefined 1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @appjaws
          last edited by

          @appjaws you'd use the same pin names such as "zstop"

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          appjawsundefined 1 Reply Last reply Reply Quote 0
          • appjawsundefined
            appjaws @jay_s_uk
            last edited by

            @jay_s_uk
            M574 Z1 S1 P"zstop" ; configure Z-probe endstop for low end on Z
            M574 E2 S1 P"emgstop" ; configure Emergency stop button

            M950 P6 C"zstop"
            M581 P6 T2 R0
            M950 P7 C"emgstop"
            M581 P7 T3 R0

            The z stop worked but the emgstop has an error
            Error: Unknown pin name 'emgstop'

            nearly there

            appjaws - Core XYUV Duet Ethernet Duex5
            firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
            Ormerod 1-converted to laser engraver, Duet wifi
            OpenSCAD version 2024.03.18
            Simplify3D 5.1.2

            jay_s_ukundefined 1 Reply Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk @appjaws
              last edited by

              @appjaws where are you plugging the "emgstop" into?

              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

              appjawsundefined 1 Reply Last reply Reply Quote 0
              • appjawsundefined
                appjaws @jay_s_uk
                last edited by appjaws

                @jay_s_uk
                Thanks Jay,
                I thought it was connected to E2 but I will need to take covers off and physically check.

                Sorry for the delay.

                The emergency stop button is connected to the duex5 expansion board, connected to E2 Stop

                just noticed the error Pin 'zstop' is not free

                appjaws - Core XYUV Duet Ethernet Duex5
                firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                Ormerod 1-converted to laser engraver, Duet wifi
                OpenSCAD version 2024.03.18
                Simplify3D 5.1.2

                appjawsundefined 1 Reply Last reply Reply Quote 0
                • appjawsundefined
                  appjaws @appjaws
                  last edited by

                  @appjaws
                  this is what I have at the moment
                  M950 P6 C"zstop"
                  M581 P6 T2 R0 ; Set Z stop as fail safe for Z zeroing and run /sys/trigger2.g
                  M950 P7 C"e2stop"
                  M581 P7 T3 R0 ; Set Emergency stop and run/sys/trigger3.g

                  Error: Pin 'zstop' is not free
                  Error: Unknown pin name 'e2stop'

                  appjaws - Core XYUV Duet Ethernet Duex5
                  firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                  Ormerod 1-converted to laser engraver, Duet wifi
                  OpenSCAD version 2024.03.18
                  Simplify3D 5.1.2

                  jay_s_ukundefined droftartsundefined 2 Replies Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @appjaws
                    last edited by

                    @appjaws zstop won't be free if you have the M574 line calling it earlier.
                    What board are you running this on? a duet 2 by itself doesn't have an e2stop

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @appjaws
                      last edited by

                      @appjaws It's M950 with J parameter to create inputs/triggers, not P, which is for outputs. So should be:

                      M950 J6 C"zstop"
                      M581 P6 T2 R0 ; Set Z stop as fail safe for Z zeroing and run /sys/trigger2.g
                      M950 J7 C"e2stop"
                      M581 P7 T3 R0 ; Set Emergency stop and run/sys/trigger3.g
                      

                      Make sure zstop and e2stop are not defined anywhere else.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      appjawsundefined 2 Replies Last reply Reply Quote 1
                      • appjawsundefined
                        appjaws @droftarts
                        last edited by

                        @droftarts
                        Thanks for the info, I am running a duet2 plus duex5.

                        appjaws - Core XYUV Duet Ethernet Duex5
                        firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                        Ormerod 1-converted to laser engraver, Duet wifi
                        OpenSCAD version 2024.03.18
                        Simplify3D 5.1.2

                        1 Reply Last reply Reply Quote 0
                        • appjawsundefined
                          appjaws @droftarts
                          last edited by appjaws

                          @droftarts
                          Thank you, all working properly now that I realized that the emergency stop pin should have been duex.e2stop

                          appjaws - Core XYUV Duet Ethernet Duex5
                          firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                          Ormerod 1-converted to laser engraver, Duet wifi
                          OpenSCAD version 2024.03.18
                          Simplify3D 5.1.2

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