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

    Maestro config not being executed on startup

    Scheduled Pinned Locked Moved Solved
    General Discussion
    7
    19
    854
    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.
    • themelleundefined
      themelle @droftarts
      last edited by

      @droftarts said in Maestro config not being executed on startup:

      I can't see anything particularly wrong with this line, except you've used single quotes rather than double quotes.

      According to https://duet3d.dozuki.com/Wiki/Gcode#Section_M911_Configure_auto_save_on_loss_of_power you need to use double quotes for the P parameter.
      The message Error: G0/G1: insufficient axes homed leads me to think that the single-quoted P parameter command line from the M911command is being interpreted and executed at config.g runtime as there is a G1 command in there.

      A Former User? 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @themelle
        last edited by

        @themelle that seems to be the explanation, I was wondering where the G0/G1 line was.
        0_1567596359027_d0ed7c86-72ad-4bc5-a62e-fe3d2947e023-image.png

        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @JoshL
          last edited by A Former User

          @joshl said in Maestro config not being executed on startup:

          including going through RepRap firmware configuration tool to generate a config file.

          Did the RRF configurator generate the M911 line with single quotes? If so that should probably be filed as a bug

          A Former User? 1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @A Former User
            last edited by

            @bearer said in Maestro config not being executed on startup:

            Did the RRF configurator generate the M911 line with single quotes? If so that should probably be filed as a bug

            it is a bug @chrishamm 👆

            1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User
              last edited by

              I would move the whole network section of g code to almost the top of the config.g file so that the network gets started first...

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User
                last edited by

                @calvinx said in Maestro config not being executed on startup:

                I would move the whole network section of g code to almost the top of the config.g file so that the network gets started first...

                seems it was further up earlier, but changed recently, and the quotes bug was introduced at the same time. wonder if that is the reason for the sudden increase in threads with network issues.

                anyways, hopefully the quotes will be fixed and the network moved back to the top shortly.

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

                  The position of the network command shouldn't matter, but the wrong quotes for the power loss recovery halting the execution of the config certainly is a problem.

                  Oddly, if the network section hadn't been moved down it would have been much harder to spot the wrong quote problem.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  A Former User? 1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @Phaedrux
                    last edited by

                    @phaedrux said in Maestro config not being executed on startup:

                    The position of the network command shouldn't matter

                    for users who find it difficult to use the serial terminal it does matter when errors are introduced, further complicated by the missmatch between default EOL in the firmware and the recommended terminal.

                    if the network were given "priority" at the top, and the web interface and/or paneldue would indicate that config.g was terminated due to an error everyone wins.

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

                      @bearer No argument there.

                      One helpful trick for issues like this is to send M98 Pconfig.g which will re-execute config.g as a macro, and any error messages will be echoed back, unlike at startup. I do wish that any startup errors would get punted to the console as well, but currently that's not the case.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 1
                      • MrsDelishundefined
                        MrsDelish
                        last edited by

                        I find Arduino IDE serial monitor really quick and easy to use to talk to Duets and other boards, it has a drop down menu to set line endings and baud rate on the serial window.

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