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

run out sensor

Scheduled Pinned Locked Moved Solved
Filament Monitor
5
19
717
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.
  • undefined
    tdybare69
    last edited by 12 Oct 2019, 03:27

    i would like to ask for help again. y'all were so very helpful getting my bl touch working maybe y'all can help with run out sensor. i got it to work by doing what M591: Configure filament sensing says to do. problem is that when i pull the filament out of the sensor it does an emergancy stop, not a filament change, or pause. here is my file setup , any ideas?
    ; Endstops
    M574 X1 Y1 Z1 S0 ; set active low and disabled endstops
    M581 E0 T0 S0 C0 ; invoke trigger 1 when rising edge is detected on the E0 endstop input and a file is being printed
    M591 D0 P2 C3 S1 ; sensor drive 0 is connected to EO endstop input, enabled

    1 Reply Last reply Reply Quote 0
    • undefined
      aidar
      last edited by 12 Oct 2019, 05:48

      Hi. Your M581 T0 parameter means you invoke trigger 0, that is emergency stopp. See https://duet3d.dozuki.com/Wiki/Gcode#Section_M581_Configure_external_trigger

      undefined 1 Reply Last reply 12 Oct 2019, 13:21 Reply Quote 0
      • undefined
        dc42 administrators
        last edited by dc42 10 Dec 2019, 09:44 12 Oct 2019, 09:44

        A long time ago, before we introduced the M591 command, we suggested using M581 to implement filament run out detection. Now we have M591 to configure it. So you should remove the M581 command.

        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

        undefined 2 Replies Last reply 12 Oct 2019, 13:24 Reply Quote 0
        • undefined
          tdybare69 @aidar
          last edited by 12 Oct 2019, 13:21

          @aidar i read that,i tried T1 and it doesn't work at all.

          1 Reply Last reply Reply Quote 0
          • undefined
            tdybare69 @dc42
            last edited by 12 Oct 2019, 13:24

            @dc42 thank you.

            1 Reply Last reply Reply Quote 0
            • undefined
              tdybare69 @dc42
              last edited by 12 Oct 2019, 18:09

              @dc42 i took the 581 out, and it doesnt work at all now.

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 12 Oct 2019, 19:59

                What type of filament run out detector is it, and which firmware version are you running?

                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
                • undefined
                  tdybare69
                  last edited by 13 Oct 2019, 02:25

                  sunhokey firmware version 2.03

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    tdybare69
                    last edited by 13 Oct 2019, 02:51

                    sunhokey sensor. firmware2.03

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      dc42 administrators
                      last edited by 13 Oct 2019, 19:32

                      @tdybare69 said in run out sensor:

                      sunhokey

                      When you run M591 D0 to report the filament sensor status, does it report the correct present/not-present status?

                      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

                      undefined 1 Reply Last reply 14 Oct 2019, 21:35 Reply Quote 0
                      • undefined
                        tdybare69 @dc42
                        last edited by 14 Oct 2019, 21:35

                        @dc42 i don't know what you mean about report. i put it in the firmware ,then run the extruder and pull the filament out by hand

                        undefined 1 Reply Last reply 14 Oct 2019, 21:45 Reply Quote 0
                        • undefined
                          T3P3Tony administrators @tdybare69
                          last edited by 14 Oct 2019, 21:45

                          @tdybare69 send M591 D0 in the console and look at the response, then try again with the filament present and see if there is a difference.

                          www.duet3d.com

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            tdybare69
                            last edited by 14 Oct 2019, 22:09

                            Simple filament sensor on endstop 3, disabled, output high when no filament, filament present: yes. with the filament out.
                            Simple filament sensor on endstop 3, disabled, output high when no filament, filament present: no. with the filament in.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              T3P3Tony administrators
                              last edited by 14 Oct 2019, 22:14

                              So the logic is reversed. change the M591 command to be M591 D0 P1 C3 S1 as show here:

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

                              Pnn Type of sensor: 0=none, 1=simple sensor (high signal when filament present), 2=simple sensor (low signal when filament present), 3=Duet3D rotating magnet sensor, 4=Duet3D rotating magnet sensor with microswitch, 5 = Duet3D laser sensor, 6 = Duet3D laser sensor with microswitch, 7 = pulse-generating sensor

                              www.duet3d.com

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                tdybare69
                                last edited by 14 Oct 2019, 22:24

                                Thanks, changed it to that got this reading, but does not stop when i pull the filament out while its extruding.
                                Simple filament sensor on endstop 3, enabled, output low when no filament, filament present: yes. while the filament is in.
                                Simple filament sensor on endstop 3, enabled, output low when no filament, filament present: no. while the filament is out.

                                undefined 1 Reply Last reply 14 Oct 2019, 22:34 Reply Quote 0
                                • undefined
                                  tdybare69 @tdybare69
                                  last edited by 14 Oct 2019, 22:34

                                  @tdybare69 THIS IS WHT MY CODE LOOKS LIKE.
                                  M591 D0 P1 C3 S1 ; sensor drive 0 is connected to EO endstop input, enabled, trigger M83

                                  undefined 1 Reply Last reply 14 Oct 2019, 22:35 Reply Quote 0
                                  • undefined
                                    tdybare69 @tdybare69
                                    last edited by 14 Oct 2019, 22:35

                                    @tdybare69
                                    sorry about the caps

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      droftarts administrators
                                      last edited by 15 Oct 2019, 14:23

                                      I think the way your are testing it is flawed; from M591

                                      Note that filament monitoring in RRF is only active when printing from SD card.

                                      So you probably need to create a short test gcode file with a number of extrude commands in it, run that, and pull the filament out.

                                      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
                                      • undefined
                                        tdybare69
                                        last edited by 15 Oct 2019, 23:25

                                        your right. i ran a gcode print on small item cut the filament. it worked. thank you

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