I recently purchased Magnetic Filament Sensor. 1st I had issue with RRF 3.3beta1, I did have issues with delayed alarm or alarm was not triggered at all. After downgrade to RRF 3.2.2 I have opposite, I have false too little movement alarms, this time I suspect that it is mechanical problem and not related to RRF, but I might be wrong.
Sensor is mounted right before direct drive Hemera extruder via PTFE tube. I'm running Duet 3 + Toolboard. Sensor is connected to Toolboard.
What I tried:
- Sanded down sensor case so that I have recommended values for 'agc' of 85 to 105. Now I have 94, so right in the middle of recommended values;
- I changed PTFE tube which has smaller ID, to have tight fit and minimise the slack and keep filament as straight as possible;
- Rechecked wiring, sensor assembly, no issues there.
I suspect that there is an issue with slipping filament, but maybe I am wrong, and if there is I don't have anymore ideas how to get rid slipping filament issue.
I bought sensor from https://hobby-store.pl, maybe this is just coincident but person from this post has the same issues and bought sensor from the same store: https://forum.duet3d.com/topic/17132/magnetic-filament-sensor
Do you have any recommendations?
Now I can even see that max value went up, what that could mean?
config.g
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Duet 3" ; set printer name
M669 K1 ; select CoreXY mode
; Drives
M569 P0.0 S0 ; physical drive 0.0 goes backwards
M569 P0.1 S0 ; physical drive 0.1 goes backwards
M569 P0.2 S0 ; physical drive 0.2 goes backwards
M569 P0.3 S0 ; physical drive 0.3 goes backwards
M569 P0.4 S0 ; physical drive 0.4 goes backwards
M569 P121.0 S0 ; physical drive 121.0 goes forwards
M584 X0.0 Y0.1 Z0.2:0.3:0.4 E121.0 ; set drive mapping
M671 X-34.2:180.5:395.2 Y56:368.7:56 S8 ; Motor order: Front Left (1 - P0.2), Rear Center (2 - P0.3), Front Right (3 - P0.4)
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X100.00 Y100.00 Z800.00 E409.00 ; set steps per mm
M566 X900.00 Y900.00 Z90 E240.00 ; set maximum instantaneous speed changes (mm/min)
M203 X12000.00 12000.00 Z240.00 E2400.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z250.00 E1000.00 ; set accelerations (mm/s^2)
M906 X1200 Y1200 Z1200 E800 I30 ; 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 X350 Y350 Z350 S0 ; set axis maxima
; Endstops
M574 X1 S1 P"121.io2.in" ; configure active-high endstop for low end on X via pin 121.io1.in
M574 Y2 S1 P"io1.in" ; configure active-high endstop for low end on Y via pin io1.in
; Z-Probe
M950 S0 C"121.io0.out" ; create servo pin 0 for BLTouch
M558 P9 C"^121.io0.in" H3 F120 T8000 A5 R0.2 S0.03 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X-34 Y9 Z1.99
M557 X36:316 Y9:349 S20 ; define mesh grid
; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
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
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"121.temp0" Y"pt1000" ; configure sensor 1 as thermistor on pin 121.temp0
M950 H1 C"121.out0" T1 ; create nozzle heater output on 121.out0 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S285 ; set temperature limit for heater 1 to 300C
; Fans
M950 F0 C"!121.out1+out1.tach" Q500 ; create fan 0 on pin 121.out1 and set its frequency
M106 P0 S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
M950 F1 C"121.out2+out2.tach" Q25000 ; create fan 1 on pin 121.out2 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
M950 F2 C"!out4+out4.tach" Q25000 ; create fan 2 on pin out4 and set its frequency
M106 P2 C"PSU1" S0.4 H-1 ; set fan 2 name and value. Thermostatic control is turned off
M950 F3 C"!out5+out5.tach" Q25000 ; create fan 3 on pin out5 and set its frequency
M106 P3 C"PSU2" S0.4 H-1 ; set fan 3 name and value. Thermostatic control is turned off
; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
; Rotating Magnet Filament Monitor
M591 D0 P3 C"121.io1.in" S0 R85:115 L24.15 E3.0 ; Duet3D rotating magnet sensor for extruder drive 0 is connected to E0 endstop input, enabled, sensitivity 24.8mm.rev, 70% to 130% tolerance, 3mm detection length
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue
M122:
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.2.2 running on Duet 3 MB6HC v1.01 or later (SBC mode)
Board ID: 08DJM-956BA-NA3TJ-6J9DA-3SN6S-9AAUV
Used output buffers: 1 of 40 (18 max)
=== RTOS ===
Static ram: 149788
Dynamic ram: 63524 of which 200 recycled
Never used RAM 145320, free system stack 126 words
Tasks: Linux(ready,95) HEAT(blocked,297) CanReceiv(blocked,813) CanSender(blocked,344) CanClock(blocked,352) TMC(blocked,17) MAIN(running,720) IDLE(ready,19)
Owned mutexes: HTTP(MAIN)
=== Platform ===
Last reset 01:03:37 ago, cause: software
Last software reset at 2021-03-01 06:04, reason: User, none spinning, available RAM 145352, slot 0
Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task Linu Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
Aux1 errors 0,0,0
MCU temperature: min 36.9, current 38.0, max 38.2
Supply voltage: min 23.9, current 24.1, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.1, current 12.1, max 12.2, under voltage events: 0
Driver 0: position 44921, ok, reads 16581, writes 21 timeouts 0, SG min/max 0/1023
Driver 1: position -2011, ok, reads 16581, writes 21 timeouts 0, SG min/max 0/1023
Driver 2: position 3204, standstill, reads 16581, writes 21 timeouts 0, SG min/max 0/1023
Driver 3: position 0, standstill, reads 16581, writes 21 timeouts 0, SG min/max 0/1023
Driver 4: position 0, standstill, reads 16581, writes 21 timeouts 0, SG min/max 0/1023
Driver 5: position 0, standstill, reads 16591, writes 11 timeouts 0, SG min/max 0/0
Date/time: 2021-03-01 07:08:22
Slowest loop: 154.52ms; fastest: 0.04ms
=== Storage ===
Free file entries: 10
SD card 0 not detected, interface speed: 37.5MBytes/sec
SD card longest read time 0.0ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, maxWait 34680ms, bed compensation in use: mesh, comp offset 0.000
=== MainDDARing ===
Scheduled moves 32894, completed moves 32888, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 1], CDDA state 3
=== AuxDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 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.2
Heater 1 is on, I-accum = 0.0
=== GCodes ===
Segments left: 1
Movement lock held by null
HTTP* is doing "M122" in state(s) 0
Telnet is idle in state(s) 0
File* is doing "G1 F2763.586914" 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.
=== Filament sensors ===
Extruder 0: no data received
=== CAN ===
Messages queued 47399, send timeouts 0, received 47856, lost 0, longest wait 3ms for reply type 6048, free buffers 48
=== SBC interface ===
State: 4, failed transfers: 0
Last transfer: 2ms ago
RX/TX seq numbers: 23875/23875
SPI underruns 0, overruns 0
Number of disconnects: 0, IAP RAM available 0x2c8a8
Buffer RX/TX: 208/1720-0
=== Duet Control Server ===
Duet Control Server v3.2.2
File:
Buffered code: G1 F2763.587
Buffered code: G1 X162.992 Y237.189 E0.05731
Buffered code: G1 X163.212 Y236.105 E0.14235
Buffered code: G1 X163.275 Y235.159 E0.12190
Buffered code: G1 X163.644 Y234.872 E0.06004
Buffered code: G1 X164.517 Y233.989 E0.15980
Buffered code: G1 X165.391 Y233.221 E0.14958
Buffered code: G1 X166.265 Y232.779 E0.12595
Buffered code: G1 X167.138 Y232.609 E0.11446
Buffered code: G1 X168.012 Y232.636 E0.11241
Buffered code: G1 X168.885 Y232.838 E0.11534
Buffered code: G1 X169.759 Y233.251 E0.12426
Buffered code: G1 X170.632 Y233.931 E0.14239
Buffered code: G1 X171.506 Y234.814 E0.15980
Buffered code: G1 X172.379 Y235.582 E0.14958
Buffered code: G1 X173.253 Y236.024 E0.12595
Buffered code: G1 X174.126 Y236.194 E0.11446
Buffered code: G1 X175.000 Y236.167 E0.11241
Buffered code: G1 X175.874 Y235.965 E0.11534
Buffered code: G1 X176.747 Y235.552 E0.12426
Buffered code: G1 X177.621 Y234.872 E0.14239
Buffered code: G1 X178.494 Y233.989 E0.15980
Buffered code: G1 X179.368 Y233.221 E0.14958
Buffered code: G1 X180.241 Y232.779 E0.12595
Buffered code: G1 X181.115 Y232.609 E0.11446
Buffered code: G1 X181.988 Y232.636 E0.11241
Buffered code: G1 X182.862 Y232.838 E0.11534
Buffered code: G1 X183.736 Y233.251 E0.12426
Buffered code: G1 X184.609 Y233.931 E0.14239
Buffered code: G1 X185.483 Y234.814 E0.15980
Buffered code: G1 X186.356 Y235.582 E0.14958
Buffered code: G1 X186.764 Y235.788 E0.05879
==> 1512 bytes
Code buffer space: 2376
Configured SPI speed: 8000000 Hz
Full transfers per second: 40.61
Maximum length of RX/TX data transfers: 2856/1664
File /opt/dsf/sd/gcodes/f119e32e-cf3a-46c6-97b3-237b4b389e3c_0.8n_0.4mm_PLA__3h34m.gcode is selected, processing
M122 B121:
M122 B121
Diagnostics for board 121:
Duet TOOL1LC firmware version 3.2.2 (2021-02-11)
Bootloader ID: SAMC21 bootloader version 2.2 (2021-01-16b1)
Never used RAM 3540, free system stack 22 words
HEAT 90 CanAsync 89 CanRecv 83 TMC 56 MAIN 218 AIN 64
Last reset 01:49:43 ago, cause: power up
Last software reset time unknown, reason: OutOfMemory, available RAM 15440, slot 1
Software reset code 0x01c0 ICSR 0x00000000 SP 0x20003638 Task MAIN Freestk 796 ok
Stack: 20000d10 0001234f 20000d10 0001e5f1 00000000 00004008 20000d10 0001e565 20000d0c 00004000 a5a5a5a5 a5a5a5a5 00000000 0001e42d 00004000 000191b1 a5a5a5a5 000191cd a5a5a5a5 0001219d a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5
Driver 0: position 7722896, 409.0 steps/mm, ok, SG min/max 0/28, read errors 0, write errors 0, ifcnt 17, reads 14832, writes 17, timeouts 0, DMA errors 0
Moves scheduled 42412, completed 42409, in progress 1, hiccups 0
Next step interrupt due in 272 ticks, enabled
VIN: 24.1V
MCU temperature: min 22.8C, current 54.5C, max 56.2C
Ticks since heat task active 88, ADC conversions started 6557110, completed 6557108, timed out 0
Last sensors broadcast 0x00000002 found 1 91 ticks ago, loop time 0
CAN messages queued 82301, send timeouts 0, received 101775, lost 0, free buffers 36
=== Filament sensors ===
Interrupt 5 to 34us, poll 8 to 742us
Driver 0: pos 208.12, errs: frame 10 parity 0 ovrun 0 pol 0 ovdue 0