Right. It's literally an integer add/subtract operation for # of steps during the homing sequence before any of the delta math gets done, so there's no risk of rounding / truncation errors. bot, look in Repetier's Printer.cpp for a function called Printer::homeZAxis() if you need to satisfy your curiosity.626Pilot wrote:Firmware carriage offsets are not factored into actual motion planning. When you G28 the printer and it hits the endstops and backs off, it moves the carriages down by some number of steps according to the firmware settings. If you only use the adjustment screws, that number is 0. Otherwise, it's some other number, with each step repeatable to ~0.01mm or better depending on microstepping and how many teeth your pulleys have. (Try getting 0.01mm accuracy on those screws. You might get it, but it'll take way longer.) Whether the carriage is at 403.8461mm purely because of adjustment screws, or adjustment screws + firmware offsets, makes no difference. As soon as the carriages get where they're going, that becomes "relative zero" and the printer's coordinate system is initialized. After that, the printer doesn't use the carriage offsets in any calculation until G28 is run again.bot wrote:I think adjusting endstop offsets in firmware causes the problems... this is precisely the variable we want to eliminate - math errors by the controller board.
All you need to know is your mm/step, which I'm pretty sure can be left as a simple exercise to the casual observer who knows their steps/mm
If you're just lazy, on the stock configuration RoMax it's 1 / ((16 microsteps/step * 200 steps/rev) / 40 mm/rev) = 0.0125 mm/step.