Yes, you are right. It does have five wires and I have checked the cable and also changed it. No luck. I have sent the motor to Wyre Forest for repair and hopefully will get it back soon.
I found out about the opto coupling just after I had posted the original message.
Thanks for your assistance!