Hi all
I bought a rotating filament monitor to add to my toolchanger today, but in my haste I made a mistake in wiring. Now the coupler doesn't close on two of my toolheads.
The mistake was swapping pins 1 and 3 at the toolboard (OUT to GND). I thought I could hear the PSU fan pulsing, so turned it off and found my mistake.
Made the wiring correct, but now the coupler does not physically close on two of the tools (1 and 2). The toolhead moves to position, the screen shows C33 (from C129) and the toolhead moves away, leaving the docked tool. The screen reports the correct closed value but it does not actually move.
It does move running the macro and works correctly for tools 0 and 3.
The filament monitor was installed on tool 2.
It does still power up, and talk to the console, and everything seems ok there.
I'm guessing I've fried something, but not sure where to look first.
Help gratefully received.
Config:
; Configuration file for Duet 3 Mini 5+ (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.13 on Sat Oct 08 2022 15:04:45 GMT+0100 (British Summer Time)
; General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G21 ; Work in millimetres
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Toolchanger" ; set printer name
M669 K1 ; select CoreXY mode
; Wait a moment for the CAN expansion boards to start
G4 S3
; 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
M584 X0.0 Y0.1 Z0.2:0.3:0.4 C0.5 ; set drive mapping C = Coupler
M584 E20.0:21.0:22.0:23.0 ;Extruder drive mapping
M569 P0.0 S0 D3 V40 ; Drive 0 (X)
M569 P0.1 S1 D3 V40 ; Drive 1 (Y)
M569 P0.2 S0 ; Drive 2 (Z1)
M569 P0.3 S0 ; Drive 3 (Z2)
M569 P0.4 S0 ; Drive 4 (Z3)
M569 P0.5 S0 ; Drive 5 (Coupler)
M569 P20.0 S0 ; Drive 20.0 (Tool 0 Extruder) - Toolboard 0
M569 P21.0 S0 ; Drive 21.0 (Tool 1 Extruder) - Toolboard 1
M569 P22.0 S0 ; Drive 22.0 (Tool 2 Extruder) - Toolboard 2
M569 P23.0 S0 ; Drive 23.0 (Tool 2 Extruder) - Toolboard 3
M671 X157:-99:-99 Y44:134:-66 S10 ; leadscrews at left front, left rear and right of X axis Tolerance 10mm
M350 X16 Y16 Z16 E16:16:16:16 I1 ; configure microstepping with interpolation
M92 X100 Y100 Z400 C200 E415:415:415:415 ; set steps per mm
M566 X800 Y800 Z24 C2 E200:200:200:200 ; set maximum instantaneous speed changes (mm/min)
M203 X18000 Y18000 Z600 C10000 E4000:4000:4000:4000 ; set maximum speeds (mm/min)
M201 X1000 Y1000 Z100 C500 E4000:4000:4000:4000 ; set accelerations (mm/s^2)
M906 X1800 Y1800 Z800 C500 E700:700:700:700 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X-148 Y-122 Z-5 C0 S1 ; set axis minima
M208 X180 Y258 Z350 C500 S0 ; set axis maxima
; Endstops
M574 X1 S1 P"io5.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io5.in
M574 Y1 S1 P"io6.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io6.in
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
; Set up the dock indicator switches on the Hemera tools. These are wired NO so invert the pin.
;M950 J2 C"20.!^io3.in" ; GpIn 3 = tool 0 dock switch
;M950 J3 C"21.!^io3.in" ; GpIn 3 = tool 1 dock switch
; Filament sensor
M591 P3 C"21.io1.in" D1 S1 L25.09 R50:135 E10 ; Duet3D rotating magnet sensor for extruder drive 1
;M591 P3 C"22.io1.in" D2 S1 L25.09 R50:135 E10 ; Duet3D rotating magnet sensor for extruder drive 2
M591 P3 C"23.io1.in" D3 S1 L25.09 R50:135 E10 ; Duet3D rotating magnet sensor for extruder drive 3
; Z-Probe
M950 S0 C"io3.out" ; create servo pin 3 for BLTouch - Mini 5 Header
M558 P9 C"io3.in" H10 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds - Mini 5 Header
G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height
M557 X-100:108 Y11:219 S104 ; define mesh grid
;Enclosure devices
; Fans
; Duet enclosure fan
M950 F8 C"out5" Q500 ; create fan 5 on pin out5 and set its frequency
M106 P8 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
;Stall Detection
M915 C S6 F0 H200 R0 ; Coupler
; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; 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 R0.420 K0.297:0.000 D3.21 E1.35 S1.00 B0; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S100 ; set temperature limit for heater 0 to 100C
; Tool 0 Heater
M308 S1 P"20.temp0" Y"thermistor" T100000 B4138; configure sensor 1 as thermistor on pin 20.temp0
M950 H1 C"20.out0" T1 ; create nozzle heater output on 20.out0 and map it to sensor 1
M307 H1 A780.6 C250.7 D0.7 V24.0 B0 ; Set PID for hotend values - 0.4MM NOZZLE - Tool 0
M143 H1 S280 ; set temperature limit for heater 1 to 280C
; Tool 1 Heater
M308 S2 P"21.temp0" Y"thermistor" T100000 B4138; configure sensor 1 as thermistor on pin 21.temp0
M950 H2 C"21.out0" T2 ; create nozzle heater output on 21.out0 and map it to sensor 1
M307 H2 R5.446 K0.503:0.105 D1.97 E1.35 S1.00 B0 V24.1 ; Set PID for hotend values - 0.8MM NOZZLE - Tool 1
M143 H2 S280 ; set temperature limit for heater 2 to 280C
; Tool 2 Heater
M308 S3 P"22.temp0" Y"thermistor" T100000 B4138; configure sensor 1 as thermistor on pin 22.temp0
M950 H3 C"22.out0" T3 ; create nozzle heater output on 22.out0 and map it to sensor 1
M307 H3 R4.515 K0.503:0.105 D2.49 E1.35 S1.00 B0 V24.4 ; Set PID for hotend values - 0.8MM NOZZLE - Tool 2
M143 H3 S280 ; set temperature limit for heater 2 to 280C
; Tool 3 Heater
M308 S4 P"23.temp0" Y"thermistor" T100000 B4138; configure sensor 1 as thermistor on pin 23.temp0
M950 H4 C"23.out0" T4 ; create nozzle heater output on 23.out0 and map it to sensor 1
M307 H4 R4.515 K0.503:0.105 D2.49 E1.35 S1.00 B0 V24.4 ; Set PID for hotend values - 0.8MM NOZZLE - Tool 2
M143 H4 S280 ; set temperature limit for heater 2 to 280C
; Fans
; Tool 0 Fans
M950 F0 C"20.out1" Q500 ; create fan 0 on pin 20.out1 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"20.out2" Q500 ; create fan 1 on pin 20.out2 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
; Tool 1 Fans
M950 F2 C"21.out1" Q500 ; create fan 0 on pin 20.out1 and set its frequency
M106 P2 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F3 C"21.out2" Q500 ; create fan 1 on pin 20.out2 and set its frequency
M106 P3 S1 H2 T45 ; set fan 1 value. Thermostatic control is turned on
; Tool 2 Fans
M950 F4 C"22.out1" Q500 ; create fan 0 on pin 20.out1 and set its frequency
M106 P4 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F5 C"22.out2" Q500 ; create fan 1 on pin 20.out2 and set its frequency
M106 P5 S1 H3 T45 ; set fan 1 value. Thermostatic control is turned on
; Tool 3 Fans
M950 F6 C"23.out1" Q500 ; create fan 0 on pin 20.out1 and set its frequency
M106 P6 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F7 C"23.out2" Q500 ; create fan 1 on pin 20.out2 and set its frequency
M106 P7 S1 H4 T45 ; set fan 1 value. Thermostatic control is turned on
; Tools
; Tool 0
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X-40 Y-30 Z-3.1 ; set tool 0 axis offsets z offset - lower number = closer to bed
G10 P0 R140 S230 ; set initial tool 0 active and standby temperatures to 0C
; Tool 1
M563 P1 D1 H2 F2 ; define tool 0
G10 P1 X-40.2 Y-31 Z-3.2 ; set tool 1 axis offsets x and y offsets - greater neg number moves nozzle right and backz offset - lower number = closer to bed
G10 P1 R140 S230 ; set initial tool 1 active and standby temperatures to 0C
; Tool 2
M563 P2 D2 H3 F4 ; define tool 0
G10 P2 X-39 Y-31 Z-3 ; set tool 1 axis offsets x and y offsets - greater neg number moves nozzle right and back z offset - lower number = closer to bed
G10 P2 R140 S230 ; set initial tool 1 active and standby temperatures to 0C
; Tool 3
M563 P3 D3 H4 F6 ; define tool 0
G10 P3 X-39 Y-31 Z-3.3 ; set tool 1 axis offsets x and y offsets - greater neg number moves nozzle right and back z offset - lower number = closer to bed
G10 P3 R140 S230 ; set initial tool 1 active and standby temperatures to 0C
; Miscellaneous
;M556 S100 x1.8
; Custom settings are not defined
Tpre2:
; tpre2.g
; called before tool 2 is selected
M98 P"/macros/Coupler - Unlock" ; unlock Coupler
M564 S0 ; allow movement outside the normal limits
G53 G1 X70.5 Y50 F6000 ; move to location
G53 G1 Y250 F6000 ; move in
G53 G1 Y281 F2500 ; collect
M98 P"/macros/Coupler - Lock" ; close Coupler
;WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
;if you are using non-standard length hotends ensure the bed is lowered enough BEFORE undocking the tool!
G91
G1 Z10 F1000
G90
G53 G1 Y100 F4000 ; move out
M208 Y180 ; set Y max for this tool (machine coordinates)
M564 S1 ; apply the normal limits again
Coupler lock macro:
M400
M913 C100
G1 C33 F50000
M400
M913 C52
I have disabled the filament sensor in config and also by unplugging from the toolboard, trying to work things out, but still no change.