Bed temperature always zero in gcode

Post Reply
wdmarine
Posts: 2
Joined: 25 May 2024, 13:31

Bed temperature always zero in gcode

Post by wdmarine »

I must be doing something wrong since I am not finding other reports of it.

No matter what I set the bed temp to the following section of gcode always sets it to zero:

; *** G-code Prefix ***
;
G21
G90
M83
G28
;G32
M104 S245
M190 S0 ;<========= sets bed temp to zero
M109 S245
;
; *** Main G-code ***

Here's the prefix g-code, which I haven't changed. Nor have I added or changed any other custom g-code.

G21
G90
M83
G28
;G32
M104 S<TEMP>
M190 S<BEDTEMP>
M109 S<TEMP>

Any help is appreciated!

David
dadoblu_2000
Posts: 31
Joined: 06 Dec 2021, 04:32

Re: Bed temperature always zero in gcode

Post by dadoblu_2000 »

I use these commands to set temperatures for my printer

BED_TEMP=S<BED>
EXTRUDER_TEMP=S<TEMP>
wdmarine
Posts: 2
Joined: 25 May 2024, 13:31

Re: Bed temperature always zero in gcode

Post by wdmarine »

dadoblu_2000 -

Thank you for the reply.

I am assuming you entered:

BED_TEMP=S<BED>
EXTRUDER_TEMP=S<TEMP>

in the "Material G-Code Editor", correct?

I entered:

BEDTEMP=S70

I also am assuming that token is picked up by the "prefix" code in the "Printer G-Code Editor" where it has:

G21
G90
M83
G28
;G32
M104 S<TEMP>
M190 S<BEDTEMP>
M109 S<TEMP>

Even doing all of that, I end up with M190 S0 in the generated g-code.
Post Reply