Print

Babystepping with GCode Commands

No Babystepping on your LCD? No Problem

Some printers have limited LCDs that don’t display the full Marlin firmware (or TH3D Unified Firmware) menu system. This can mean that useful features like Babystepping are not available you on the LCD. The latest versions of Unified 2 and Marlin 2.0 have a Gcode command (M290) that allow you to perform these commands from a serial/USB connection to your printer.


M290 GCode Command

To send these commands you will need to be connect to the printer with a program that gives you a terminal to the printer. If you are using an EZPi kit (or OctoPrint), then you have a serial terminal already in the web interface. If you connect your printer to your PC, you can use a program like Pronterface to send these commands to the printer over its COM port.

A negative value will move the nozzle closer to the bed and a positive value will move the nozzle further from the bed.


Example: Moving the Nozzle Closer to the Bed

Lets say you want to adjust the nozzle to be 0.01mm closer to the bed. You would send:

M290 Z-0.01
Example of what this looks like, the bed was moved 0.01mm closer to the nozzle when this was sent and our Zoffset was set to -1.39

You can change the -0.01 in this example to whatever amount you want to change the distance to. This value is in millimeters.


Example:Moving the Nozzle Further from the Bed

Lets say you want to adjust the nozzle to be 0.01mm further from the bed. You would send:

M290 Z0.01
Example of what this looks like, the bed was moved 0.01mm further from the nozzle when this was sent and our Zoffset was set to -1.38

You can change the 0.01 in this example to whatever amount you want to change the distance to. This value is in millimeters.


Using Babystepping with an ABL sensor

If you have an ABL sensor installed (like our EZABL) and you are using our Unified 2 firmware (or Marlin with the BABYSTEP_ZPROBE_OFFSET option on), this will adjust your Z offset because they are combined in the firmware. If you want to retain that new value when you reset the printer, you need to send M500 to the printer to store that new value.

If you do not have the babystepping combined with your Zoffset, then you will need to change your Zoffset by the amount that you babystepped and then save that new offset with the M500 command.

Previous 3D Printer Help Guide Creality & Others
Next BL Touch – Reset Operation Mode
Table of Contents