When to use M561 and M290
fcwilt last edited by
I am in the habit of using M561 (cancel height map) and M290 R0 S0 (cancel baby-stepping) in several instances:
- before homing Z,
- before creating height maps
- before loading height maps
- before setting the Z=0 datum
- before leveling the bed using G32
I suspect that sometimes I don't really need to do that.
What other commands (if any) cancel the height map and/or baby-stepping "behind the scenes" so to speak?
Thanks very much.
oliof last edited by oliof
@fcwilt M561 also cancels babystepping AFAIR, so if you issue M561, you don't need an M290 R0 S0. (see https://github.com/Duet3D/RepRapFirmware/blob/123d4362a04a709103971dd10b94e916b8790ef8/src/Movement/Move.cpp#L581).I was wrong.