Hi,
    I had the very same problem when my 3040 was new. After weeks of trying to sort it out we found
a damaged wire to the motor making the noise which made it loose signals. The wire had a small cut in 
the insulation which opened and closed as the machine moved and the wire rolled up  therefore
interupting the signal.  
I advise check and replace (if required) any suspect wiring.
Regards
Roy