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

    encoder filament motion

    Scheduled Pinned Locked Moved Unsolved
    Filament Monitor
    3
    18
    1.3k
    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.
    • JVundefined
      JV
      last edited by

      Hello Guys
      I need some help because i'm adding an encoder to monitor the filament movement.
      I have the firmware version 2.0(RTOS) (2018-06-05b3), and i mount an encoder with 600ppr
      i put the M591 D0 P7 C5 S1 R50:140 E6 L34 parameter.
      i saw that each turn of the encoder, the filament move 34mm.
      i have 16 microsteeping and 675.958 steps per mm in the extruder set up.
      when i send the M591D0, this is what came out:

      M591 D0
      Pulse-type filament monitor on endstop input 5, enabled, sensitivity 34.00mm/pulse, allowed movement 50% to 140%, check every 6.0mm, no data received

      First question:
      Should i update the firmware? if i should update the firmware, could you send me a post to understand how can i do?

      The L parameter is ok?

      I really appreciate any suggestion that you can give me

      Thanks

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

        If the encoder has 600 pulses per revolution (which is a lot!), and one revolution is 34mm of filament, then the L parameter should be 34/600 = 0.0567mm.

        You should update the firmware to version 2.02.

        You will need to start a print to check the calibration.

        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

        JVundefined 1 Reply Last reply Reply Quote 0
        • JVundefined
          JV @dc42
          last edited by

          @dc42
          Thanks for your reply
          I update the firmware to the 2.02. firmware version and i change the L parameter as you suggest and i still having the same problem.

          M591 D0 P7 C5 S1 R50:140 E6 L0.0567

          M591 D0
          Pulse-type filament monitor on endstop input 5, enabled, sensitivity 0.06mm/pulse, allowed movement 50% to 140%, check every 6.0mm, no data received

          I check the status of the endstop and it change each time that the encoder turns around.
          ☹
          Thanks

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

            Can you confirm that you don't have a DueX in your system, and you have connected your filament monitor directly to the E4 endstop input on the expansion connector?

            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

            JVundefined 1 Reply Last reply Reply Quote 0
            • JVundefined
              JV @dc42
              last edited by JV

              @dc42
              I have a duet2 ethernet with a Duet Expansion Breakout Board, i took the 5 volts from conn sd 1-2 pin and in the output signal from the encoder i put a 1k pull up resistor and them i connect it to the E1 stop
              My encoder works with a voltage from 5 volts to 24 volts dc

              JVundefined 1 Reply Last reply Reply Quote 0
              • JVundefined
                JV @JV
                last edited by

                Iwere wrong with the c parameter.
                I should use the C4 and not the C5. 😌
                Now i'm getting this result:
                M591 D0
                Pulse-type filament monitor on endstop input 4, enabled, sensitivity 0.06mm/pulse, allowed movement 50% to 140%, check every 6.0mm, current position 0.0, measured sensitivity 0.057mm/pulse, measured minimum 95%, maximum 105% over 548.4mm
                i'll make some test now that is working.
                I'll keep you up-to-date
                Thanks again David

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

                  @jv said in encoder filament motion:

                  Iwere wrong with the c parameter.
                  I should use the C4 and not the C5. 😌
                  Now i'm getting this result:
                  M591 D0
                  Pulse-type filament monitor on endstop input 4, enabled, sensitivity 0.06mm/pulse, allowed movement 50% to 140%, check every 6.0mm, current position 0.0, measured sensitivity 0.057mm/pulse, measured minimum 95%, maximum 105% over 548.4mm
                  i'll make some test now that is working.
                  I'll keep you up-to-date
                  Thanks again David

                  Looks like it's working well then!

                  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

                  JVundefined 1 Reply Last reply Reply Quote 0
                  • JVundefined
                    JV @dc42
                    last edited by

                    @dc42
                    nothing, the machine is going in pause each 20 seconds 😓

                    T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                    • T3P3Tonyundefined
                      T3P3Tony administrators @JV
                      last edited by

                      @jv what reason does it give for pausing?

                      www.duet3d.com

                      JVundefined 1 Reply Last reply Reply Quote 0
                      • JVundefined
                        JV @T3P3Tony
                        last edited by

                        @t3p3tony
                        Printing paused
                        Extruder 0 reports too little movement

                        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators @JV
                          last edited by

                          @jv use M591 D0 to show what the monitor is seeing. It sounds like it's triggering as expected when the settings don't match the output.

                          www.duet3d.com

                          1 Reply Last reply Reply Quote 0
                          • JVundefined
                            JV
                            last edited by JV

                            I really sorry guys, at the moment i couldn't make any test because something really weird happened, i was trying to understand why the extruder doesn't works and i feel like an electrical discharge and them the program that i was printing dissapear, the lights in the board start to blinking.

                            i lost the connection with the computer and i can't restart to work with the macchine....

                            The panel due works and show me all the info but when i try to homing my motors make to much noise and don't move.

                            the green led 3.3v in the board is blinking very fast

                            The fan works with the high speed and the commands dosn't respond

                            What should i do?

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

                              Is the SD card still readable in a PC?

                              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 0
                              • JVundefined
                                JV
                                last edited by

                                @dc42
                                sorry for my late reply
                                Yes, i can see the SD CARD.

                                Yesterday i could print 1 part (the macchine stop each 20 minutes because the filament runout), today i have this error windows coming out:

                                The connection between the browser and your machine has been interrupted.
                                Reason unknow (SystemError JSON.parse: unecxpected keyword at line 1 column 1 of the JSON data)
                                Please reload the web interface to proceed.

                                after a couple times that i try to connect and change some parameters in the config.g file, the board lost connection again and then came out this window:

                                CONNECTION LOST

                                The connection between the browser and your machine has been interrupted
                                Reason: Unknow (bad qualifier Key)
                                Please reload the web interface to proceed.

                                And i try to reload many times, some times it connect it again with the macchine and some times it doesn't.

                                Now i can not connect at all with the board and it came out this window.

                                Your Duet rejected the HTTP request: unexpected newline

                                I don't know what else to do

                                JVundefined 1 Reply Last reply Reply Quote 0
                                • JVundefined
                                  JV @JV
                                  last edited by

                                  I run a program that i have in the sd card an the machine works normaly but i can connect with the DWC

                                  ☹

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

                                    Is the wifi module hot? Or the main processor? Warm is normal for both.

                                    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

                                    JVundefined 1 Reply Last reply Reply Quote 0
                                    • JVundefined
                                      JV @dc42
                                      last edited by

                                      @dc42
                                      Hi David
                                      Is an ethernet board, the WIZ NET W5500 microchip near to the ethernet connector is very HOT, thre main proessor is warm

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

                                        @jv said in encoder filament motion:

                                        @dc42
                                        Hi David
                                        Is an ethernet board, the WIZ NET W5500 microchip near to the ethernet connector is very HOT, thre main proessor is warm

                                        The wiznet chip should not be hot. I suggest you contact your supplier for a possible warranty repair/replacement.

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