Mesh Bed Leveling
So i own a Anycubic i3Mega S and Repetier-Server-Pro. I did a mesh bed leveling on my Firmware on the anycub(Marlin). When I print something over repetier Server it just ignores the mesh bed leveling, but when I print the Same g,Code directly with an sd card it works. Do I have to do a mesh bed leveling with repetier Server as well, when yes where?”
thanks for answers
thanks for answers
Comments
Can you show the code part that gets ignored?
If you activate logging you should see if it gets send or not.
If not: Server has many methods to modify g-code so also check in printer config->g-codes->replacements if you have a rule that matches your leveling g-code and replaces it. By default they are empty, but maybe you have added something there-
Here is the full Start G-Code standart used by Cura
G21 ; metric values
G90 ; absolute positioning
M82 ; set extruder to absolute mode
M107 ; start with the fan off
M140 S{material_bed_temperature_layer_0} ; Start heating the bed
G4 S60 ; wait 1 minute
M104 S{material_initial_print_temperature} ; start heating the hot end
M190 S{material_bed_temperature_layer_0} ; wait for bed
M109 S{material_initial_print_temperature} ; wait for hotend
M300 S1000 P500 ; BEEP heating done
G28 X0 Y10 Z0 ; move X/Y to min endstops
M501
M420 S1
M420 Z2.0 ; Set leveling fading height to 2 mm
G0 Z0.15 ; lift nozzle a bit
G92 E0 ; zero the extruded length
G1 X50 E25 F500 ; Extrude 25mm of filament in a 5cm line.
G92 E0 ; zero the extruded length again
G1 E-2 F500 ; Retract a little
G1 X120 F4000 ; Quickly wipe away from the filament line
The two bold lines are responsible, that Marlin uses the Mesh Bed Leveling that i manually put in. (I think its even something saved to the EProm).
I just activated Logs and i will try tomorrow what it says. I just saw it because at my first print after 9 hours Repetier server just randomely stoppen and said it was still going. The next Print it printed it fully but its how i said it doesnt takes the leveling i did
PS: Sorry for my english its not the best
https://marlinfw.org/docs/gcode/M420.html
You can try adding
M420 V1
after that. That would write the leveling active which should be what you stored. It is is all 0 than the commands do not work as expected.
G28 is before this which is good as it disables leveling unless configured to not do so.