M143 issue
-
I suspect the order of M143 causes this. Move both M143 codes below the part where you configure heaters+sensors and check if that fixes it.
-
I changed my config to:
;== Extruder Heater ==================== M308 S1 P"20.temp0" Y"thermistor" T500000 B4723 C1.196220e-7 ; Configures sensor 1 as thermistor on pin temp0 (toolboard is set to B20) M950 H1 C"20.out0" T1 ; Creates nozzle heater output on out2 and map it to sensor 1 (toolboard is set to B20) M307 H1 B0 S1.00 ; Disables bang-bang mode for heater and set PWM limit ;== Bed Heater ========================= M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; Configures sensor 0 as thermistor on pin temp0 M950 H0 C"0.out1" T0 ; Creates bed heater output on out1 M307 H0 B0 S1.00 ; Disables bang-bang mode for the bed heater and set PWM limit M140 H0 ; Maps heated bed to heater 0 M307 H0 A241.5 C374.3 D1.8 S1.0 V24.0 B0 ; Applies auto-tune results ;== Enclosure Heater ========================= M308 S2 P"temp1" Y"thermistor" T100000 B3950 ; Configures sensor 0 as thermistor on pin temp1 M950 H2 C"0.out2" T2 ; Creates bed heater output on out2 M307 H2 B1 D200 ; Enabled bang-bang mode for the enclosure heater M141 H2 ; Defines Heater 2 as enclosure heater M143 H0 S140 ; Sets temperature limit for build plate M143 H1 S400 ; Sets temperature limit for extruder M143 H2 S80 ; Sets temperature limit for chamber
I confirmed that it properly set my build plate heater's max temp to 140 like it should, but now DWC isn't showing the build plate heater or the chamber heater? I can still control it from the PanelDue, so it is recognized..
-
after rebooting once again, the heaters have reappeared. Maybe this was just a fluke.
Should we have to group our M143 commands after each heater is defined? This was not a problem until this build..
-
As long as each M143 command comes after all M950, M307, M140 and M141 commands for the same heater, that should work.
-
Hello,
I have the same issue after I set M143 after all other M-codes for heater settings... For my heat bed I use a Keenovo silicone heater 750W/220V and for the hotend a high temperature Mosquito heater.
After a M98 "config.g" I get following warnings:
; Hotbed M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Keenovo" ; Thermistor R3950 M308 S2 P"temp2" Y"thermistor" T100000 B3950 A"Heizbett direkt" ; Schraub-Thermistor am Heizbett R3400 M950 H0 C"out0" T2 ; Heater M307 H0 A261.9 C549.2 D0.7 V24.0 B0 ; Heater 0 model: gain 261.9, time constant 549.2, dead time 0.7, max PWM 1.00, calibration voltage 24.0, mode PID M140 H0 ; Map heated bed to heater 0 - Keenovo 220V, 750W ; Hotend M308 S1 P"temp1" Y"thermistor" T500000 B4723 C1.196220e-7 A"Mosquito" ; Thermistor R-Wert eicht die Temp R3950 M950 H1 C"out1" T1 ; Heater M307 H1 A593.7 C180.4 D7.6 V24.0 B0 ; Heater 1 model: gain 593.7, time constant 180.4, dead time 7.6, max PWM 1.00, calibration voltage 24.0, mode PID M143 H1 S350 ; Sets temperature limit for extruder - Mosquito M143 H0 P1 T0 A2 S115 C0 ; Regulate (A2) bed heater (H0) to have pad sensor (T0) below 110°C. Use Heater monitor 1 for it M143 H0 P2 T0 A1 S125 C0 ; Shut off (A1) bed heater (H0) if pad sensor (T0) exceeds 120°C. Use Heater monitor 2 for it
Thank you in advance for your help,
Pierre -
@medicusdkfz Post your full config and config-override.g. Your heaters are listed twice when you execute config.g and they have different values, so you've got some extraneous commands somewhere.
-
config.g:
; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 12 2020 20:53:52 GMT+0200 (Central European Summer Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Voron 2.4 350mm^3" ; set printer name M669 K1 ; select CoreXY mode ; 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 for XY M569 P0.4 S1 ; A motor M569 P0.5 S1 ; B motor ; Drives for Z M569 P0.0 S1 ; Front left M569 P0.1 S0 ; Back left M569 P0.2 S1 ; Back right M569 P0.3 S0 ; Front right ; Drive for extruder M569 P1.0 S1 ; physical drive 1.0 goes forwards M572 D0 S0.025 ; pressure advanced ; Drive mappings M584 X0.4 Y0.5 Z0.0:0.1:0.2:0.3 E1.0 ; set drive mapping ; General drive config like speeds, accel, jerk, etc M350 X16 Y16 Z16:16:16:16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E410.00 ; set steps per mm M566 X40.00 Y40.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X15000.00 Y15000.00 Z2100.00 E1200 ; set maximum speeds (mm/min) M201 X1500.00 Y1500.00 Z350.00 E250.00 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z1000 E700 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z-0.8 S1 ; set axis minima M208 X346 Y355 Z320 S0 ; set axis maxima ; Endstops M574 X2 S1 P"!io1.in" ; X Hall effect endstop M574 Y2 S1 P"!io2.in" ; Y Hall effect endstop M574 Z1 S1 P"io3.in" ; Z microswitch endstop ; Z-Probe M558 P5 C"!io4.in" I1 H5 F120 T12000 ; set Z probe type to switch and the dive height + speeds M671 X-46:-46:396:396 Y0:418:418:0 S20 ; Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Right) G31 P500 X0 Y23 Z4.387 ; set Z probe trigger value, offset and trigger height <######################## M557 X20:340 Y30:330 S40:30 ; define mesh grid (for G32) - überschreibt Grideinstellungen in DOW nach Neustart ; Hotbed M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Keenovo" ; Thermistor R3950 M308 S2 P"temp2" Y"thermistor" T100000 B3950 A"Heizbett direkt" ; Schraub-Thermistor am Heizbett R3400 M950 H0 C"out0" T2 ; Heater M307 H0 A261.9 C549.2 D0.7 V24.0 B0 ; Heater 0 model: gain 261.9, time constant 549.2, dead time 0.7, max PWM 1.00, calibration voltage 24.0, mode PID M140 H0 ; Map heated bed to heater 0 - Keenovo 220V, 750W ; Hotend M308 S1 P"temp1" Y"thermistor" T500000 B4723 C1.196220e-7 A"Mosquito" ; Thermistor R-Wert eicht die Temp R3950 M950 H1 C"out1" T1 ; Heater M307 H1 A593.7 C180.4 D7.6 V24.0 B0 ; Heater 1 model: gain 593.7, time constant 180.4, dead time 7.6, max PWM 1.00, calibration voltage 24.0, mode PID M143 H0 P1 T0 A2 S115 C0 ; Regulate (A2) bed heater (H0) to have pad sensor (T0) below 110°C. Use Heater monitor 1 for it M143 H0 P2 T0 A1 S125 C0 ; Shut off (A1) bed heater (H0) if pad sensor (T0) exceeds 120°C. Use Heater monitor 2 for it M143 H1 S350 ; Sets temperature limit for extruder - Mosquito ; DHT22 sensor ;M308 S10 P"0.spi.cs0" Y"dht22" A"Chamber Temp" ; Temperature (connected to cs0 port on the temp daughterboard slot ;M308 S11 P"S10.1" Y"dhthumidity" A"Chamber Hum[%]" ; Humidity ; Main fans M950 F0 C"1.out6" Q500 ; Part cooling fan M106 P0 S0 H-1 ; Default off; thermostatic control off M950 F1 C"out7" Q500 ; Hotend cooling fan M106 P1 S1 H1 T45 ; Default on; thermistatic control on above 45C ; Aux fans (option to control daughter board fans based on main board temp sensor coming in RRF3.3, for now has to be manual) M950 F2 C"1.out7" Q500 ; Electronics compartment fan 1 M106 P2 S1.0 H-1 ; Default on; thermostatic control off M950 F3 C"1.out8" Q500 ; Electronics compartment fan 2 M106 P3 S1.0 H-1 ; Default on; thermostatic control off M950 F6 C"out8" Q500 ; Noctua exhaust filter fan M106 P6 S0 H-1 ; Default off ; LED-Stripes ;M950 F5 C"out9" Q500 ; LED-Streifen rechts --> derzeit nicht installiert ;M106 P5 S1.0 H-1 ; Default on; thermostatic control 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 ; Custom settings are not defined ; Miscellaneous M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss M575 P1 S1 B57600 ; enable support for PanelDue
config-override.g:
; config-override.g file generated in response to M500 at 2020-11-16 20:08 ; This is a system-generated file - do not edit ; Workplace coordinates G10 L2 P1 X0.00 Y0.00 Z0.00 G10 L2 P2 X0.00 Y0.00 Z0.00 G10 L2 P3 X0.00 Y0.00 Z0.00 G10 L2 P4 X0.00 Y0.00 Z0.00 G10 L2 P5 X0.00 Y0.00 Z0.00 G10 L2 P6 X0.00 Y0.00 Z0.00 G10 L2 P7 X0.00 Y0.00 Z0.00 G10 L2 P8 X0.00 Y0.00 Z0.00 G10 L2 P9 X0.00 Y0.00 Z0.00
-
And here M98 P"config.g"
Thank you for your help...
Pierre
-
The results of M98 P"config.g" aren't showing double warnings now, what did you change?
-
I had some problems with my printouts. So I changed to the configuration before. But I still have the warnings...
-
@medicusdkfz 1 warning for each heater would be normal.
-