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

    Startup m291 not displayed

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    display message m291 override panel due
    3
    8
    442
    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.
    • printernoodleundefined
      printernoodle
      last edited by printernoodle

      I'm trying to call a macro (...init_derack.g) from config.g which contains:
      M561
      M291 P"CLEAR THE BUILD AREA!!" R"STARTUP GANTRY DE-RACK" S3 T0

      G28
      M98 P"/macros/zprobe/use_itall.g"
      M98 P"/macros/homing/scripts/probe_zlevel.g"
      M561

      The trouble I'm having is the Wifi messages are displaying on the panel due and not letting the M291 startup message display.

      Suggestions?

      I tried setting notification time out to 0 but then they just persist...also tried the other timings which did not help.

      Paneldue firmware 1.23.2

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @printernoodle
        last edited by

        @printernoodle

        Are you trying to home in config.g?

        If so you might want to rethink that - it's not something I would recommend.

        And as I seem to recall M291 dialogs don't display during startup.

        I might be wrong about that though.

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        printernoodleundefined 1 Reply Last reply Reply Quote 0
        • printernoodleundefined
          printernoodle @fcwilt
          last edited by

          @fcwilt
          I would like to automatically call the scripts on startup or emergency stop...not exactly "home in config.g" hence the M291 S3 with infinite T0 so I can waive the operation if needed.
          Problem is the message window with "ok" and "cancel" only appears consistently on a total power down. Emergency stop seems to be different to the paneldue 7i.

          The scripts are necessary on EVERY loss of holding current to Z motors... so every boot or every E-stop.

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

            Firmware version of the Duet?

            I don't think using M291 in config.g is going to happen. You might be able to add a call to a separate macro that has your commands in it at the end of config.g maybe even add a few seconds of delay with G4 S5.

            The startup up sequence in config.g isn't a good time to start initiating blocking user prompts. You need to give the system time to finish starting up.

            I think a better place for your macro might be homeall? You need to home before you can move the motors anyway.

            Z-Bot CoreXY Build | Thingiverse Profile

            printernoodleundefined 1 Reply Last reply Reply Quote 0
            • printernoodleundefined
              printernoodle @Phaedrux
              last edited by printernoodle

              @phaedrux
              Board: Duet 2 WiFi (2WiFi)
              Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.3RC2 (2021-05-11)
              Duet WiFi Server Version: 1.26

              and the panel due firmware is now current at 3.2.11

              I'm not calling m291 in config.g as I am calling a separate macro that has my commands in it at the end of config.g

              I tried dwell and this just delays the wifi message stack and then the m291 is still buried but only on emergency stop. Also after the Due7 is reset or powered down it catches the "pending" m291 message.

              It's odd though that the behavior is as expected for a full power cycle or emergency stop combined with panel due reset switch.

              It's functional enough I suppose just an interesting limit at this point for me.

              fcwiltundefined 1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @printernoodle
                last edited by

                @printernoodle said in Startup m291 not displayed:

                I'm not calling m291 in config.g as I am calling a separate macro that has my commands in it ant the end of config.g

                That's basically the same as calling it in config.g.

                Is there a reason you cannot simply hit the "home all" button on the DWC or PD after the printer is powered up?

                Thanks.

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                printernoodleundefined 1 Reply Last reply Reply Quote 0
                • printernoodleundefined
                  printernoodle @fcwilt
                  last edited by printernoodle

                  @fcwilt

                  Oh sure it's because the gantry de-rack is typically a few mm....but can be as much as 10 or more mm depending on which moron has had their way with the machine....so a special de-rack with a suitably large dive value is called so as to avoid the creaming of the bed. Then every sliced print can call a simple g28 which will home everything much more accurately and quickly without the large dive to correct for error which is no longer there.

                  Thank you!

                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                  • fcwiltundefined
                    fcwilt @printernoodle
                    last edited by

                    @printernoodle said in Startup m291 not displayed:

                    @fcwilt

                    Oh sure it's because the gantry de-rack is typically a few mm....but can be as much as 10 or more mm depending on which moron has had their way with the machine....so a special de-rack with a suitably large dive value is called so as to avoid the creaming of the bed. Then every sliced print can call a simple g28 which will home everything much more accurately and quickly without the large dive to correct for error which is no longer there.

                    Thank you!

                    Thanks but I have no idea what you are talking about.

                    Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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