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

    Sensor not working problem

    Scheduled Pinned Locked Moved
    Filament Monitor
    2
    3
    165
    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.
    • Thaliosundefined
      Thalios
      last edited by

      Hello!

      I'm having a weird issue.

      Was printing and for some reason, had some extruder issues (something mechanical i need to easily solve, i think i was printing too fast).

      My filament monitor (laser v2) gave me a typical movement to low, and paused. After a few tweaks, I got it to extrude properly (slowed down and decreased extrusion). The monitor still freaked though. M591 D0 gave me 99 to 104% reading, but still stopped...

      Then after a few resume commands, I got a message saying Extruder 0 sensor not working.

      Here's the weird part. I disabled it (M591 D0 S0) and it still gives me that same message and pauses the print.

      Shouldn't the sensor be ignored when I give it that command?

      M122:

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 3 MB6HC version 3.1.1 running on Duet 3 MB6HC v0.6 or 1.0 (standalone mode)
      Board ID: 08DJM-956L2-G43S4-6J9D0-3SD6Q-9U5GF
      Used output buffers: 1 of 40 (30 max)
      === RTOS ===
      Static ram: 154604
      Dynamic ram: 163148 of which 220 recycled
      Exception stack ram used: 560
      Never used ram: 74684
      Tasks: NETWORK(ready,228) ETHERNET(blocked,408) HEAT(blocked,1088) CanReceiv(suspended,3820) CanSender(suspended,1420) CanClock(blocked,1424) TMC(blocked,60) MAIN(running,4472) IDLE(ready,76)
      Owned mutexes:
      === Platform ===
      Last reset 04:35:16 ago, cause: software
      Last software reset at 2020-05-27 22:01, reason: User, spinning module GCodes, available RAM 74884 bytes (slot 2)
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0444a000 BFAR 0x00000000 SP 0xffffffff Task MAIN
      Error status: 0
      MCU temperature: min 47.5, current 47.7, max 49.1
      Supply voltage: min 24.0, current 24.3, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
      12V rail voltage: min 12.1, current 12.2, max 12.2, under voltage events: 0
      Driver 0: standstill, reads 12775, writes 4 timeouts 0, SG min/max 0/231
      Driver 1: standstill, reads 12775, writes 4 timeouts 0, SG min/max 0/121
      Driver 2: standstill, reads 12774, writes 4 timeouts 0, SG min/max 0/0
      Driver 3: standstill, reads 12775, writes 4 timeouts 0, SG min/max 0/321
      Driver 4: standstill, reads 12779, writes 0 timeouts 0, SG min/max not available
      Driver 5: standstill, reads 12779, writes 0 timeouts 0, SG min/max not available
      Date/time: 2020-05-28 02:36:48
      Slowest loop: 16.29ms; fastest: 0.21ms
      === Storage ===
      Free file entries: 9
      SD card 0 detected, interface speed: 25.0MBytes/sec
      SD card longest read time 3.7ms, write time 0.9ms, max retries 0
      === Move ===
      Hiccups: 0(0), FreeDm: 375, MinFreeDm: 348, MaxWait: 118167ms
      Bed compensation in use: mesh, comp offset 0.000
      === MainDDARing ===
      Scheduled moves: 32162, completed moves: 32162, StepErrors: 0, LaErrors: 0, Underruns: 0, 0  CDDA state: -1
      === AuxDDARing ===
      Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0  CDDA state: -1
      === Heat ===
      Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
      Heater 0 is on, I-accum = 0.3
      Heater 1 is on, I-accum = 0.4
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP is idle in state(s) 0
      Telnet is idle in state(s) 0
      File is idle in state(s) 0
      USB is idle in state(s) 0
      Aux is idle in state(s) 0
      Trigger is idle in state(s) 0
      Queue is idle in state(s) 0
      LCD is idle in state(s) 0
      SBC is idle in state(s) 0
      Daemon is idle in state(s) 0
      Aux2 is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty.
      === Network ===
      Slowest loop: 7.72ms; fastest: 0.03ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
      HTTP sessions: 2 of 8
      - Ethernet -
      State: active
      Error counts: 0 0 0 0 0
      Socket states: 2 2 2 2 2 0 0 0
      === Filament sensors ===
      Extruder 0: pos 0.75, errs: frame 15 parity 0 ovrun 0 pol 9 ovdue 0
      === CAN ===
      Messages sent 5569, longest wait 0ms for type 0
      === Linux interface ===
      State: 0, failed transfers: 0
      Last transfer: 16516854ms ago
      RX/TX seq numbers: 0/1
      SPI underruns 0, overruns 0
      Number of disconnects: 0
      Buffer RX/TX: 0/0-0
      

      config.g

      ; Configuration file for Duet 3 (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.8 on Wed Apr 29 2020 20:50:30 GMT-0400 (EDT)
      
      ; General preferences
      G90                                                ; send absolute coordinates...
      M83                                                ; ...but relative extruder moves
      M550 P"Ender 3 Pro"                                ; set printer name
      M918 P1 E4 F2000000                                ; configure direct-connect display
      
      ; Network
      M552 P0.0.0.0 S1                                   ; enable network and acquire dynamic address via DHCP
      M586 P0 S1                                         ; enable HTTP
      M586 P1 S0                                         ; disable FTP
      M586 P2 S0                                         ; disable Telnet
      
      ; Drives
      M569 P0.0 S1 D3                                    ; physical drive 0.0 goes forwards
      M569 P0.1 S1 D3                                    ; physical drive 0.1 goes forwards
      M569 P0.2 S0 D3                                    ; physical drive 0.2 goes backwards
      M569 P0.3 S1                                       ; physical drive 0.3 goes forwards
      M584 X0.0 Y0.1 Z0.2 E0.3                           ; set drive mapping
      M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E141.32                  ; set steps per mm
      M566 X1200.00 Y1200.00 Z48.00 E1200.00             ; set maximum instantaneous speed changes (mm/min)
      M203 X9000.00 Y9000.00 Z250.00 E6000.00            ; set maximum speeds (mm/min)
      M201 X300.00 Y300.00 Z200.00 E6000.00              ; set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E1000 I50                      ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                            ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1                                   ; set axis minima
      M208 X245 Y225 Z230 S0                             ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"io0.in"                               ; configure active-high endstop for low end on X via pin io0.in
      M574 Y1 S1 P"io1.in"                               ; configure active-high endstop for low end on Y via pin io1.in
      M574 Z1 S2			                               ; configure to use z-probe
      
      ; Z-Probe
      M558 P1 C"io6.in+io6.out" H2.5 F100 T9000          ; set Z probe type to unmodulated and the dive height + speeds
      G31 P500 X-22 Y4 Z1.30                             ; set Z probe trigger value, offset and trigger height
      M557 X30:195 Y25:200 P5                            ; define mesh grid
      
      ; Heaters
      M308 S0 P"temp1" Y"thermistor" T100000 B4092       ; configure sensor 0 as thermistor on pin temp1
      M950 H0 C"out0" T0                                 ; create bed heater output on out0 and map it to sensor 0
      M143 H0 S120                                       ; set temperature limit for heater 0 to 120C
      M307 H0 B0 S1.00                                   ; disable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                            ; map heated bed to heater 0
      M308 S1 P"temp0" Y"thermistor" T100000 B4092       ; configure sensor 1 as thermistor on pin temp0
      M950 H1 C"out1" T1                                 ; create nozzle heater output on out1 and map it to sensor 1
      M143 H1 S270                                       ; set temperature limit for heater 1 to 270C
      M307 H1 B0 S1.00                                   ; disable bang-bang mode for heater  and set PWM limit
      
      ; Fans
      M950 F0 C"out8" Q500                               ; create fan 0 on pin out8 and set its frequency
      M106 P0 S1 H-1                                     ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"!out4" Q25000                             ; create fan 1 on pin out4 and set its frequency
      M106 P1 S1 H1 T45								   ; set fan 1 value. Thermostatic control is turned on
      M950 F2 C"!out6" Q25000							   ; create fan 2 on pin out6 and set its frequency
      M106 P2 S1 H1 T20                                  ; set fan 2 value. Thermostatic control is turned on
      
      ; Tools
      M563 P0 D0 H1 F-1                                  ; define tool 0
      G10 P0 X-5 Y0 Z0                                   ; set tool 0 axis offsets
      G10 P0 R0 S0                                       ; set initial tool 0 active and standby temperatures to 0C
      
      ; Custom settings
      M591 D0 P5 C"io3.in" R15:130 E3 S1 A0              ; Enable and set Filament monitor
      
      ; Miscellaneous
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
      T0                                                 ; select first tool
      M572 D0 S0.2									   ; pressure advance setting
      
      M501                                               ; Load config overrides
      
      

      Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
      Heavily modified Ender 3 Pro (Duet 3 6HC)
      Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
      CR-10S Pro V2 (Duet 3 Mini 5+)
      and a bunch of SLA printers..

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

        @Thalios said in Sensor not working problem:

        Here's the weird part. I disabled it (M591 D0 S0) and it still gives me that same message and pauses the print.
        Shouldn't the sensor be ignored when I give it that command?

        Yes, it should. After you send that command, if you send M591 D0 what is the response?

        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
        • Thaliosundefined
          Thalios
          last edited by

          M591:

          M591 d0
          Duet3D laser filament monitor v2 on pin io3.in, disabled, allow 15% to 130%, check every 3.0mm, version 2, quality 224, brightness 117, shutter 79, measured min 88% avg 98% max 111% over 161.5mm
          

          Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
          Heavily modified Ender 3 Pro (Duet 3 6HC)
          Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
          CR-10S Pro V2 (Duet 3 Mini 5+)
          and a bunch of SLA printers..

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