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

    Filament monitoring attached to U axis on

    Scheduled Pinned Locked Moved
    Filament Monitor
    3
    14
    481
    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.
    • Duet_loverundefined
      Duet_lover
      last edited by

      Can someone please help me to attach filament monitoring sensor specifically Bigtreetech on U axis or on E1 axis.

      Initially I trying to map the driving system like
      M584 X0 Y1 Z2 E3:4
      Where E3 is used for E0 extruder and E4 drive for E1 extruder.
      I want to control both extruder separately (independent to each other)
      For that i send G code G1 E100 then extruder extruder E0 start extruding filament but i am not able to find G code which can second extruder attached to E1.

      Can some one help me to do so,....

      After failure to control second extruder Seperately i assign the E1 drive to U axis where I can control it as per my requirement by using G code such as G1 U 100.
      But the problem is that i am not able attach filament sensor BTT on U axis.
      Can some one please help me.
      Here is the my drive maping code

      M584 X0 Y1 Z2 E3 U4

      jay_s_ukundefined droftartsundefined 2 Replies Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @Duet_lover
        last edited by

        @India you can only use filament monitors with extruders. i.e. they can't be assigned to other axis such as U

        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
        • droftartsundefined
          droftarts administrators @Duet_lover
          last edited by

          @India Define a tool that uses both extruders, then use something like G1 E100:0 to extrude from one, and G1 E0:100 to extrude from the other. Alternatively, set it up as a mixing extruder with M567, and adjust the mixing ratio before extrusion.

          From G1 notes:

          Where a tool has more than one extruder drive then Ennn:nnn:nnn etc is supported to allow for the individual movement of each to be controlled directly. This overrides the extruder mix ratio set with M567

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          Duet_loverundefined 1 Reply Last reply Reply Quote 0
          • Duet_loverundefined
            Duet_lover @droftarts
            last edited by

            @droftarts thanks for your quick response
            Can you please tell me, how to define a tool that uses both extruder

            droftartsundefined 1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @Duet_lover
              last edited by

              @India See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m563-define-or-remove-a-tool, particularly the description of the D, H and F parameters.

              Example:

              M563 P2 D0:1 H1:2 F0:2 ; create a tool using extruder drives 0 and 1, heaters 1 and 2,  and fan mapped to fans 0 and 2
              

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              Duet_loverundefined 1 Reply Last reply Reply Quote 0
              • Duet_loverundefined
                Duet_lover @droftarts
                last edited by Duet_lover

                @droftarts thanks for your help.
                As per your suggestion, I am able to configure two extruder E0 and E1 .1.PNG .
                M563 P0 D0:1
                G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
                G10 P0 R0 S0
                T0:1 ; tool

                After this I tried to monitor the filament runout using sensor BIGTREETECH by inserting the code in config.g as

                M591 D1 P7 C"e1stop" L7 R50:200 E5 S1 ;configure BTT smart filament sensor
                M591 D1 ; display filament sensor parameters for extruder drive

                where i have attached it to "e1stop" and run a two line g-code from SD card as
                G1 E0:50 F180
                G1 E0:-50 F180
                i found error shown in figure.

                3.PNG

                M591 D0 shows that there is no sensor (here I don't want to monitor the filament as it used for extruding liquid)

                M591 D1- shows the sensor attached to it and where I want to monitor the filament.

                so based on above can some one guide me

                droftartsundefined 1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @Duet_lover
                  last edited by

                  @India What firmware version are you running? Send M115 in the console, and post the response.

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  Duet_loverundefined 1 Reply Last reply Reply Quote 0
                  • Duet_loverundefined
                    Duet_lover @droftarts
                    last edited by

                    @droftarts 2fc55ef3-b16d-488d-b512-b501124e84e0-image.png

                    please find the response of M115

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @Duet_lover
                      last edited by

                      @India Please update to 3.4.6 and test again.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      Duet_loverundefined 1 Reply Last reply Reply Quote 0
                      • Duet_loverundefined
                        Duet_lover @droftarts
                        last edited by Duet_lover

                        @droftarts Thanks, I have updated the firmware to 3.4.6. Now it is not showing the problem as I was facing in old version.

                        Now filament sensor showing no calibrated data only as shown below

                        cd83636d-4b9f-4f53-931b-9eb14f73fa04-image.png

                        I have tried printing two line code from SD card (G1 E0:200; G1E0:-200) but it is not able to calibrate.
                        The code I have used to configure the sensor is
                        M591 D1 P7 C"e1stop" L7 R50:200 E22 S1

                        I am little confused about the R and E value , can u please suggest me how to get these value

                        Duet_loverundefined 1 Reply Last reply Reply Quote 0
                        • Duet_loverundefined
                          Duet_lover @Duet_lover
                          last edited by Duet_lover

                          @India said in Filament monitoring attached to U axis on:

                          @droftarts Thanks, I have updated the firmware to 3.4.6. Now it is not showing the problem as I was facing in old version.

                          Now filament sensor showing no calibrated data only as shown below

                          cd83636d-4b9f-4f53-931b-9eb14f73fa04-image.png

                          I have tried printing two line code from SD card (G1 E0:200; G1E0:-200) but it is not able to calibrate.
                          The code I have used to configure the sensor is
                          M591 D1 P7 C"e1stop" L7 R50:200 E22 S1

                          I am little confused about the R and E value , can u please suggest me how to get these value

                          @droftarts please help me out.

                          droftartsundefined 1 Reply Last reply Reply Quote 0
                          • droftartsundefined
                            droftarts administrators @Duet_lover
                            last edited by

                            @India I don't have a BigTreeTech filament monitor to test, it isn't manufactured by us, and I don't know if the way you have set it up is correct. Please refer to the BigTreeTech documentation, or at very least provide a link to it so I know which version you have: BTT have produced two, V1 and V2, which do you have?

                            According to the documentation here, the configuration should be:
                            V1 (which appears to be what you have, and have set)

                            M591 D1 P7 C"e1stop" L7 R75:125 E22 S1
                            

                            V2

                            M591 D1 P7 C"e1stop" L2.88 R75:125 E9 S1
                            

                            If your configuration is correct, I don't know how many points counts as calibrated, but I doubt just extruding and retracting 200mm is enough to calibrate it. It really needs to start a print, so enough data can be collected, particularly if you are using a V1, which has larger distance between points sampled. Use the E parameter suggested; the R parameter is just for how sensitive you want the monitor to be.

                            Ian

                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                            Duet_loverundefined 1 Reply Last reply Reply Quote 0
                            • Duet_loverundefined
                              Duet_lover @droftarts
                              last edited by

                              @droftarts thank you sir.

                              droftartsundefined 1 Reply Last reply Reply Quote 0
                              • droftartsundefined
                                droftarts administrators @Duet_lover
                                last edited by

                                @India Did you get it working? If so, please let us know, and what steps you took, so the information is here for other people, and so I can mark the thread as solved.

                                Ian

                                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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