buildbotics / bbctrl-firmware

Buildbotics CNC Controller Firmware
https://buildbotics.com/
Other
67 stars 26 forks source link

Automatically set travel-per-revolution based on distance error #236

Open DougCoffland opened 4 years ago

DougCoffland commented 4 years ago

A customer made this request on the forum.

"It would be nice to have a way to dial in the axis travel distances. I realize that the obvious answer is you can enter in all the required values in setup, but things aren't always perfect. For example, universal gcode sender has a pretty easy solution here. Tell it to travel a specified distance on an axis, measure the actual traveled distance, and then tell it how much it was off. When I first setup my machine before going to BB, I ran though this and found that at 200mm of travel, my X axis was about 2mm and Y 6mm off. Don't know why but it was dead on consistent, and correcting for this made it perfect."

I have to say that I have wasted quite a bit of time trying to get travel-per-revolution set correctly when I am not sure of the lead of the drive system. Being able to tell it to go a specific distance and the measuring the distance it actually went, then inputting the result to get the correct travel-per-revolution would definitely save time.

kwince commented 4 years ago

I've done this with a calculator and made it dead on, but it takes a few times to understand wheter to divide or multiply (for me it did). However, this is a GOOD idea and I vote for it.