Jump to content
Ultimaker Community of 3D Printing Experts

Calibration / X-Y steps per mm


Recommended Posts

Posted · Calibration / X-Y steps per mm

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?


  • Link to post
    Share on other sites

    Posted · Calibration / X-Y steps per mm

    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.


  • Link to post
    Share on other sites

    Posted · Calibration / X-Y steps per mm

    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.


  • Link to post
    Share on other sites

    Posted · Calibration / X-Y steps per mm

    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.


  • 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

    • Our picks

      • Ultimaker showcase | April 2022 | 4pm CEST | 10am EDT
        I'm excited because I've personally produced this showcase event, so if you are curious what else I'm up to nowadays, come check it out and say hi in the chat! It would mean a lot! 
          • Thanks
          • Like
        • 4 replies
      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 11 replies
    • Create New...