Code: Select all
git clone https://github.com/jcrocholl/Marlin.git --branch deltabot
The trouble comes when movement is started or stopped. When the printer is first powered on and there is no last move, the X axis will be still, as it should. However, if I do a G28, the X axis will continue trying to move upwards - even if the endstop is triggered - in short pulses that seem to fire once per second. If I then tell it to move to z100, it will do so, and during that motion it will jerk downwards a millimeter or two once per second at a different speed than it's supposed to be moving at. Once it reaches z100, the Y and Z axes will be still, but the X axis will still pulse downward at 1Hz. If I then move it to Z150, Y and Z will again work properly, but X will skip upwards once per second during the movement and keep doing so after it's supposed to be done.
There is another thread about this problem from a while back. The issue was never resolved there because the user switched to Repetier. I know this is not a wiring issue because Repetier worked fine yesterday, and because a bug that only shows up during or after motion and remembers the direction of that motion after the fact is most likely software. Bad wiring would not send exactly the same amount of reliable PWM over the direction and step pins exactly once per second.