G-Code Issue
Hi,
I now have an AC powered heat bed and need to turn the bed off while auto leveling. While I have figured that out, I still am setting the bed temp thru the G-Code with "M190 S60". I would like to pull the temp data from the .gcode file so the when the bed is turned back on, the temp is correct for which ever material I am printing. Here is my current code:
M75; Start Timer and Engage Filament Monitor
M190 S75; wait for bed temperature
M140 S0; turn off heat bed
G28 ; home all axes
G29 ; auto level
M190 S60; wait for bed temperature
G4 S10; wait for heaters to recover
G1 X0 Y20 Z0.2 F3000 ; get ready to prime
G92 E0 ; reset extrusion distance
G1 F200 E25 ; extrude filament
G92 E0 ; reset extrusion distance again
M420 Z1 ; fade ABL off after 1mm
Thanks in advance!!!
Re: G-Code Issue
Depending on the slicer used:
Slic3r:
M190 S[first_layer_bed_temperature]
KISS:
M190 S<BED>
Peter
Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…
Re: G-Code Issue
Thanks Peter,
Would you happen to know the syntax for Cura by chance. Or, where to find it.
Regards, Corey
Re: G-Code Issue
I only have Cura 15.04.6 on my PCs (just to have a quick look at models)
The token in that is:
M190 S{print_bed_temperature}
Peter
Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…
Re: G-Code Issue
Thanks again.
I have Cura 3.3.1 and managed to find some syntax that worked: M190 S{material_bed_temperature};
Yours may work as well though.
Regards, Corey