Just tested this, as you told me before, does not work, Steppers are definetly not made for Pid/Closedloop.
In the german forum i had the following idea, tell me if im wrong...
if the stepgen has to move ie 100mm the encoder gives us at the end of the move the absolute position.
So lets move not 100mm, let us move just 99mm and keep the 1mm differenc as a constant, lets say "A"
Example: Desired move: 100mm, - Constant "A" -> move just 99mm
Compare the actual Position given by the Linear encoder with the 99mm
i.E. "real" Position ist now 98mm.
At this moment we know that we need 2mm (Constant "A" + difference 99-98mm).
Now let the stepper move the remaining 2mm (just stepping)
result: Any kind of error (backlash) is nearly eliminated,
Backlash is eliminated cause we move in the same direction -> gets near "0"
Lenght error of the ballscrew: is nearly eliminated cause this error is normaly bigger if you move long distances and very small if you move a short distance...
Thought about a kind of "StepGen" - Dummy that will be connected between axis.* and the "real" Stepgen
Would this be a way to integrate linear-encoders into emc without dealing with pids,control loops etc... ???
regards Thomas