M143 issue
-
@dc42 I just experienced this in 3.2B3 where I had to run "M143 H0 S140" again to get the default to increase above 125. Here is my current config. This was working in 3.2B1 after moving M143 after M307.. Thanks
;== 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 M143 H0 S140 ; Sets temperature limit
-
@dc42 just bumping this as 3.2B3 is definitely not accepting the following command when run from my config. There is no config-override.g. I must run M143 H0 S140 twice to get the updated value to stick.. see above for my current config.
-
@oozeBot, please provide your whole config.g file.
-
@dc42 here you go.. this was working on 3.2b1 after moving M143 after M307.
edit - the "{1}" on line 94 is not present in my config.. there seems to be some issue with the codeblock functionality which is injecting that.
;== General Settings =================== M80 ; Turns on 24v Power Supply G4 P2000 M550 P"oozeBot" ; Sets printer name M669 K1 ; Selects CoreXY mode ;== PanelDue =========================== M575 P1 B57600 S1 ; Configures PanelDue ;== NeoPixel Settings ================== M150 X1 F3000000 ; sets LED type to NeoPixel and SPI frequency to 3MHz G4 P1000 M150 R0 U85 B255 P64 S57 ;== Fans =============================== M950 F0 C"20.out1" ; Creates fan 0 on pin out2 (print cooling fan) M106 P0 S0 H-1 ; Sets fan 0 to manual control M950 F1 C"20.out2" ; Creates fan 1 on pin out1 M106 P1 T50 H1 ; Sets fan 1 to thermostatic control M950 F2 C"!0.out4" ; Creates fan 2 on pin out4 (case cooling fan) M106 P2 S0 H-1 ; Sets fan 2 to manual control M106 P2 S128 M569 P0.0 S0 ; Defines physical drive 0.0 to move forwards M569 P0.2 S1 ; Defines physical drive 0.2 to move backwards M569 P0.3 S0 ; Defines physical drive 0.3 to move backwards M569 P0.5 S0 ; Defines physical drive 0.5 to move backwards M569 P20.0 S0 ; Defines physical drive 20.0 to move backwards M584 Z0.0:0.2 X0.5 Y0.3 E20.0 ; Binds Z to 0.2 & 0.0, X to 0.5, Y to 0.3, and E to 20.0 M350 X16 Y16 Z16 E16 I1 ; Configures microstepping with interpolation ;M92 X100.00 Y100.00 Z100.00 E830.00 ; Sets steps per mm M92 X100.00 Y100.00 Z100.00 E840 ; Sets steps per mm M566 X1500.00 Y1500.00 Z500.00 E3000.00 P1 ; Sets Jerk - maximum instantaneous speed changes (mm/min) M201 X12000.00 Y12000.00 Z500.00 E3000.00 ; Sets accelerations (mm/s^2) M203 X24000.00 Y24000.00 Z12000.00 E3000.00 ; Sets maximum speeds (mm/min) M906 X1600 Y1600 Z1800 E1120 I50 ; Sets motor currents (mA) and motor idle factor (I) in percent M84 S60 ; Sets idle timeout ;== Axis Definitions =================== M208 X0 Y0 Z0 S1 ; Sets axis minima M208 X304.8 Y304.8 Z304.8 S0 ; Sets axis maxima M671 X-85:424 Y152.4:152.4 S6 ; Sets belt position relative to the print bed ;== Endstops =========================== M574 X1 S3 ; Configures sensorless endstop for low end on X M574 Y1 S3 ; Configures sensorless endstop for low end on Y M574 Z2 S3 ; Configures sensorless endstop for high end on Z ;== Initializes Relay Board ============ M950 P3 C"0.out3" ; Creates P3 on pin out7 as on/off tool toggle M42 P3 S1 ; Enables P3 to an on state G4 P1000 ; Wait 1s to allow relay board to energize ;== Locks Z Axis ======================= G92 Z0 ; Sets Z height to 0 G1 Z0.2 F4000 ; Moves Z .2mm up equating to roughly one full motor step ;== 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 M143 H1 S400 ; Sets temperature limit for heater 1 to 333C ;== 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 M143 H0 S140 ; Sets temperature limit ;== 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 M143 H2 S80 ; Sets temperature limit M141 H2 ; Defines Heater 2 as enclosure heater ;== Tool Definitions =================== M563 P0 D0 H1 F0:1 S"Extruder" ; Define tool 0 G10 P0 X0 Y0 Z0 R0 S0 ; Set tool 0 axis offsets and active / standby temps to 0c ;== BLTouch ============================ M558 K0 P9 C"20.io0.in" H3 F120 T12000 A5 R0.1 S0.01 ; Defined BLTouch parameters M950 S0 C"20.io0.out" ; Servo Control Pin for BLtouch G31 X20 Y20 Z2.9 P25 ; Probe offsets M557 X34.5:265.5 Y34.5:265.5 S115.5 ; Define mesh grid (9 test points) T0 ; Selects Tool0 as default G21 ; Set units to millimeters G90 ; Sends absolute coordinates.. M83 ; ..but relative extruder moves
-
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.
-