KTMDirtFace
Posts: 15
Joined: Thu May 08, 2014 10:57 pm

Run AutoLevel while cold.

I have a robo3d R1 with auto level.

I just got BuildTak print base to put on the build plate, running the auto level with a hot nozzle will mess it up.

Is there a way to have it
Run auto level script.
THEN wait for build platform and nozzle to heat up.
Then print?

The auto level script looks like this and is in the script section of Simplify.. I just dont know how to make it do this before heating.

G28 ; home all axes
G1 Z5 F5000 ; lift Z by 5mm
M565 Z-0.8 ; set the offset for auto-leveling mechanism
G29 ; run auto-level
BaudR8
Posts: 183
Joined: Fri Aug 29, 2014 9:59 am

Re: Run AutoLevel while cold.

replace your start script with this:

G28 ; home all axes
G1 Z5 F5000 ; lift Z by 5mm
M565 Z-0.8 ; set the offset for auto-leveling mechanism
G29 ; run auto-level
M140 S[bed0_temperature]
M190 S[bed0_temperature]
M104 S[extruder0_temperature]
M109 S[extruder0_temperature]
KTMDirtFace
Posts: 15
Joined: Thu May 08, 2014 10:57 pm

Re: Run AutoLevel while cold.

BaudR8 wrote:replace your start script with this:

G28 ; home all axes
G1 Z5 F5000 ; lift Z by 5mm
M565 Z-0.8 ; set the offset for auto-leveling mechanism
G29 ; run auto-level
M140 S[bed0_temperature]
M190 S[bed0_temperature]
M104 S[extruder0_temperature]
M109 S[extruder0_temperature]
Thanks and I assume also uncheck these? I couldn't figure out where this check option is going. right to the gcode? I should probably uncheck it since what you wrote will do it for me after my bed level procedure?
Image
KTMDirtFace
Posts: 15
Joined: Thu May 08, 2014 10:57 pm

Re: Run AutoLevel while cold.

This is what a Code of one of my files is near the start.
I looked at g-code wiki and i see
M140 = set bed temp
M190 = wait for bed temp

M104 = set extruder temp
M109 = set extruder temp and wait

should I use S80 and S230 TO instead of
bed0_temperature and extruder0_temperature?

I'm not sure what S80 and S230 TO means.

EDIT: I guess thats setting the temps directly.. which i shouldnt do so what you wrote will grab the temp variable?
EDIT2: nevermind i guess i just have to have the temps set in the startup rather than the settings tab? no problem thank you!

Thanks a ton
------------------------------------------------------------
G90
M82
M106 S0
M140 S80
M190 S80
M104 S230 T0
M109 S230 T0
G28 ; home all axes
G1 Z5 F5000 ; lift Z by 5mm
M565 Z-0.8 ; set the offset for auto-leveling mechanism
G29 ; run auto-level
G92 E0
G1 E-1 F1800
G1 Z0.18 F1000
; layer 1, Z = 0.18
T0
; tool H0.2 W0.4
G1 X102.003 Y112.491 F4800
G1 E0 F540
G92 E0
KTMDirtFace
Posts: 15
Joined: Thu May 08, 2014 10:57 pm

Re: Run AutoLevel while cold.

Ok I think this will work thank you very much. I'll just have to remember to modify my temps in the startup script as opposed to the temperature tab?

This works I used to have some G28 codes in there until I noticed if you G28 after do ing the auto level it blows all auto level settings away..this works for now
startup script

Code: Select all

G28 ; home all axes
G1 Z5 F5000 ; lift Z by 5mm
M565 Z-0.9 ; set the offset for auto-leveling mechanism
G29 ; run auto-level

; This set of code is so that it autolevels before heating so that the BuildTek surface is not damaged
G1 Z5 F5000 ; lift Z by 5mm so it doesnt rest on the BuildTek while heating.
M140 S80 ; Set Bed Temperature
M190 S80 ; Wait for Bed Temperature
M104 S230 T0 ; set extruder temperature
M109 S230 T0 ; set extruder temperature and wait for temp
KTMDirtFace
Posts: 15
Joined: Thu May 08, 2014 10:57 pm

Re: Run AutoLevel while cold.

Script I wrote above worked great.

Only thing I wish is if I could get the temperatures for the nozzle and bed in a variable instead of having to set them in the start script ?
iPa64
Posts: 33
Joined: Sat May 09, 2015 5:18 pm

Re: Run AutoLevel while cold.

Yes use [bed0_temperature] and [extruder0_temperature]

M190 S[bed0_temperature]
M109 S[extruder0_temperature]
KTMDirtFace
Posts: 15
Joined: Thu May 08, 2014 10:57 pm

Re: Run AutoLevel while cold.

Thanks I have no idea why that didn't work before but it works now thanks!

Return to “Troubleshooting and Bug Reports”