Bed Compensation- Cartesian printer.
-
I have set my printer to do bed mapping through a macro. It does not feature in the config.g file.
I have the file heightmap.csv in the systems file group.
the idea is to get the printer do bed mapping when actually required.
my question is how to get the printer to load and use the heightmap csv .
I have come across a bed file as well.
Any help appreciated. -
@mendelevium you load the heightmap using
G29 S1
-
@jay_s_uk
can this be placed in config.g file and read when the printer starts? -
@mendelevium yes you can just add that to the end of config.g
-
@mendelevium you don't want to be loading until after your printer has been homed and levelled (using G32).
It should be in the start.g file if you use it or in the start gcode of your slicer -
@jay_s_uk
obviously the printer would be fully calibrated, nozzle adjusted and ready to go....
I can put it in the slicer start script but would prefer to put it in config when the printer starts... -
@mendelevium how can your printer be fully ready to go when you turn it on without homing it etc?
with levelling i'm talking about independent Z levelling -
@jay_s_uk
you are right... it could be put in the slicer start script but I think even in the Z homing script. I have read that to put in the homing script you must be using the G30 commands but my z homing scripts are different...;Z homing Script
G91 ;realtive mode
G1 Z275 F1000 H1 ; move Z rapidly / 300mm up/ until Homing is triggerd
G90 ;absolute mode
G1 Z256 F10 ; retract z 3mm slowly
G91 ;realtive mode
G1 Z5 F0.1 H1 ; rehome at slow speed
G90 ; return to asoute mode
G1 Z261 ; back off -
@mendelevium interesting homing script.
What i don't understand about your home Z script is you move back to 256mm, move 5mm on the second pass and then move back to 261mm, yet that distance is only 5mm so your second pass isn't moving far enough or you won't move away. Also, there is a minimum movement speed in the firmware of 0.5mm/s which would be F30 (unless you've overridden it using M203) F0.1 is very very slow.
Anyway, as long as your home z sets the home position correctly relative to your probe, I don't think you need to be using G30 to home to be able to use G29 S1 in your homing files
-
G91 ;realtive mode
G1 Z275 F1000 H1 ; move Z rapidly / 300mm up/ until Homing is triggered - the 275 is larger than the stroke.
G90 ;absolute mode
G1 Z256 F10 ; retract z 3mm slowly (Z 259 reaches the microswitch) so it backs off 3mm)
G91 ;realtive mode
G1 Z5 F0.1 H1 ; rehome at slow speed (then home very slowly)
G90 ; return to asoute mode
G1 Z261 ; back off (this goes down a bit away from the switch)