Auto bed probing and compensation with G29 Development

Want to use the Open Source Hardware documentation to make your LulzBot 3D Printer do even more? Start here!
Andy W
Posts: 17
Joined: Mon Dec 02, 2013 9:54 am

Re: Auto bed probing and compensation with G29 Development

Post by Andy W » Fri Dec 06, 2013 9:27 pm

Hi there, i got all parts installed and i uploaded the new firmware to the printer, but Printrun (2013.10.19) want load any gcodes with the custom gcode at the start of the print.

Code: Select all

M203 X192 Y208 Z4 ; set max rapid rates mm per sec
G91; set to incremental motion
G1 Z10.0 F11520; raise Z
G90; set to absolute motion
G28 X0 Y0; home X and Y axes
G1 X276 F11520; go to probe deployment position
G1 X288 F350; deploy probe
G1 X250 F11520; go to safe place
G28 Z0; Home Z axes
G29; probe bed
G1 Z12.0 F240; raise probe off bed
G1 X14 F11520; go to probe retract position
G1 X0.5 F350; retract probe
G1 X1 F350; move away from limit switch 
M206 X0.0 Y0.0 Z0.0; offset home position for fine tuning

Here is the start up form my TAZ:

Code: Select all

Connecting...
start
Printer is now online.
echo: External Reset
Marlin 1.0.0
echo: Last Updated: Dec  6 20132013-07-03 20:45:37 | Author: (1013, bed level config for TAZ)
Compiled: Dec  6 2013
echo: Free Memory: 5458  PlannerBufferBytes: 1232
echo:Using Default settings:
echo:Steps per unit:
echo:  M92 X100.50 Y100.50 Z800.00 E800.00
echo:Maximum feedrates (mm/s):
echo:  M203 X192.00 Y208.00 Z4.00 E45.00
echo:Maximum Acceleration (mm/s2):
echo:  M201 X9000 Y9000 Z100 E10000
echo:Acceleration: S=acceleration, T=retract acceleration
echo:  M204 S500.00 T3000.00
echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum xY jerk (mm/s),  Z=maximum Z jerk (mm/s)
echo:  M205 S0.00 T0.00 B20000 X5.00 Z0.40 E5.00
echo:Home offset (mm):
echo:  M206 X0.00 Y0.00 Z0.00
echo:PID settings:
echo:   M301 P22.20 I1.08 D114.00

There must be a setting wrong. but i cant find the problem.
I keep trying, but maybe somebody knows whats wrong. :roll:

Andy W

Andy W
Posts: 17
Joined: Mon Dec 02, 2013 9:54 am

Re: Auto bed probing and compensation with G29 Development

Post by Andy W » Sat Dec 07, 2013 1:54 pm

I got it working!

I had to add one more line!

G1 Z5 F5000 ; lift nozzle

Code: Select all

G28 ; home all axes
G1 Z5 F5000 ; lift nozzle <----
M203 X192 Y208 Z4 ; set max rapid rates mm per sec
G91; set to incremental motion
G1 Z10.0 F11520; raise Z
G90; set to absolute motion
G28 X0 Y0; home X and Y axes
G1 X276 F11520; go to probe deployment position
G1 X288 F350; deploy probe
G1 X250 F11520; go to safe place
G28 Z0; Home Z axes
G29; probe bed
G1 Z12.0 F240; raise probe off bed
G1 X14 F11520; go to probe retract position
G1 X0.5 F350; retract probe
G1 X1 F350; move away from limit switch 
M206 X0.0 Y0.0 Z0.0; offset home position for fine tuning

1013
Posts: 339
Joined: Thu May 23, 2013 9:56 am

Re: Auto bed probing and compensation with G29 Development

Post by 1013 » Tue Dec 10, 2013 7:50 pm

Andy W wrote:I got it working!

I had to add one more line!

G1 Z5 F5000 ; lift nozzle

Code: Select all

G28 ; home all axes
G1 Z5 F5000 ; lift nozzle <----
M203 X192 Y208 Z4 ; set max rapid rates mm per sec
G91; set to incremental motion
G1 Z10.0 F11520; raise Z
G90; set to absolute motion
G28 X0 Y0; home X and Y axes
G1 X276 F11520; go to probe deployment position
G1 X288 F350; deploy probe
G1 X250 F11520; go to safe place
G28 Z0; Home Z axes
G29; probe bed
G1 Z12.0 F240; raise probe off bed
G1 X14 F11520; go to probe retract position
G1 X0.5 F350; retract probe
G1 X1 F350; move away from limit switch 
M206 X0.0 Y0.0 Z0.0; offset home position for fine tuning
CAUTION....

you are homing all axises WITHOUT the probe deployed...this could crash into the glass if your limit switch is not setup correctly....If it works for you great, though.

Not sure why it did not work before. But it may be something in printrun....I use Slic3r/Repetier host and suggest it to everyone....nothing like a 3D graphical interface especially since it is a 3D printer.

sqaure
Posts: 17
Joined: Thu Jan 30, 2014 8:23 pm

Re: Auto bed probing and compensation with G29 Development

Post by sqaure » Thu Jan 30, 2014 8:43 pm

and the other firmware files you need to get probing working are found here: https://github.com/larsbrubaker/Marlin/ ... _Bed_Level

Can someone re-upload the firmware? The link is dead.

Thanks!

geneb
Posts: 63
Joined: Thu May 02, 2013 7:59 am

Re: Auto bed probing and compensation with G29 Development

Post by geneb » Fri Jan 31, 2014 8:57 am

The link works fine.

g.

sqaure
Posts: 17
Joined: Thu Jan 30, 2014 8:23 pm

Re: Auto bed probing and compensation with G29 Development

Post by sqaure » Fri Jan 31, 2014 2:33 pm

https://github.com/larsbrubaker/Marlin/ ... _Bed_Level

I just copied and pasted it the first time from the first post of this topic.
The ... in the link breaks it. Please see the actual link above. It is broken.

User avatar
gannon
Posts: 47
Joined: Wed Jul 10, 2013 11:42 am

Re: Auto bed probing and compensation with G29 Development

Post by gannon » Fri Jan 31, 2014 3:20 pm

Auto leveling has been added into the main branch of marlin for awhile now. I haven't tried to see if it works well with this method, but seeing as this just requires special start g-code that is made by the slicer I don't see why it wouldn't.

geneb
Posts: 63
Joined: Thu May 02, 2013 7:59 am

Re: Auto bed probing and compensation with G29 Development

Post by geneb » Fri Jan 31, 2014 5:18 pm

sqaure wrote:https://github.com/larsbrubaker/Marlin/ ... _Bed_Level

I just copied and pasted it the first time from the first post of this topic.
The ... in the link breaks it. Please see the actual link above. It is broken.
Again, there's nothing wrong with the link. It's designed to be clicked, not copy/pasted.

g.

sqaure
Posts: 17
Joined: Thu Jan 30, 2014 8:23 pm

Re: Auto bed probing and compensation with G29 Development

Post by sqaure » Fri Jan 31, 2014 10:15 pm

I get a 404 error when I click it. How am I the only one :S

User avatar
gannon
Posts: 47
Joined: Wed Jul 10, 2013 11:42 am

Re: Auto bed probing and compensation with G29 Development

Post by gannon » Sat Feb 01, 2014 10:09 pm

square: You are not. I do not see the Auto_Bed_Level branch anywhere in that git repository anymore and I also get a 404 error. Maybe geneb is getting a cached page and needs to flush his cache? (ctrl+f5)

Post Reply