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

    Filament sensor switch in 4 axis Delta

    Scheduled Pinned Locked Moved
    Filament Monitor
    4
    17
    670
    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.
    • anderundefined
      ander
      last edited by

      Hi there!
      I would like to connect a regular filament sensor switch to my duet wifi with firmware 3.0.
      My machine is a delta printer with 4th axis that carries a flying extruder on the 4th axis.
      My E0 stop port is used for the effector´s switch and the E1 stop port is used for the aditional axis´s endstop(U axis).
      My idea was to use the expasion board´s pin for the filament switch(E2´s stop pin).
      But i don´t mannage to make it work.
      I would also like to know what changes in the web control when you activate this function so i can test properly if works.
      This in my config.g :
      config(6).g

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

        Can you send M115 to confirm what firmware version you have? It should be 3.1.1, if not, you should update.

        Here are your endstop pin name options to use in M591 for the filament sensor:

        Endstop inputs
        
        xstop
        ystop
        zstop
        e0stop
        e1stop
        exp.e2stop, exp.4
        exp.e3stop, exp.9, duex.cs6
        exp.e4stop, exp.14, duex.cs7
        exp.e5stop, exp.19, duex.cs8
        exp.e6stop, exp.24
        duex.e2stop
        duex.e3stop
        duex.e4stop
        duex.e5stop
        duex.e6stop
        

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M591_Configure_filament_sensing

        In your config.g you have this: M591 D5 C3 P1 E6.0 but that's not going to work in RRF3. C needs to be the pin name you're using.

        Can you send M98 P"config.g"? I think you'll see a few error messages pop up.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • anderundefined
          ander
          last edited by

          @Phaedrux said in Filament sensor switch in 4 axis Delta:

          M98 P"config.g"

          Thanks for the help.
          Yes, my firmware was 3.0 and i uploaded to 3.1.1 but i had some trouble after doing so.
          now the screen shows "connecting" the whole time and it doesn´t work .
          from the duet web control it works normal.
          this is what popped out when i send the comand you asked me to send:
          17/10/2020 12:08:15 M98 P"config.g"
          HTTP is enabled on port 80
          FTP is disabled
          TELNET is disabled
          Error: Z axis maximum must be greater than minimum
          Endstop configuration:
          X: high end switch connected to pin xstop
          Y: high end switch connected to pin ystop
          Z: high end switch connected to pin zstop
          U: high end switch connected to pin e0stopWarning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
          Error: in file macro line 76: M591: parameter 'D' too high
          Warning: Macro file config-override.g not found

          this is what shows now sending m115:
          m115
          FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.1.1 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-05-19b2

          i don´t know why but an error pops out when i try to update duetwificonbined.bin
          i updated duet2and3firmware3.1.1.zip and worked.

          config(7).g

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

            @ander said in Filament sensor switch in 4 axis Delta:

            now the screen shows "connecting" the whole time and it doesn´t work .

            For the PanelDue you'll need to add M575 P1 B57600 S1 to your config.g

            https://duet3d.dozuki.com/Wiki/Gcode#Section_M575_Set_serial_comms_parameters

            @ander said in Filament sensor switch in 4 axis Delta:

            Error: Z axis maximum must be greater than minimum

            ; Axis Limits
            M208 Z-2 U1000 S0 ; set minimum Z

            M208 S0 sets the maximum. So Z max of -2 makes no sense.

            https://duet3d.dozuki.com/Wiki/Gcode#Section_M208_Set_axis_max_travel

            @ander said in Filament sensor switch in 4 axis Delta:

            Error: in file macro line 76: M591: parameter 'D' too high

            ; Custom settings M591 D5 C3 P1 E6.0 ; filament monitor connected to E2 endstop
            I guess it doesn't like your D value, which is for the extruder number. And you don't have 5 of them, so should probably change that to 0.

            https://duet3d.dozuki.com/Wiki/Gcode#Section_M591_RepRapFirmware_Num_3

            @ander said in Filament sensor switch in 4 axis Delta:

            Warning: Macro file config-override.g not found

            That just means you haven't used M500 yet to create the config-override.g file, but you do have M501 at the end of config.g to load it if you did. If you do a PID tuning of your heaters and send M500 it will save the results to config-override.g and then M501 will load them at boot.

            https://duet3d.dozuki.com/Wiki/Tuning_the_heater_temperature_control#Section_Setting_the_model_parameters_by_auto_tuning

            https://duet3d.dozuki.com/Wiki/Gcode#Section_M500_Store_parameters

            @ander said in Filament sensor switch in 4 axis Delta:

            i updated duet2and3firmware3.1.1.zip and worked.

            Uploading the complete zip file as is without extracting it is the correct way to do it.

            @ander said in Filament sensor switch in 4 axis Delta:

            Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C

            This is a warning. : https://duet3d.dozuki.com/Wiki/FAQ#Section_M307_Heater_1_appears_to_be_over_powered_If_left_on_at_full_power_its_temperature_is_predicted_to_reach_521C

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • anderundefined
              ander
              last edited by

              Thanks for the help.
              The screen now works thanks to your advice
              the filament sensor value is changed to 0 and is not giving any error but i don´t know yet if works properly (how can i check that?)
              the macro error....you were right, i didn´t send the m500 yet because i just put a new duet and i´m trying to put it to work.
              I changed the z -2 to z0 and i still have the same error.
              this is what i see now after sending M98 P"config.g"
              M98 P"config.g"
              HTTP is enabled on port 80
              FTP is disabled
              TELNET is disabled
              Error: Z axis maximum must be greater than minimum
              Endstop configuration:
              X: high end switch connected to pin xstop
              Y: high end switch connected to pin ystop
              Z: high end switch connected to pin zstop
              U: high end switch connected to pin e0stopWarning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
              Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
              Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 1232C

              This is my config file:
              config(8).g

              1 Reply Last reply Reply Quote 0
              • Vetiundefined
                Veti
                last edited by Veti

                you have no maximum defined for all axis

                you have no minimum defined for x and y

                your thermistor config is wrong. find the correct beta value in your thermistor documentation.

                M591 D0 CE2_STOP P1 E6.0 ; filament monitor connected to E2 endstop

                that command seems wrong the pin definition is wrong and does not exist

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

                  @Veti said in Filament sensor switch in 4 axis Delta:

                  you have no maximum defined for all axis
                  you have no minimum defined for x and y

                  That's normal when the printer is a delta.

                  M591 D0 CE2_STOP P1 E6.0 ; filament monitor connected to E2 endstop

                  that command seems wrong the pin definition is wrong and does not exist

                  yes indeed, the pin name needs to be enclosed in quotes like this:

                  M591 D0 C"E2_STOP" P1 E6.0 ; filament monitor connected to E2 endstop

                  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

                  Vetiundefined 1 Reply Last reply Reply Quote 0
                  • Vetiundefined
                    Veti @dc42
                    last edited by Veti

                    @dc42 said in Filament sensor switch in 4 axis Delta:

                    That's normal when the printer is a delta.

                    missed that part. thx

                    but whats the error then?

                    Error: Z axis maximum must be greater than minimum

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

                      @Veti said in Filament sensor switch in 4 axis Delta:

                      but whats the error then?

                      Error: Z axis maximum must be greater than minimum

                      He's still using M208 S0, which is the maximum, but he went from -2 as the max height to 0 as the max height. Still makes no sense.

                      @ander Use M208 S1 Z-2 That sets the low point of the z axis to -2mm below the surface. You'll need a separate line for M208 S0 U1000 to set the max travel for your U axis

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • anderundefined
                        ander
                        last edited by

                        Thanks for the help, i tried what you (phaedrux) sayd and worked, i don´t have this error anymore.
                        Now, the filament sensor switch (it is a regular endstop switch)is connected to pin 4 (E2_stop)in the expansion board.
                        and is giving me an error:

                        M98 P"config.g"
                        HTTP is enabled on port 80
                        FTP is disabled
                        TELNET is disabled
                        Endstop configuration:
                        X: high end switch connected to pin xstop
                        Y: high end switch connected to pin ystop
                        Z: high end switch connected to pin zstop
                        U: high end switch connected to pin e0stopWarning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
                        Error: Unknown pin name 'e2stop'
                        Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
                        Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 1232C

                        How can i make it work?
                        here is my last config.g
                        thanks

                        config(9).g

                        Vetiundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                        • Vetiundefined
                          Veti @ander
                          last edited by

                          @ander said in Filament sensor switch in 4 axis Delta:

                          Error: Unknown pin name 'e2stop'

                          thats the wrong name. phaedrux posted a list of the pin names that are valid in this thread

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

                            @ander said in Filament sensor switch in 4 axis Delta:

                            Error: Unknown pin name 'e2stop'

                            Try exp.e2stop as the pin name.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • anderundefined
                              ander
                              last edited by

                              Hi there
                              i put exp.e2stop, and my endswitch´s signal wire goes to pin 4 on the expansion side, i see no error for now when i reset the duet. then i tested printing something and pushing and releasing the switch of the filament....the printing continues as normal....so it doesn´t work.
                              Also, something weird happens with the extruder that i realised. If i set manually for example 200 degrees for the extruder, seems to reach and mantain it very well. but when printing....first reaches 200 degres and then starts autoleveling...and when does it, temperature varies quite a bit, and sometimes gives me temp error due to those oscilations (i´m using a E3D)
                              thanks
                              config(10).g

                              M98 P"config.g"
                              HTTP is enabled on port 80
                              FTP is disabled
                              TELNET is disabled
                              Endstop configuration:
                              X: high end switch connected to pin xstop
                              Y: high end switch connected to pin ystop
                              Z: high end switch connected to pin zstop
                              U: high end switch connected to pin e0stopWarning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
                              Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 1305C

                              Phaedruxundefined 1 Reply Last reply Reply Quote 0
                              • anderundefined
                                ander
                                last edited by

                                Anyone can help me please?

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

                                  Sorry I missed your last reply there.

                                  M591 D0 C"exp.e2_stop" P1 E6.0

                                  The underscore shouldn't matter, but try remove the _ between e2 and stop.

                                  The E6 parameter would only be used with the laser monitor. This is a simple switch is it not? So remove the E6 entirely.

                                  You're also missing S1 to enable filament monitoring.

                                  Try this corrected line

                                  M591 D0 C"exp.e2stop" P1 S1

                                  The other alternative is to try enabling pullup resistor by adding a ^ in front of the pin name.

                                  M591 D0 C"^exp.e2stop" P1 S1

                                  If that doesn't work, you can also try P2 instead of P1. I'm not sure what type of switch you have, so try both.

                                  Z-Bot CoreXY Build | Thingiverse Profile

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

                                    @ander said in Filament sensor switch in 4 axis Delta:

                                    Also, something weird happens with the extruder that i realised. If i set manually for example 200 degrees for the extruder, seems to reach and mantain it very well. but when printing....first reaches 200 degres and then starts autoleveling...and when does it, temperature varies quite a bit, and sometimes gives me temp error due to those oscilations (i´m using a E3D)

                                    Have you done a PID tuning of the hotend yet? Do you have a silicone sock on the nozzle? Does the part cooling fan blow on the heater block?

                                    https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+4:+Calibration/40#s161

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 0
                                    • anderundefined
                                      ander
                                      last edited by

                                      Hi there
                                      Yes, i already did the PID tunning, i have an E3D with a sock, but the weird thing is that the malfunction happens only while autoleveling, if there is no temp error after autoleveling the printing goes perfect, the temperature is very stable.
                                      referring to the filament monitoring, i tried like you said and looks like works 🙂

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