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

    M200 Filament Diameter not applying when run in tool macro files

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    12
    630
    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.
    • littlehobbyshopundefined
      littlehobbyshop
      last edited by

      I am trying to set filament diameter in either tpre or tpost files. Neither actually sets the filament diameter and sets volumetric extrusion. When I run the same command in the web console, it applies just fine?

      BLV MGN Cube w/Hemera, K8200, Sunlu S8

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

        Firmware version?

        Z-Bot CoreXY Build | Thingiverse Profile

        littlehobbyshopundefined 1 Reply Last reply Reply Quote 0
        • littlehobbyshopundefined
          littlehobbyshop @Phaedrux
          last edited by

          @phaedrux Sorry, missing the basics. I'm on 3.3 at the moment, due to it being the STM32 version from TeamGloomy running on a BigTreeTech GTR. Latest release from them. It's a self build paste extruding machine (syringes).

          M200 is applying when run within a macro or from config.g. So far it seems only the tool change files are the issue.

          BLV MGN Cube w/Hemera, K8200, Sunlu S8

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

            @littlehobbyshop we have 3.4 out now for STM32

            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

            littlehobbyshopundefined 1 Reply Last reply Reply Quote 0
            • littlehobbyshopundefined
              littlehobbyshop @jay_s_uk
              last edited by

              @jay_s_uk Thanks I did check that yesterday and considered it but it's still listed as an unstable build and I'm mid build on this slightly experimental machine so was a bit wary of throwing possible firmware problem shenanigans into the mix.

              I'm going to have to update soon though I'm going to need the tool independent retraction update to M207.

              BLV MGN Cube w/Hemera, K8200, Sunlu S8

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

                @littlehobbyshop i've been running it for quite a while. no issues here

                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

                littlehobbyshopundefined 1 Reply Last reply Reply Quote 1
                • littlehobbyshopundefined
                  littlehobbyshop @jay_s_uk
                  last edited by

                  @jay_s_uk OK, I might give it a try this weekend but there's no changes listed to M200 in the changelog

                  BLV MGN Cube w/Hemera, K8200, Sunlu S8

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

                    @littlehobbyshop we track all changes with the official duet version and we probably wouldn't release an update to 3.3 unless it was critical.
                    Best to update and check first, then report here (or preferably on the discord channel) so @gloomyandy can investigate

                    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

                    littlehobbyshopundefined 1 Reply Last reply Reply Quote 0
                    • littlehobbyshopundefined
                      littlehobbyshop @jay_s_uk
                      last edited by

                      @jay_s_uk I have a Duet2 Wifi machine so will check on there also, also running 3.3. Might be helpful, should've thunk of that earlier! Will move to the discord if it's not a problem on the Duet board.

                      BLV MGN Cube w/Hemera, K8200, Sunlu S8

                      littlehobbyshopundefined 1 Reply Last reply Reply Quote 1
                      • littlehobbyshopundefined
                        littlehobbyshop @littlehobbyshop
                        last edited by littlehobbyshop

                        OK, so have quickly checked on the Duet2 Wifi. Same behaviour.

                        I did find this reference https://forum.duet3d.com/post/265794
                        Where the M200 behaviour is described as resetting to linear extrusion when a print file starts. I did another check with a macro and found that M200 volumetric extrusion only lives as long as the macro itself. It's unexpected behaviour tbh but appears to be deliberate and the same is being applied to the tool change macros.

                        Macro looked like this:
                        M200 D1.75
                        M200

                        Which resulted in this console output, the first M200 being manually sent via the web console.
                        29e12bc1-b5ef-433c-aa19-d55c3583a5ea-image.png

                        I'm not able to test yet but it would seem if you're wanting to run a volumetric extrusion job and have tool changes, you might have to call M200 after each tool change? Or perhaps it persists because the tool change is being called as a "sub macro" of the print file? I don't know, if it's documented somewhere I can't find it.

                        This behaviour needs documenting in the GCODE Dictionary really. Since the move to WikiJS I'm not sure how to contribute.

                        BLV MGN Cube w/Hemera, K8200, Sunlu S8

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

                          @littlehobbyshop i believe when a macro is ran, it saves the printer state, e.g. absolute or relative and then restores it afterwards.
                          maybe its doing the same for extrusion?

                          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

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

                            @littlehobbyshop I can confirm that the volumetric extrusion on/off flag is saved when a macro is called and restored when it completes. However, the filament diameters are not saved and restored.

                            If you always use volumetric extrusion, you can add a M200 command to config.g.

                            You should include a M200 command in your slicer start GCode if the print is sliced using volumetric extrusion.

                            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
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA