In print z height adjustment (babystepping)

Hello,

Doing a search I have seen that the Morgan printers running smoothieware have implemented a way to adjust the first layer height using a command entered into terminal during the print

Eg: M306.1 Z-0.05 brings the hotend closer to the bed during the print.

I tried using that M code on the latest firmware with no results. Is this a specific module that only works with Morgan printers?

Reason it’s a useful feature: my printer will run multiple hotend configuration over the period of a few weeks depending on job requirements. Varying from e3d 0.25mm up to running a volcano 1.2mm. So I don’t always have my z probe height perfect because it’s always changing. It’s good to be able to tweak the first layer height on the fly for different configurations.

Thank you for your time

Imported from wikidot

It is non standard and in the morgan fork only. It is not done in a way that is compliant with the Smoothie code base so will not be accepted into smoothie firmware.

However there is a better way to do it which works with the versions of smoothie that are supported.

Basically use Workspace coordinate systems, check out G10 L2 P0 Zxxx in the wiki documentation.

Thank you for your help.

I am having trouble understanding the implementation of the G10 L2 etc… From the wiki. The examples given are a pre set workspace shift for different fixtures or replication of a pattern within a program for a different set of offsets (pre defined)

Is it also able to be used to incrementally offset the z axis every time the code is called?
Eg: G10 L2 P0 Z0.05
To raise the z height 0.5mm every time the code is called within the print…