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

RepRapFirmware 3.0

Scheduled Pinned Locked Moved
General Discussion
35
176
30.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.
  • undefined
    mudcruzr
    last edited by 13 May 2019, 14:32

    Pulling my hair out here. Has anyone running RRF3 on a Maestro with a BLTouch got it working OK?

    1 Reply Last reply Reply Quote 0
    • ?
      A Former User
      last edited by 13 May 2019, 15:06

      Only briefly tested deploy and retract of the probe, but that worked. Need to sort dual z motors out before I can try actual probing

      4:59:46 PM Disconnected. <- estop
      4:59:14 PM G30
      4:57:36 PM M558 P9 C"zprobe.in" H5 F120 T3000
      4:52:11 PM M280 P0 S10
      4:51:17 PM M280 P0 S90
      4:50:13 PM M950 S0 C"zprobe.mod"
      undefined 1 Reply Last reply 13 May 2019, 15:55 Reply Quote 0
      • undefined
        mudcruzr @A Former User
        last edited by mudcruzr 13 May 2019, 15:55

        @bearer said in RepRapFirmware 3.0:

        Only briefly tested deploy and retract of the probe, but that worked. Need to sort dual z motors out before I can try actual probing

        4:59:46 PM Disconnected. <- estop
        4:59:14 PM G30
        4:57:36 PM M558 P9 C"zprobe.in" H5 F120 T3000
        4:52:11 PM M280 P0 S10
        4:51:17 PM M280 P0 S90
        4:50:13 PM M950 S0 C"zprobe.mod"

        Thanks for that, it confirmed that I was on the right track. I have it working now.
        I had the M950 line in my config.g, assuming it was global, but it doesn't seem to be. I had to put it in my deployprobe.g and retractprobe.g files ahead of the M280 lines to make it work.
        However, my printer is now homing and doing a G32 no problem!
        Next I'll try the heaters and then maybe even a print!

        P.S. @bearer - I didn't have to change anything for my dual Z motors to work

        Edit: Aaand.... she is printing!! Woot! Now for the 12864 menus.

        ? 1 Reply Last reply 13 May 2019, 16:32 Reply Quote 0
        • ?
          A Former User @mudcruzr
          last edited by 13 May 2019, 16:32

          @mudcruzr said in RepRapFirmware 3.0:

          P.S. @bearer - I didn't have to change anything for my dual Z motors to work

          I didn't say it worked in 2.03 😁

          Anyways pretty sure you should only need the commands once in config.g. Maybe its a ordering of things thing, I haven't studied the changes in too much detail, but when putting it at the way bottom of config.g it seems to work.

          undefined 1 Reply Last reply 13 May 2019, 16:43 Reply Quote 0
          • undefined
            mudcruzr @A Former User
            last edited by 13 May 2019, 16:43

            @bearer said in RepRapFirmware 3.0:

            I didn't say it worked in 2.03

            Lol!

            I tried the M950 command as the very last line in my config.g and it didn't work, I also can't see anything in config-override.g that would change it. So I think it's a question for @dc42

            @dc42 David, where must the M950 command reside? I have it as the very last command in my config.g but in order to use my bltouch probe I must also put it in the deployprobe.g file immediately before the M280 for it to work.

            After the deployprobe.g file has run once, I don't need to put M950 anywhere else, everything just works. Are there any rules about where it must be either before or after certain other commands?

            undefined 1 Reply Last reply 13 May 2019, 18:56 Reply Quote 0
            • undefined
              dc42 administrators @mudcruzr
              last edited by 13 May 2019, 18:56

              @mudcruzr said in RepRapFirmware 3.0:

              I tried the M950 command as the very last line in my config.g and it didn't work, I also can't see anything in config-override.g that would change it. So I think it's a question for @dc42

              @dc42 David, where must the M950 command reside? I have it as the very last command in my config.g but in order to use my bltouch probe I must also put it in the deployprobe.g file immediately before the M280 for it to work.

              After the deployprobe.g file has run once, I don't need to put M950 anywhere else, everything just works. Are there any rules about where it must be either before or after certain other commands?

              Putting the M950 command at the end of config.g should work. The rules are:

              1. At the point where you run M950, the pin you are assigning must be free. So you must cancel any default or previous assignment before the M950 command.

              2. The M950 command must be executed before the command that uses the mapping it sets up - so in your case, before the first M280 command is executed.

              It may help to run M98 P"config.g" so that you can see any errors that are thrown when config.g executes.

              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
              • undefined
                mudcruzr
                last edited by 13 May 2019, 20:53

                No errors from config.g but I now have the probe working. I hadn't put the C"zprobe.in" in the M558 line because the probe was working without it (as long as the M950 was still in deployprobe.g). As soon as I added the C"zprobe.in" everything started working as it should. The M558 line is now:

                M558 P9 C"zprobe.in" H5 F300 T4000 A10 S0.003 R0.5 B1

                And M950 S0 C"zprobe.mod" is the last line in my config.g and nowhere else.

                Thanks guys.

                undefined undefined 2 Replies Last reply 14 May 2019, 07:43 Reply Quote 0
                • undefined
                  PaulHew @mudcruzr
                  last edited by 14 May 2019, 07:43

                  @mudcruzr Would you care to share your config.g please. I have been looking to upgrade to RRF3 but need a template to work from!
                  TIA Paul.

                  RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                  Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                  undefined 1 Reply Last reply 14 May 2019, 08:01 Reply Quote 0
                  • undefined
                    mudcruzr @PaulHew
                    last edited by mudcruzr 14 May 2019, 08:01

                    @paulhew said in RepRapFirmware 3.0:

                    @mudcruzr Would you care to share your config.g please. I have been looking to upgrade to RRF3 but need a template to work from!
                    TIA Paul.

                    Sure, here you go:
                    0_1557820856402_config.g

                    Edit: I should mention that I have 2 separately controlled Y motors and 2 separately controlled Z motors.

                    undefined 1 Reply Last reply 14 May 2019, 10:05 Reply Quote 0
                    • undefined
                      mudcruzr
                      last edited by mudcruzr 14 May 2019, 08:10

                      I've modified my Maestro 12864 menu files to work with RRF3b1, but to avoid confusion I've created a separate new repository on Github for them. There are no changes to functionality yet, they do the same as before but work with RRF3.

                      Here they are: https://github.com/mudcruzr/Duet-Maestro-12864-Menu-Files-for-RRF3b1/releases/tag/v0.1.RRF3b1

                      1 Reply Last reply Reply Quote 1
                      • ?
                        A Former User
                        last edited by 14 May 2019, 09:13

                        Should you not be able to use M401 instead of M280 to keep the menu files the same? I thought M401 called M98 P"deployprobe.g" which then can ve version specific?

                        undefined undefined 2 Replies Last reply 14 May 2019, 10:15 Reply Quote 0
                        • undefined
                          PaulHew @mudcruzr
                          last edited by 14 May 2019, 10:05

                          @mudcruzr Thank you, greatly appreciated.
                          Yes I saw the Y and Z's in the code and did wonder!

                          Time to back everything up and try it!
                          Thanks again.
                          Paul

                          RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                          Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            mudcruzr @A Former User
                            last edited by 14 May 2019, 10:15

                            @bearer said in RepRapFirmware 3.0:

                            Should you not be able to use M401 instead of M280 to keep the menu files the same? I thought M401 called M98 P"deployprobe.g" which then can ve version specific?

                            I guess I could, but I expect RRF2 and RRF3 to diverge more and more as RRF3 develops and trying to include new RRF3 functionality while maintaining backwards compatibility with RRF2 seems a bit like making a rod for my own back. I fully expect the whole lot to be rewritten & redesigned more than once.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              dc42 administrators @mudcruzr
                              last edited by 14 May 2019, 11:41

                              @mudcruzr said in RepRapFirmware 3.0:

                              No errors from config.g but I now have the probe working. I hadn't put the C"zprobe.in" in the M558 line because the probe was working without it (as long as the M950 was still in deployprobe.g). As soon as I added the C"zprobe.in" everything started working as it should. The M558 line is now:

                              M558 P9 C"zprobe.in" H5 F300 T4000 A10 S0.003 R0.5 B1

                              And M950 S0 C"zprobe.mod" is the last line in my config.g and nowhere else.

                              Thanks guys.

                              I can see why. The default pin configuration for M558 is "zprobe.in+zprobe.mod". For your M950 command to work, the zprobe.mod pin must be free. So you need to redefine the Z probe pins as just "zprobe.in" in M558, to free up the "zprobe.mod" 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
                              • undefined
                                dc42 administrators @A Former User
                                last edited by 14 May 2019, 11:45

                                @bearer said in RepRapFirmware 3.0:

                                Should you not be able to use M401 instead of M280 to keep the menu files the same? I thought M401 called M98 P"deployprobe.g" which then can ve version specific?

                                M401 does a little more than that, it also records the Z probe as being deployed. This means that when you come to do a G30, the firmware knows that the probe is deployed, so it doesn't do an automatic deploy/retract around the G30 command. This can be used to deploy the probe just once at the start of bed.g and retract the proibe just once at the end. [This doesn't work for BLTouch, which needs to be deployed/retracted at every probe point.]

                                So M401 should always be used in preference to M98 Pdeployprobe.g, and similarly M402 instead of M98 Pretractprobe.g.

                                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
                                • undefined
                                  gtj0
                                  last edited by gtj0 15 May 2019, 19:27

                                  @dc42 just did a git pull to get your latest v3-dev changes and just fyi... auto bed levelling is still non-automatic. Calculations are done but no movement.

                                  If you don't have time to look at it right now, that's cool. I can take a look this weekend.

                                  undefined 1 Reply Last reply 16 May 2019, 15:51 Reply Quote 0
                                  • undefined
                                    dc42 administrators @gtj0
                                    last edited by 16 May 2019, 15:51

                                    @gtj0 said in RepRapFirmware 3.0:

                                    @dc42 just did a git pull to get your latest v3-dev changes and just fyi... auto bed levelling is still non-automatic. Calculations are done but no movement.

                                    If you don't have time to look at it right now, that's cool. I can take a look this weekend.

                                    Does it work properly on your printer using 2.03RC2 ?

                                    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

                                    undefined 1 Reply Last reply 16 May 2019, 16:49 Reply Quote 0
                                    • undefined
                                      gtj0 @dc42
                                      last edited by 16 May 2019, 16:49

                                      @dc42 said in RepRapFirmware 3.0:

                                      @gtj0 said in RepRapFirmware 3.0:

                                      @dc42 just did a git pull to get your latest v3-dev changes and just fyi... auto bed levelling is still non-automatic. Calculations are done but no movement.

                                      If you don't have time to look at it right now, that's cool. I can take a look this weekend.

                                      Does it work properly on your printer using 2.03RC2 ?

                                      I just double checked and yes it works on 2.03RC2. It does the 3 probes, calculates the offsets, then adjusts the motors to compensate.

                                      undefined 1 Reply Last reply 16 May 2019, 17:46 Reply Quote 0
                                      • undefined
                                        dc42 administrators @gtj0
                                        last edited by 16 May 2019, 17:46

                                        @gtj0, thanks for confirming this. I will invesgigate the issue RRF3.

                                        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
                                        • undefined
                                          dc42 administrators
                                          last edited by 16 May 2019, 18:50

                                          I think I have found the reason for leadscrew moves not working. I have pushed some updates to the RRF 3 source. Please note, I have also made some changes to the M558 command.

                                          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

                                          undefined 1 Reply Last reply 16 May 2019, 23:29 Reply Quote 0
                                          87 out of 176
                                          • First post
                                            87/176
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA