some types of machines have an encoder attached to the end of the electric motor... these sometimes dislodge from their position and the machine control card gets confused...
If your machine only turns in one direction this could be the problem.... Tilt your machine and gently tap( using a small hammer) the encoder back into its place... Use some glue to keep it in place... Hope this helps....
Paul
July 2006