Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  

Calibration / X-Y steps per mm

Recommended Posts

Hi guys,

I'm just found out that I have a 1% deviation in travel on the y axis. I wanted to calibrate the movemend setting and didn't find anything in cura. I then searched the code and found DEFAULT_AXIS_STEPS_PER_UNIT.

But altering this values didn't seem to change anything.

Does anyone know where I can change these settings?


Share this post

Link to post
Share on other sites

What code? How did you change it? What sort of printer is this?

In general, the steps per mm settings are a function of the mechanical components - pulley diameters mostly. So generally speaking, the steps per mm setting shouldn't need to be changed from the default.

Once thing to bear in mind is that the firmware may be saving the values into EEPROM, in which case changing the definitions in the firmware won't help, until you reload the values from the defaults (with an M502 gcode) and then resave them (M500).

If you have an Ulticontroller on a UM1, you can edit the values directly in the Control -> Motion menu.


Share this post

Link to post
Share on other sites

You can change these settings easily with gcodes. But if an axis is off by 10%? What the hell? You should double check this:

1) Get pronterface:


2) Connect to UM2 with USB cable and connect with pronterface. Move the bad axis around with gcodes:

G0 Y0 -- this goes to location Y=0

G0 Y200 -- this goes to location Y=200

Now measure the actual distance with ruler. Is it off by 20mm? Really? That's extreme! Maybe you have the wrong model stepper model - make sure both steppers are the same part number (x and y) or one of your pulleys is 10% too big or too small. There are no other sources for error.

Anyway you can adjust your steps/mm with gcodes:

gcodes for Marlin (and a few other firmwares)

great reference:


scroll way down to the gcodes on this page:



Pay particular attention to M500.


Share this post

Link to post
Share on other sites

Thx for the help. It worked with the reset to factory defaults from the LCD menu.The changed code worked afte the reset.

Thx for the info on pronterface I didn't know that programm, it is realy handy. And using Gcode to calibrate would have been much faster then printing a calibrating print.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Our picks

    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!