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

    Startup error on RRF 3.5.0 rc1

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    5
    20
    750
    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 @jens55
      last edited by

      @jens55 said in Startup error on RRF 3.5.0 rc1:

      M98 P"stepper_settings_default.g" ; call stepper_settings_default.g in order to set default parameters

      what's in this file?

      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

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

        @jens55 your M350 line also has two Z values where there should only be one.

        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

        jens55undefined 1 Reply Last reply Reply Quote 1
        • jens55undefined
          jens55 @jay_s_uk
          last edited by

          @jay_s_uk

          ;Set up default stepper parameters. This file is called from config.g for initial setup
          ; it is also called from other macros after the default settings were changed in order to return to default parameters.
          ; ie for probing speed, acceleration and jerk needs to be reduced. After the probing has finished, call this file to restore the default settings
          ; call tis file as follows:  M98 P"stepper_settings_default.g"
          
          M566 X600.00 Y300.00 Z600.00:600.00 E3000         ;:3000    ; Set maximum instantaneous speed changes (mm/min) (jerk) **************updated but nt checked yet
          M203 X30000.00 Y20000.00 Z2000.00:2000.00 E6000   ;:6000    ; Set maximum speeds (mm/min)
          M201 X3000.00 Y300.00 Z300:300 E3000              ;:3000    ; Set accelerations (mm/s^2)
          M906 X1500.00 Y1500.00 Z800.00:800.00 E800 I50    ;:800 I50 ; Set motor currents (mA) and motor idle factor in per cent  extruder motor current was too high at 800 ma, trying to prevent filament from being ground down so reduced drive to 600 ma
          M84 S30                                                     ; Set idle timeout
          
          
          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jens55undefined
            jens55 @dc42
            last edited by

            @dc42, I removed the second Z microstep configuration in M350 but the error code remained unchanged.

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

              @jens55 you need to remove the doubled up Z values from here too

              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

              jens55undefined 2 Replies Last reply Reply Quote 0
              • jens55undefined
                jens55 @jay_s_uk
                last edited by jens55

                @jay_s_uk on which line please? Note that as per @DC42 line 52 (M350) was fixed.

                1 Reply Last reply Reply Quote 0
                • jens55undefined
                  jens55 @jay_s_uk
                  last edited by

                  @jay_s_uk I removed all the doubled up Z lines in stepper_settings_default.g but the error message is still there

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

                    @jens55 can you post the output of M98 P"config.g"

                    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

                    jens55undefined 1 Reply Last reply Reply Quote 0
                    • jens55undefined
                      jens55 @jay_s_uk
                      last edited by jens55

                      @jay_s_uk

                      m98 p"config.g"
                      HTTP is enabled on port 80
                      FTP is disabled
                      TELNET is disabled

                      There were a couple of other errors reported but I fixed those and re-ran the command

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

                        @jens55 said in Startup error on RRF 3.5.0 rc1:

                        M98 P"/sys/Toffset.g"

                        maybe this one not being fully formed? missing the 0:

                        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

                        jens55undefined 1 Reply Last reply Reply Quote 0
                        • jens55undefined
                          jens55 @jay_s_uk
                          last edited by

                          @jay_s_uk

                          Changed the formatting on both M98 lines - no change

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

                            @jens55 said in Startup error on RRF 3.5.0 rc1:

                            Error in start-up file macro line 46: in file macro line 46 column 35: M92: array too long, max length = 0
                            Line 46 in config.g is:
                            M92 X80.20 Y80.15 Z400.00:400.00 E400

                            Going back to that original message, the error states that it expected an array of length 0. You also said that if you separate the E value into a separate M92 line, the error moves to that line.

                            The likely cause is that you have no extruders configured at the point at which that line is executed. If it's a CNC or laser machine that has no extruders, just remove the E parameter. If it's a 3D printer and you do need extruders, move the M92 line to a position later in the file than the M584 command that creates the extruder(s).

                            Edit: this is indeed the problem, your M92 E command is at line 49 and the M584 command is line 56.

                            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

                            jens55undefined 1 Reply Last reply Reply Quote 0
                            • jens55undefined
                              jens55 @dc42
                              last edited by

                              @dc42, thank you. I moved M584 to before the M92 commands and now , after a minor other fix, everything is working and there are no error messages.

                              1 Reply Last reply Reply Quote 1
                              • 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