i hope, i'm posting in the correct subforum?
I have a problem regarding three stepper-motors, equipped with encoders. The encoders are only for contouring-error-verification, not for controlling like a closed-loop-system. And they are not in use right now
The motors are on a milling-machine. Two of them are driving the Y-axis, one the X and one the Z. And i have problems with the results, the mill creates. Cuts that are parallel to one axis have a perfect and glossy finish (in aluminum), but interpolated cuts are kind of "bumpy"
I tried many, many things to find out, what is going wrong and nothing helped. So i am searching for a possibility to "record" the pulses from the encoders and then graph them to lines that can be viewed on a computer screen. I know there is something ready that counts the pulses of an encoder, but i have not found anything that could graph them on a computer.
The idea is, to see if the bumpy surface is CREATED by the motor (unwanted movement of itself) , or if it becomes created by oscillations or vibrations somewhere after the motor. Because even if i am milling the same contour in multiple rows, the bumps are perfectly lining up with the first ones. And the bumps itself have a shiny, glossy finish on them, when viewing under a magnifier. That leads me to the assumption that the bumps are created of the motor itself by some interferences, electrical errors or something like that.
So the first step in elliminating-tactic would be to find out if the bumps ARE created my the movement of the motor or if they BECOME created by something else.
And therefore i am searching for a possibility to cound and graph the pulses of the encoders on the motors, so i can simply see, if the motor turns only in one direction (when moving in a 45° angle, as it should) or if it makes other weird things (like giving two pulses in X and only one in Y or stuff like that
Is there an similar project or something like that, that could be uses as a guideline or basis structure? Sadly i am no programming expert... =( The encoders have 1024 pulses per revloution and the motors make approximately 80 revolutions per minute when milling