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

RepRapFirmware 3.01beta1 released

Scheduled Pinned Locked Moved
Beta Firmware
16
60
3.4k
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
    carlosspr @carlosspr
    last edited by 15 Jan 2020, 16:13

    @carlosspr Solved. I was missing M584 drive mapping on config.g

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators @kraegar
      last edited by dc42 15 Jan 2020, 16:35

      @kraegar said in RepRapFirmware 3.01beta1 released:

      And removing the nested if's to replace with && crash it

      Thanks, I've reproduced the crash by adding that line to my own script. I will look into it. Even if you do make a syntax error, you should get a helpful error message.

      PS - now I know that the new crash handler I added for uncaught exceptions works!

      Last software reset at 2020-01-15 16:35, reason: Terminate called, spinning module GCodes, available RAM 9464 bytes (slot 2)

      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 1
      • undefined
        kraegar
        last edited by 15 Jan 2020, 16:58

        Trying to test if move.initialDeviation.deviation is 0.000

        if move.initialDeviation.deviation != 0
        echo "one " ^ move.initialDeviation.deviation

        83c9cb72-03ae-4e80-91d3-58941a2c06fd-image.png

        I've tried using 0.000 as well, with the same result. == 0.000 or == 0 doesn't match, even though it is.

        (I'm trying to determine if leveling has been run at all yet, my only clear method for now is to see if initial and calirbated deviation and mean are all 0.000)

        Co-Creator of the RailcoreII CoreXY printer
        https://www.thingiverse.com/thing:2407174

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 15 Jan 2020, 17:03

          Just done some tests. There is a problem with equality between floats.

          The other problem you had is because the GCode line was too long. I changed it to throw an exception when that happens, but the exception isn't caught.

          This is all very new code, so I was expecting some bugs.

          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
            kraegar
            last edited by 15 Jan 2020, 17:06

            Yep, I'm just playing, happy to just keep reporting. Variables will clean the code up a lot, but that's a big ask 🙂

            Co-Creator of the RailcoreII CoreXY printer
            https://www.thingiverse.com/thing:2407174

            1 Reply Last reply Reply Quote 0
            • undefined
              kraegar
              last edited by 15 Jan 2020, 17:09

              Once variables are implemented, if they're "system wide" and not constrained to the macro they're called in, I would set a "is_level = false" in config.g, and set to true once leveling is run. Negating the need for this method of checking.

              But I can't resist playing 🙂

              Co-Creator of the RailcoreII CoreXY printer
              https://www.thingiverse.com/thing:2407174

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by dc42 15 Jan 2020, 17:56

                Thanks for your reports. These two issues are now fixed in the latest builds at https://www.dropbox.com/sh/3azy1njy3ayjsbp/AACquxr2m00eV568RZg5QG5wa?dl=0.

                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 1
                • undefined
                  kraegar
                  last edited by 15 Jan 2020, 18:09

                  Can I just say, HUGE thank you!
                  I've already made a script to tune PA, Temp, and Extrusion % (just call the macros via layer change) as well as the auto-leveling and a "pre-print" systems readiness check.

                  This is amazing!

                  Co-Creator of the RailcoreII CoreXY printer
                  https://www.thingiverse.com/thing:2407174

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    kraegar
                    last edited by 15 Jan 2020, 18:24

                    Float comparisons are now working, and the other errors gracefully:

                    Error: in file macro, line 20 column 1: GCode command too long

                    Thanks!

                    Co-Creator of the RailcoreII CoreXY printer
                    https://www.thingiverse.com/thing:2407174

                    undefined 1 Reply Last reply 15 Jan 2020, 18:28 Reply Quote 0
                    • undefined
                      dc42 administrators @kraegar
                      last edited by dc42 15 Jan 2020, 18:28

                      Thanks for confirming. FWIW, maximum GCode line length excluding leading white space, line number and checksum (if present) and comments is currently 160 characters.

                      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 undefined 2 Replies Last reply 15 Jan 2020, 19:23 Reply Quote 1
                      • undefined
                        kraegar
                        last edited by 15 Jan 2020, 18:34

                        We're going to need line numbers in the file editor in DWC now 🙂

                        Co-Creator of the RailcoreII CoreXY printer
                        https://www.thingiverse.com/thing:2407174

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          4lathe
                          last edited by 15 Jan 2020, 18:50

                          Can I use that new duet2combinedfirmware.bin on my maestro? The 3.01 was duetmaestrofirmware.bin.

                          undefined 1 Reply Last reply 15 Jan 2020, 19:18 Reply Quote 0
                          • undefined
                            DIY-O-Sphere @4lathe
                            last edited by 15 Jan 2020, 19:18

                            @4lathe
                            It's still DuetMaestroFirmware.bin

                            (UTC+1)

                            1 Reply Last reply Reply Quote 1
                            • undefined
                              DIY-O-Sphere @dc42
                              last edited by DIY-O-Sphere 15 Jan 2020, 19:23

                              @dc42
                              Hi David, maybe I have found a bug....
                              For testing I was back on 2.05 on a Maestro (DWC 2.06) and I was not able to get back directly to 3.01b.
                              Flashing 3.0 stable worked.

                              (UTC+1)

                              undefined 1 Reply Last reply 15 Jan 2020, 19:27 Reply Quote 0
                              • undefined
                                dc42 administrators @DIY-O-Sphere
                                last edited by 15 Jan 2020, 19:27

                                @DIY-O-Sphere said in RepRapFirmware 3.01beta1 released:

                                For testing I was back on 2.05 on a Maestro (DWC 2.06) and I was not able to get back directly to 3.01b.

                                Read the upgrade notes!

                                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 15 Jan 2020, 19:42 Reply Quote 0
                                • undefined
                                  gtj0 @dc42
                                  last edited by 15 Jan 2020, 19:32

                                  @dc42 said in RepRapFirmware 3.01beta1 released:

                                  Thanks for confirming. FWIW, maximum GCode line length excluding leading white space, line number and checksum (if present) and comments is currently 160 characters.

                                  Are you sending them via text message??? 🙂

                                  undefined 1 Reply Last reply 15 Jan 2020, 21:38 Reply Quote 0
                                  • undefined
                                    DIY-O-Sphere @dc42
                                    last edited by 15 Jan 2020, 19:42

                                    @dc42 said in RepRapFirmware 3.01beta1 released:

                                    Read the upgrade notes!

                                    Sorry....The one who can read is in advantage

                                    (UTC+1)

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      dc42 administrators @gtj0
                                      last edited by 15 Jan 2020, 21:38

                                      @gtj0 said in RepRapFirmware 3.01beta1 released:

                                      @dc42 said in RepRapFirmware 3.01beta1 released:

                                      Thanks for confirming. FWIW, maximum GCode line length excluding leading white space, line number and checksum (if present) and comments is currently 160 characters.

                                      Are you sending them via text message??? 🙂

                                      Hadn't you noticed your smartphone bills going up every time you print? 😉

                                      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 15 Jan 2020, 22:23 Reply Quote 1
                                      • undefined
                                        gtj0 @dc42
                                        last edited by 15 Jan 2020, 22:23

                                        @dc42 said in RepRapFirmware 3.01beta1 released:

                                        @gtj0 said in RepRapFirmware 3.01beta1 released:

                                        @dc42 said in RepRapFirmware 3.01beta1 released:

                                        Thanks for confirming. FWIW, maximum GCode line length excluding leading white space, line number and checksum (if present) and comments is currently 160 characters.

                                        Are you sending them via text message??? 🙂

                                        Hadn't you noticed your smartphone bills going up every time you print? 😉

                                        Ah that makes sense now. I though it was the cat texting his buddy across the street.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          garyd9 @kraegar
                                          last edited by 16 Jan 2020, 01:38

                                          @kraegar said in RepRapFirmware 3.01beta1 released:

                                          Here is the version that works well:

                                          I like this, but it seems unnatural to have to repeat the same G30 commands twice in the same script. This is more significant with a delta printer (that often has many more probe points.)

                                          I'm wondering what alternatives might exist. I see there's no do/while (which would be my first thought), but I'm wondering if it would work to put the list of G30 gcodes in a different file (bed-probes.g)

                                          @dc42, do the variables from the object model available survive across different scripts? For example, if I had file called "bed-ProbePoints.g" that contained something like:

                                          G30 P0 Xn Yn
                                          ...
                                          G30 P18 X0 Y0 S6

                                          And then my bed.g contained:

                                          M561
                                          G28
                                          M98 P"bed-ProbePoints.g"
                                          while true
                                          if iterations > 5
                                          abort "something needs tightening..."
                                          if abs(move.initialDeviation.deviation - move.calibrationDeviation.deviation) <= 0.01
                                          break
                                          M98 P"bed-ProbePoints.g"

                                          Would this work? Would the deviation values be updated across the scripts?

                                          Thank you
                                          Gary

                                          "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

                                          undefined 1 Reply Last reply 16 Jan 2020, 01:58 Reply Quote 0
                                          30 out of 60
                                          • First post
                                            30/60
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA