DWC not showing all tools
-
I am having a problem with DWC. It doesn't show all 3 tools. Only the first one is shown. I thing the config is correct. Please help me solve this.
I am using the followng:
Board: Duet 2 WiFi (2WiFi) + Duex5
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.3 (2021-06-15)
Duet WiFi Server Version: 1.26
Duet Web Control 3.3.0Do not mind about the "T0" temperature. I don't have it connected at the moment.
This i part of my config file:
; Drives
M569 P6 S1 ; physical drive 6 goes backwards (X axis)
M569 P5 S1 ; physical drive 5 goes backwards (Y axis)
M569 P2 S1 ; physical drive 2 goes backwards (Z axis)
M569 P4 S1 ; physical drive 4 goes backwards (Coupler)
M569 P9 S0 ; physical drive 9 goes forwards (E0)
M569 P8 S1 ; physical drive 8 goes forwards (E1)
M569 P7 S1 ; physical drive 7 goes forwards (E2)
M584 X6 Y5 Z2 E9,8,7 C4 ; set drive mapping
M208 X-7.5:325 Y0:317 Z0:325 C0:400 ; Set axis minima & maxima
M92 X100.00 Y100.00 Z400.00 E655:655:655 C100.00 ; set steps per mm
M350 C8 I0 ; configure microstepping without interpolation
M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
M350 E16:16:16 I1 ; configure microstepping with interpolation
M566 X400 Y400 Z10 E300:300:300 C2 ; set maximum instantaneous speed changes (mm/min)
M203 X14500 Y14500 Z1000 E3600:3600:3600 C5000 ; set maximum speeds (mm/min)
M201 X4000 Y4000 Z400 E600:600:600 C500 ; set accelerations (mm/s^2)
M906 X1500 Y1500 Z1700 C500 I80 ; set motor currents (mA) and motor idle factor in per cent
M906 E700:700:700 I60 ; set motor currents (mA) and motor idle factor in per cent
M84 S120 ; Set idle timeout; Endstops
M574 X1 S1 P"xstop" ; configure endstop switch for low end on X
M574 Y1 S1 P"ystop" ; configure endstop switch for low end on Y
M574 Z0 C0 ; configure no Z, C endstop
M574 C1 S3 ; configure sensorless endstop for low end on C;Stall Detection
M915 C S5 R0 F0 H400 ; coupler; Z-Probe
M558 P8 C"zstop" H3 F360 I0 T20000 ; set Z probe type to switch, the axes for which it is used and the dive height + speeds
G31 P200 X-15.3 Y49.47 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X10:320 Y56:306 S62:50 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" A"Bed" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B0 R1.516 C290.1 D4.90 S1.00 V24.0 ; disable bang-bang mode for heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S140 ; set temperature limit for heater 0 to 140CM308 S1 P"duex.e6temp" Y"thermistor" A"T0" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin duex.e6temp
M950 H1 C"e0heat" T1 ; create nozzle heater 7 output on duex.e6heat and map it to sensor 1
M307 H1 B0 S1 ; disable bang-bang mode for heater 7 and set PWM limit
M143 H1 S300 ; set temperature limit for heater 7 to 300CM308 S2 P"duex.e5temp" Y"thermistor" A"T1" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin e3temp
M950 H2 C"e1heat" T2 ; create nozzle heater output on e0heat and map it to sensor 2
M307 H2 B0 S1 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S300 ; set temperature limit for heater 1 to 300CM308 S3 P"duex.e4temp" Y"thermistor" A"T2" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin e3temp
M950 H3 C"!duex.e2heat" T3 ; create nozzle heater output on e0heat and map it to sensor 2
M307 H3 B0 S1 ; disable bang-bang mode for heater and set PWM limit
M143 H3 S300 ; set temperature limit for heater 1 to 300C; Fans
M950 F1 C"duex.fan6" Q80 ; create fan 1 (print cooling fan) on pin fan6 and set its frequency
M106 P1 S0 H-1 ; set fan 3 value. Thermostatic control is turned offM950 F2 C"duex.fan3" Q80 ; create fan 2 (extruder0 fan) on pin fan3 and set its frequency
M106 P2 S1 H1 T60 ; set fan value. Thermostatic control is turned onM950 F3 C"fan1" Q80 ; create fan 3 (print cooling fan) on pin fan3 and set its frequency
M106 P3 S0 H-1 ; set fan 3 value. Thermostatic control is turned offM950 F4 C"duex.fan4" Q80 ; create fan 4 (extruder1 fan) on pin fan4 and set its frequency
M106 P4 S1 H2 T60 ; set fan value. Thermostatic control is turned onM950 F5 C"fan2" Q80 ; create fan 5 (print cooling fan) on pin fan3 and set its frequency
M106 P5 S0 H-1 ; set fan 3 value. Thermostatic control is turned offM950 F6 C"duex.fan5" Q80 ; create fan 6 (extruder2 fan) on pin fan1 and set its frequency
M106 P6 S1 H3 T60 ; set fan value. Thermostatic control is turned onM950 F7 C"duex.fan8" T"drivers temp" Q80 ; create fan 7 (Duet 2 drivers cooling fan) on pin fan8 and set its frequency
M106 P7 T65 H101 L0.3 X120 B0.3 ; set fan 7 value
M308 S7 Y"drivers" ; configure sensor 4 as temperature warning and overheat flags on the TMC2660 on DuetM950 F8 C"duex.fan7" T"drivers-duex" Q50 ; create fan 8 (Duex drivers cooling fan) on pin fan7 and set its frequency
M106 P8 T65 H102 L0.3 X120 B0.3 ; set fan 8 value
M308 S8 Y"drivers-duex" ; configure sensor 5 as temperature warning and overheat flags on the TMC2660 on Duex5; Tools
M563 P0 S"T0" D0 H1 F1 ; define tool 0
G10 P0 X0 Y0 Z0 ; reset tool 0 axis offsets
G10 P0 R150 S245 ; reset initial tool 0 active and standby temperatures to 0CM563 P1 S"T1" D1 H2 F3 ; define tool 1
G10 P1 X0 Y0 Z0 ; reset tool 1 axis offsets
G10 P1 R120 S200 ; reset initial tool 1 active and standby temperatures to 0CM563 P2 S"T2" D2 H3 F5 ; define tool 2
G10 P2 X0 Y0 Z0 ; reset tool 2 axis offsets
G10 P2 R120 S200 ; reset initial tool 2 active and standby temperatures to 0C -
@sigourosandreas I can’t see anything obvious, but looking on a phone screen! The second and third tool temperature sensors are defined correctly, but are not being mapped to the heaters, and the heaters are not being mapped to the tools so the tool definitions are being ignored, so it’s probably something in the heater definitions. Try sending
M98 p"config.g"
And see if it reports errors in the config.
Ian
-
@droftarts I did run the command and I got a chaos.
Is this possible? How should I change all these lines?
M98 p"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: in file macro line 30 column 25: M92: array too long, max length = 1
Error: in file macro line 33 column 10: M350: array too long, max length = 1
Error: in file macro line 34 column 25: M566: array too long, max length = 1
Error: in file macro line 35 column 32: M203: array too long, max length = 1
Error: in file macro line 36 column 28: M201: array too long, max length = 1
Error: in file macro line 38 column 11: M906: array too long, max length = 1
Error: Sensor number out of range
Error: Sensor number out of range
Error: bad drive number
Error: Tool 1 not found
Error: Tool 1 not found
Error: bad drive number
Error: Tool 2 not found
Error: Tool 2 not found
Error: Tool 1 not found
Error: Tool 2 not found -
@sigourosandreas said in DWC not showing all tools:
Error: in file macro line 33 column 10: M350: array too long, max length = 1
Take a look at the GCODE documentation for each of those lines and you'll see:
RepRapFirmware does not support individual motor settings where an axis has multiple motors connected to different stepper drivers. The first parameter specified will be used for all motors on the axis. You should use identical motors on any axis that has more than one motor to avoid unexpected behaviour. Example: If you have two motors on your Z axis, physically connected to Z and E0 stepper drivers, configured with M584 Z2:3, set M350 Z16, not M350 Z16:16
-
The first error appears to be here:
M584 X6 Y5 Z2 E9,8,7 C4 ; set drive mappingYou have commas instead of colons in the E9:8:7 part.
That's causing various errors later on through the config, as only one extruder is defined correctly.
-
@rjenkinsgb Thank you very much
That was a stupid mistake and I could not see it.
I fixed it -
@sigourosandreas said in DWC not showing all tools:
@rjenkinsgb Thank you very much
That was a stupid mistake and I could not see it.Neither could I!
Ian