bed heater wont come on
-
@infiniteloop about 30 sec to get fault
i think my relay isnt getting turned on like it used with rrf 2.0 with the M80 i used to hear the relay come on when i would put that in the console M80 or M81 now i get a error saying PS_ON isnt defined
so i still need to put M80 in the config.g but now i just need to define the PS_ON pin to M80 is that correct -
Can you show us some photos or diagram of your wiring connections?
When you say relay, do you mean for the bed, or the Duet? Is it a relay or an SSR?
-
@downshift64 Error: M80: No PS_ON port defined how do i define this
-
@downshift64 i got it iam pretty sure M80 ; sets pin in the power on state
M80 C"pson" ; allocates the pin and sets the pin in the power on state. -
@downshift64 do i need to add the stuff with the M81 to shut it off in the config.g file , it wasnt there before all it had was the M80 when i was using 2.0 firmware
-
@downshift64 almost got this printer running 3.4.1 i just need to figure out how to do the grid or mesh with the bltouch what commands and were to put the commands
-
i think my relay isnt getting turned on like it used with rrf 2.0 with the M80 i used to hear the relay come on when i would put that in the console M80 or M81 now i get a error saying PS_ON isnt defined so i still need to put M80 in the config.g but now i just need to define the PS_ON pin to M80 is that correct
That's rather confusing. On the one hand, your config.g is set up to control the "bedheat" output (defined as heater 0) with the help of a thermistor (defined as T0) connected to "bedtemp". On the other hand, you seam to tell us that the SSR for the bed heater should be switched on and off via ATX power (
M80
/M81
).BTW: you say you "used to hear the relay come on …" - How this? You can't hear a solid state relay at all. Please explain or post a photo of the relay.
This aside, sure I can tell you how to enable ATX power; in your config, simply replace the line
;M80 ; turn bed heater relay on
with this one:
M80 C"pson" ; define the ATX power pin, turn it on
BUT: If your bed heater is mains powered, that doesn't make sense. The only thing I can imagine is that you could have wired the "pson" pin to control the SSR (or whatever relay you use). This would impose a severe safety risk, so I really hope your photos or diagram of the wiring tell us another story. Remember @Phaedrux' post:
Can you show us some photos or diagram of your wiring connections?
Please clarify this topic before we look at the BLTouch and mesh bed levelling.
-
@infiniteloop yes i can input M80 and M81 and hear the relay turn on and off , i already got the bed worked out
; Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Sun Jun 26 2022 19:50:31 GMT-0500 (Central Daylight Time); General preferences
M80 ; sets pin in the power on state, turn bed heater relay on
M80 C"pson" ; allocates the pin and sets the pin in the power on state.i have my BLtouch working i can home all and it probes the bed , i just dont understand how or where i need to set up the code for mesh or grid probing for the bltouch
-
@downshift64 said in bed heater wont come on:
i can input M80 and M81 and hear the relay turn on and off
Photo, please.
i already got the bed worked out
How do you control the temperature?
i have my BLtouch working i can home all and it probes the bed , i just dont understand how or where i need to set up the code for mesh or grid probing for the bltouch
And I just don't understand how you wired the "SSR" and mains power of the bed heater. First things first. Now it's your turn.
-
@infiniteloop lol i didnt wire it i bought it this way
-
-
-
@downshift64 Thank you. I like cats
From what I see, "pson" (yellow wire from the 3-pin connector near the bottom right of the Duet) is used. The "bedtemp" port (green screw terminal, bottom left) is connected as well as the thermistor. This arrangement looks ok, but with the settings you shared (config and config-override), I wonder if you still get heater warnings. Do you?
And now for something completely different …
You generate a mesh with G29. Called without parameters, G29 in turn calls the macro sys/mesh.g if it exists. This macro will look like this:
G1 X0 Y-9 Z4 F10000 ; put head over the center of the bed (Note: compensate for probe offset) G30 ; probe to set Z height M557 X-130:130 Y-130:120 P20:20 ; define the grid G29 S0 ; probe the bed
Please note that, in this example, the X/Y origin is at the center of the bed. Also, your bed size can differ. The idea is to first probe the Z height (
G30
), to set up the grid (here it's a mesh of 20*20 mm, see M557 for details), then to probe the bed. The resulting height map will be stored as sys/heightmap.csv on the SD card.EDIT: Here's a link with all you ever wanted to know (but never dared to ask) about Mesh Bed Compensation. Recommended!
-
@infiniteloop ; i pid the bed then the hotend everything with those works great
Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; 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 R0.228 K0.141:0.000 D39.96 E1.35 S1.00 B0 ; 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"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 R4.338 K0.929:0.000 D1.56 E1.35 S1.00 B0 V24.1 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S305 ; set temperature limit for heater 1 to 300C -
-
@downshift64 said in bed heater wont come on:
i pid the bed then the hotend everything with those works great
Glad to hear that. Good news are rare these days