MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.19k stars 19.21k forks source link

pruisa i3 - g28 fail home after g29 #2736

Closed NesThaesis closed 8 years ago

NesThaesis commented 8 years ago

Hello Guys.

Im fairly new to 3d printing, i started to learn it about a week ago, because one of my friend has a pruisa i3 and i asked him to print me a model. It turns out, he cant print anymore since his bed is unbalanced, and we couldn't level it manually, the modells kept failing at the first 2-3 layer.

So i dug into how to do the auto leveling process.

I bought a LJ12A3-4-Z/BX inductive proximity sensor. ( it should be blue, but its orange. dunno why ), but anyway the motherboard is an MKS Base v1.2 and i connected the sensor to the Z min data, along with the 5V and ground connections.

The sensor works, it has enough power to run on 5 volt, the led comes on, it triggers when reaching the bottom of the bed. So i shouldn't complain about it.

It is installed around 72mm to the right of the extruder, and so i set

define X_PROBE_OFFSET_FROM_EXTRUDER 72

Now auto bed leveling is set to Grid mode and it is set to probe the following points.

#define LEFT_PROBE_BED_POSITION 15
#define RIGHT_PROBE_BED_POSITION 160
#define BACK_PROBE_BED_POSITION 220
#define FRONT_PROBE_BED_POSITION 20

This is where my problem occurs. Upon giving the command G28XYZ the extruder goes back to XY and Z 0 point where its home should be. Then after G29 the probe starts the auto bed leveling, it does check the 4 point given above, then it sets itself around halfway of the Y axis, and around 10mm into the X axis. Now both auto home and g28 comes back into this point,

Starting a print makes the printer start the printing on the other side of the board ( about halfway of the X axis ) and it makes the extruder run off the printing bed.

Any idea where did i go wrong ?

Thank you for any support i really appriciate it.

AnHardt commented 8 years ago

Sending a G28 after a G29 makes no sense at all, because it makes the results (matrix) of G29 invalid.

The hosts (Repetier Host, Pronteface) use relative moves to move the head when you hit the buttons. After a G29 they do not know exactly where the head is. Try to sync with a manual G0/G1 code like G0 X0 Y0 Z20

EDITED:

If you cant find a satisfying adjustment by adjusting the screws, maybe your bed is bend. In that case also G29 (grid) can not find a good adjustment. Maybe 'mesh bed leveling' can improve a bit

NesThaesis commented 8 years ago

As it turned out, my marlin wasnt up to date, so we reconfigured the newest one and now it seems to work.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.