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

    Just a little lost re: upgrading to 3.0 firmware.

    Scheduled Pinned Locked Moved
    Firmware installation
    6
    47
    2.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.
    • Dougal1957undefined
      Dougal1957
      last edited by

      in the M950 line for the BLTouch you have defined a pin on a DUEX expansion board is that correct?

      Steve Lynchundefined 1 Reply Last reply Reply Quote 0
      • whosrdaddyundefined
        whosrdaddy
        last edited by

        Yes the guide is indeed a bit unclear at times.
        the examples are using underscores in the pinnames but the list does not use underscores (ie e0heat vs e0_heat).
        I don't have access to my printers now so I don't know what naming convention I ended up using...

        1 Reply Last reply Reply Quote 0
        • Steve Lynchundefined
          Steve Lynch @Dougal1957
          last edited by

          @Dougal1957

          yes, I have, or at least I have attempted to, if you see my config above. I'm using the PWM 5 port on the Duex 5. but what to call it? does it need the Exclamation point before it? Does it need the Letter C before it? What does the C mean? "I've been trying to figure that out. I'm also trying to figure out if this new system simplifies the situation by using it's actual name, instead of the "always 1 or 2 off" manner of the old naming convention (example, Pwm 5 on the duex was actually referred to as PWM 7 in the total count).

          So for the name of the port, do I have to include all of the aliases? or just the port I'm using? Is duex pwm5 really pwm5? or Heater7? (it says in the list they're shared....

          This is where my head wants to explode! I see why this change was made, and I embrace it! I just want so desperately to understand the nomenclature, so I can have that light bulb go on over my head and i can say "I Understand Now!" lol

          Dougal1957undefined 1 Reply Last reply Reply Quote 0
          • Dougal1957undefined
            Dougal1957 @Steve Lynch
            last edited by Dougal1957

            @Steve-Lynch try changing the BLTouch pin name in the M950 to C"expheater7"

            I am not promising but the description of the M950 suggests that.
            https://duet3d.dozuki.com/Wiki/Gcode#Section_M950_Create_heater_fan_or_GPIO_servo_pin

            1 Reply Last reply Reply Quote 0
            • Dougal1957undefined
              Dougal1957
              last edited by

              But having said all this I am sure you can use the Mod pin on the Probe connector to drive it but I am not a BLTouch user so not 100% on that

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

                @Steve-Lynch said in Just a little lost re: upgrading to 3.0 firmware.:

                M950 S0 C"duex.pwm5" ; define GPIO/Servo Pin

                That's correct if you have connected the PWM servo input of the BLTouch to output PWM5 on the DueX.

                Do the M401 and M402 command deploy and retract the pin?

                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
                • Steve Lynchundefined
                  Steve Lynch
                  last edited by

                  No, they do not. I am definitely in PWM5 on the duex, with the orange on the left, red in the center, and brown on the right, as seen in the instructions. My white and black leads are plugged into the "probe" port, to the left of the 50 pin duex ribbon. I'm in the first two pinsfrom left to right. white, then black. the same way It's been set up in 2.5.

                  1 Reply Last reply Reply Quote 0
                  • Steve Lynchundefined
                    Steve Lynch
                    last edited by

                    I was a little sketchy on the whole servo pin angle entry below it as well. does that look ok?

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

                      What do you have in your deployprobe.g and retractprobe.g files?

                      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
                      • Steve Lynchundefined
                        Steve Lynch
                        last edited by

                        this is deploy:

                        ; generated by RepRapFirmware Configuration Tool v3.1.1 on Tue Jun 09 2020 01:46:51 GMT-0400 (Eastern Daylight Time)
                        M280 P0 C"duex.pwm5" S10 ; deploy BLTouch

                        this is retract:

                        ; generated by RepRapFirmware Configuration Tool v3.1.1 on Tue Jun 09 2020 01:46:51 GMT-0400 (Eastern Daylight Time)
                        M280 P0 C"duex.pwm5" S90 ; retract BLTouch

                        I tried reaching out to the railcore group, and as it turns out, there are 8 guys who couldn't get it to work, so they went back to 2.5, and one guy who says he can share his config with me, but he doesn't use a BL Touch.

                        I went back to 2.5 last night so I could print, everything was fine, then I did the configurator again this morning. Still no Joy, though this time, it did add the BL Touch Info.

                        So I guess I have to stick with this for everyone else, once we get mine right, I'll share the info.

                        Does anyone have a CoreXY running E3D heater / thermistors, and BL Touch?

                        If I can at least look at how it's set up, I can model mine after that.

                        Thanks so much!

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

                          @Steve-Lynch said in Just a little lost re: upgrading to 3.0 firmware.:

                          C"duex.pwm5"

                          Remove that from your M280.

                          The M950 in your config.g creates the servo pin. M280 P0 targets that servo pin.

                          Z-Bot CoreXY Build | Thingiverse Profile

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

                            ; Z-Probe
                            M950 S0 C"duex.pwm5"                           ; create servo pin 0 for BLTouch
                            M558 P9 C"^zprobe.in" H5 F120 T6000            ; set Z probe type to bltouch and the dive height + speeds
                            G31 P500 X0 Y0 Z2.5                            ; set Z probe trigger value, offset and trigger height
                            M557 X15:215 Y15:195 S20                       ; define mesh grid
                            
                            ; deployprobe.g
                            ; called to deploy a physical Z probe
                            ;
                            ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 09 2020 12:35:40 GMT-0600 (Central Standard Time)
                            M280 P0 S10 ; deploy BLTouch
                            
                            ; retractprobe.g
                            ; called to retract a physical Z probe
                            ;
                            ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 09 2020 12:36:12 GMT-0600 (Central Standard Time)
                            M280 P0 S90 ; retract BLTouch
                            

                            That's right out of the configurator.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            Steve Lynchundefined 1 Reply Last reply Reply Quote 0
                            • Steve Lynchundefined
                              Steve Lynch @Phaedrux
                              last edited by

                              @Phaedrux
                              I had it set up just like you just posted, and this is the error I get every time.

                              "Invalid servo index 0 in M280 Command."

                              I'm in the port labeled PWM5 on the duex board. This really is PWM5, correct? PWM5 isn't really PWM7 or something like that, right? I'm just trying to figure out why I cannot deploy the probe. Everything try yields some error or another when I try the M401...

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

                                @Phaedrux said in Just a little lost re: upgrading to 3.0 firmware.:

                                M950 S0 C"duex.pwm5"

                                That looks correct to me. If you send that command from the console, what response do you get?

                                Please verify using M115 that you are running firmware 3.1.1.

                                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

                                Steve Lynchundefined 1 Reply Last reply Reply Quote 0
                                • Steve Lynchundefined
                                  Steve Lynch @dc42
                                  last edited by

                                  @dc42
                                  6/9/2020, 3:40:31 PM M401
                                  Error: M280: Invalid servo index 0 in M280 command
                                  6/9/2020, 3:40:11 PM Upload of config.g successful after 0s
                                  6/9/2020, 3:37:03 PM M401
                                  Error: M280: Invalid servo index 0 in M280 command
                                  6/9/2020, 3:36:49 PM M401
                                  Error: M280: Invalid servo index 0 in M280 command

                                  Two tries, then cleared out, saved, re-opened blank deploy and retract g codes, and made them from scratch.. still same thing..

                                  dc42undefined 1 Reply Last reply Reply Quote 0
                                  • Steve Lynchundefined
                                    Steve Lynch
                                    last edited by

                                    ; deployprobe.g
                                    ; called to deploy a physical Z probe
                                    ;
                                    ; generated by RepRapFirmware Configuration Tool v3.1.1 on Tue Jun 09 2020 01:46:51 GMT-0400 (Eastern Daylight Time)

                                    M280 P0 S10 ; deploy BLTouch

                                    That's my deploy.....

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

                                      And you have this exactly in config.g?

                                      M950 S0 C"duex.pwm5"                           ; create servo pin 0 for BLTouch
                                      M558 P9 C"^zprobe.in" H5 F120 T6000            ; set Z probe type to bltouch and the dive height + speeds
                                      

                                      Z-Bot CoreXY Build | Thingiverse Profile

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

                                        @Steve-Lynch said in Just a little lost re: upgrading to 3.0 firmware.:

                                        @dc42
                                        6/9/2020, 3:40:31 PM M401
                                        Error: M280: Invalid servo index 0 in M280 command
                                        6/9/2020, 3:40:11 PM Upload of config.g successful after 0s
                                        6/9/2020, 3:37:03 PM M401
                                        Error: M280: Invalid servo index 0 in M280 command
                                        6/9/2020, 3:36:49 PM M401
                                        Error: M280: Invalid servo index 0 in M280 command

                                        Two tries, then cleared out, saved, re-opened blank deploy and retract g codes, and made them from scratch.. still same thing..

                                        The command I wanted you to send from the console was the M950 command that I quoted.

                                        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

                                        Steve Lynchundefined 1 Reply Last reply Reply Quote 0
                                        • Steve Lynchundefined
                                          Steve Lynch
                                          last edited by

                                          This is my exact BL Touch Section:

                                          ; BLTouch
                                          M950 S0 C"duex.pwm5" ; Define the bltouch servo on duex.pwm5
                                          M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
                                          G31 P500 X0 Y28.8 Z4.9 ; set Z probe trigger value, offset and trigger height
                                          M557 X4:300 Y27:300 S20 ; define mesh grid

                                          1 Reply Last reply Reply Quote 0
                                          • Steve Lynchundefined
                                            Steve Lynch @dc42
                                            last edited by

                                            @dc42 Sorry sir... This is what it says:
                                            6/9/2020, 3:48:23 PM M950 S0 C"duex.pwm5"
                                            Warning: M950 command is not supported
                                            6/9/2020, 3:48:06 PM M950 S0 C"duex.pwm5"
                                            Warning: M950 command is not supported

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