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

    Configuring Multiple Probes/Endstops

    Scheduled Pinned Locked Moved Solved
    General Discussion
    4
    12
    440
    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

      Is there a specific question you have?

      Z-Bot CoreXY Build | Thingiverse Profile

      SonnyD1undefined 1 Reply Last reply Reply Quote 0
      • SonnyD1undefined
        SonnyD1 @Phaedrux
        last edited by SonnyD1

        @Phaedrux Could you take a look at my config and provide some feedback specifically on the endstops. Currently my Z high end isn't working. The documentation is kinda vague on how to configure this many Z axis endstops/probes. That, and I've never configured a scanner before. I almost always have issues configure a high end endstop but I'd like it as a precaution to prevent collision with my electronics. Should I have multiple M574 Z lines to identify each probe/endstop? For the high end should I have M574 Z2 P"i03.in" S1? The documentation reads "A Z probe and a Z endstop can both be configured at the same time. G30 calling the probe setup with M558, and G1 H1 Z moves calling the endstop configured with M574 Z." I dont really get what it's trying to tell me. Currently my high end Z endstop isn't working. I guess we can start with fixing that and then I'll do some testing on the other two. I know I'm a PITA and I sewar I don't mean to be.

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

          @SonnyD1 said in Configuring Multiple Probes/Endstops:

          M574 Z1 S2

          Start by changing that line to:

          M574 Z2 S1 P"io3.in"

          See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m574-set-endstop-configuration.

          Z probes are configured using M558. Endstops (including Z endstops) are configured using M574. When you have more than one Z probe, use the K parameter of the commands concerned (M558, G30, G31) to distinguish between them.

          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

          SonnyD1undefined 1 Reply Last reply Reply Quote 0
          • SonnyD1undefined
            SonnyD1 @dc42
            last edited by SonnyD1

            @dc42 Does this look better for all three?

            ; BLtouch
            M558 K0 P9 C"121.io0.in" H5 F120 T6000 A2                       ; configure BLTouch probe via slot #0
            G31 P500 X0 Y24 Z0.7                                            ; set Z probe trigger value, offset and trigger height
            M950 S0 C"121.io0.out"                                          ; create servo #0 for BLtouch
             
            ; Scanning Z probe
            M558 K1 P11 C"121.i2c.ldc1612" F36000 T36000
            M308 A"SZP coil" S10 Y"thermistor" P"121.temp0"                 ; thermistor on coil
             
            ; Endstops
            M574 X1 P"io1.in" S1                                            ; configure X axis low end endstop
            M574 Y1 P"io2.in" S1                                            ; configure Y axis low end endstop
            M574 Z2 S1 P"io3.in"                                            ; configure Z axis high end endstop
            M574 U2 P"io4.in" S1                                            ; configure U axis high end endstop
            
            dc42undefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @SonnyD1
              last edited by dc42

              @SonnyD1 you appear to be using CAN address 121 for both the BLTouch which I assume is connected to the Roto Tool board and for the SZP. The default CAN address for the SZP is 120. So in lines 7 and 8 of that extract, change 121 to 120.

              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

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

                @dc42 said in Configuring Multiple Probes/Endstops:

                @SonnyD1 you appear to be using CAN address 121 for both the BLTouch which I assume is connected to the Roto Tool board and for the SZP. The default CAN address for the SZP is 120. So in lines 7 and 8 of that extract, change 121 to 120.

                I would have thought he's using the SZP on the Roto toolboard, not an extra SZP CAN board. In which case the CAN address should be the same for the Roto toolboard and SZP.

                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

                SonnyD1undefined 1 Reply Last reply Reply Quote 0
                • SonnyD1undefined
                  SonnyD1 @droftarts
                  last edited by SonnyD1

                  @droftarts Yea the SPZ is connected to 121. I'm gonna change that back unless are aren't in agreement. I still cant seem to get the BLTouch to deploy. I wired it exactly to the roto toolboard instructions and it does it's little test when I power on the machine.

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

                    If you send M98 P"config.g" do you get any errors reported?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    SonnyD1undefined 1 Reply Last reply Reply Quote 0
                    • SonnyD1undefined
                      SonnyD1 @Phaedrux
                      last edited by

                      @Phaedrux said in Configuring Multiple Probes/Endstops:

                      M98 P"config.g"

                      Yes I get:

                      Warning: Heater 1 predicted maximum temperature at full power is 496°C
                      Warning: Heater 2 predicted maximum temperature at full power is 510°C

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

                        @SonnyD1 said in Configuring Multiple Probes/Endstops:

                        I still cant seem to get the BLTouch to deploy. I wired it exactly to the roto toolboard instructions and it does it's little test when I power on the machine.

                        If it does the self-test, then the +5V and GND wires are correctly connected. What reading for the Z probe is reported in DWC? Please post your deploy and retract probe macros. Note that they should be named 'deployprobe0.g' and 'retractprobe0.g', so they are specific to the BLTouch, which is probe 0. If the probe number is missing in the name, the deploy and retract macro will be applied to all probes.

                        If the deploy and retract macros are correct, but the BLTouch doesn't move when you send M401 and/or M402 (which use probe 0 by default), then either the servo wire is not connected (check continuity of the wire), or it may have been swapped with the signal wire.

                        @SonnyD1 said in Configuring Multiple Probes/Endstops:

                        Warning: Heater 1 predicted maximum temperature at full power is 496°C
                        Warning: Heater 2 predicted maximum temperature at full power is 510°C

                        Those are just warnings. If you don't get any errors, your config.g should be okay.

                        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

                        SonnyD1undefined 1 Reply Last reply Reply Quote 0
                        • SonnyD1undefined
                          SonnyD1 @droftarts
                          last edited by SonnyD1

                          @droftarts They are both named correctly IAW your instructions. Here are the files:

                          ; deployprobe0.g
                          ; called to deploy a physical Z probe
                          ;
                          ; generated by RepRapFirmware Configuration Tool v3.5.4 on Sat Aug 10 2024 17:00:40 GMT-0400 (Eastern Daylight Time)
                          
                          M280 P0 S10	; deploy BLTouch
                          
                          
                          ; retractprobe0.g
                          ; called to retract a physical Z probe
                          ;
                          ; generated by RepRapFirmware Configuration Tool v3.5.4 on Sat Aug 10 2024 17:00:41 GMT-0400 (Eastern Daylight Time)
                          
                          M280 P0 S90	; retract BLTouch
                          

                          I might have a bad crimp. I'm going to redo the connection.

                          @droftarts said in Configuring Multiple Probes/Endstops:

                          What reading for the Z probe is reported in DWC?

                          Where do I find this? Dashboard?

                          UPDATE: I found the issue. Conducting further tests to confirm. I must have had a bad crimp/connection. I made a whole new wire and now it deploys on command. The connectors on the Roto toolboard are so tiny that crimps are kinda tough. So much as a couple frayed wires and ya lose continuity.

                          1 Reply Last reply Reply Quote 2
                          • Phaedruxundefined Phaedrux marked this topic as a question
                          • Phaedruxundefined Phaedrux has marked this topic as solved
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA