Is my z axis off?

This topic contains 12 replies, has 5 voices, and was last updated by  David 2 weeks, 1 day ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #69757

    faceless105
    Participant

    I’m just starting to use my mpcnc and I’m noticing my cuts aren’t as deep as I’m expecting them to be. It has me wondering if I didnt set something up right.

    I attached a pic of repetier host where it says my z axis is 6, I assume mm? But looking at the actual depth, it cant be more than 2mm.

    My assumption is I didnt set it right in the source code when I uploaded the firmware to my ramps board? This is just my speculation and I’d love to get a second opinion before i redo my firmware.

    Thanks in advance

    #69761

    Ryan
    Keymaster

    This depends on your Z steps in the firmware, driver, step rate of the driver, Cad settings.

     

    You you tell your Z axis to move 10mm and give us an exact number of how far it moved we can usually narrow it down.

    #69767

    faceless105
    Participant

    This is a noob question but…. one step is one mm right?

    My first assumption is it’s in the firmware, but I haven’t found the original firmware I setup. What places should I look, and is there a good way to narrow it down?

    #69775

    Raphael
    Participant

    No, one step is way less than a mm.

    One step means that your stepper motor moves by one increment, for nema17 motors this is usually 1.8°, meaning it takes 200 steps for a full rotation.

    With a 16 tooth GT2 pulley you get 16 * 2mm = 32mm movement per rotation, so 32mm / 200 steps = 0.16mm per step.

    And then you have microstepping, which means you can also move the motor in half steps, quarter steps or even smaller, commonly used are 1/16 steps and 1/32 steps.

    So with 1/16 steps you’d only move 0.01mm per step.

    On the leadscrew of the Z axis this works similar, but without knowing what your setup is I can’t tell you how many steps per mm you have to set in your firmware…

    Edit: The steps per unit setting is in the section “Movement Settings” in Configuration.h, search for DEFAULT_AXIS_STEPS_PER_UNIT

    • This reply was modified 4 weeks, 1 day ago by  Raphael.
    • This reply was modified 4 weeks, 1 day ago by  Raphael.
    1 user thanked author for this post.
    #69778

    Raphael
    Participant

    One more thing, Prusa has a bunch of calculators on their website to help with this stuff, here’s the one for calculating steps/mm for leadscrews:

    https://www.prusaprinters.org/calculator/#stepspermmlead

    1 user thanked author for this post.
    #70236

    faceless105
    Participant

    ok so it’s been a bit since I last posted. I am starting to dive into this a bit more. I uploaded fresh firmware to make sure I was starting with something correct. From this page: https://www.v1engineering.com/marlin-firmware/ – I downloaded the MPCNC813_GLCD_T8 since I’m using an M8 rod for my z axis.

    What’s confusing me is, in repetier host, when I use the manual controls, if I tell it to move “10” on the X or Y axis, it moves 1CM. the Z axis is significantly less. I have to move it “60” to show a rise of ~1CM.

    I understand the comment about steps, but shouldn’t they all travel the same distance on each axis and let the ramps board/marlin firmware figure out the steps? what am I missing?

    #70237

    faceless105
    Participant

    Also… This on a ramps 1.4/arduino mega board.

    16T pulleys, M8 threaded rod for the z axis… and lemme know what else you need to know?

    • This reply was modified 3 weeks, 3 days ago by  faceless105.
    #70268

    Ryan
    Keymaster

    An M8 Threaded rod is not a T8 leadscrew (the firmware you have). You  need to set the proper Z steps.

    #70271

    Aaron
    Participant

    I understand the comment about steps, but shouldn’t they all travel the same distance on each axis and let the ramps board/marlin firmware figure out the steps? what am I missing?

    No, you have to figure out the steps. There is no way to put thread/pitch/diameter/teeth information and have it calculate the amount of steps. That’s why that calculator that was posted was created in the first place.

     

    You say you are using an M8 rod, generally that means a threaded rod very similar to a screw (1 start) , while the T8 firmware is for a 4 start T8 leadscrew, which I am theorizing as the reason your steps are off. M8 rod is 1.25mm per revolution, while the T8 screw is 8mm per revolution.

    • This reply was modified 3 weeks, 3 days ago by  Aaron.
    1 user thanked author for this post.
    #70278

    Ryan
    Keymaster

    Steps will be 5102, I think. And you need to limit your max Z speeds to 7.5 mm/s or under.

    1 user thanked author for this post.
    #70304

    faceless105
    Participant

    This makes a lot more sense. I’ve never really taken a dive into the settings like I probably should have and I definitely made some assumptions along the way. I understand now on the steps, though if you don’t mind educating someone just a little more, why does the max Z speed need to change? I’m guessing it’ll just push the motor a little too hard? Shouldn’t matter at this point, but I am just curious to hear from someone with infinitely more experience than I have, lol

     

    Regardless, thanks for the help guys!

    #70312

    Ryan
    Keymaster

    The CPU can only do so many step pulses per second. You can see and X or Y move is about 200 steps, your Z is 5000 that means it can only go roughly 1/25th the speed. try and go too fast and it will just disregard steps and will not move. On top of that the faster your run a stepper the weaker it is.

    1 user thanked author for this post.
    #70976

    David
    Participant

    Glad I found this thread! I accidentally bought a M8 leadscreaw too.

    I’m just buying the proper T8 part and saving myself more troubleshooting woes.

    Thanks, all!

    -David

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.