Hi Tweakie,
Many thanks for your quick reply.
I have my debounce set at 2000 at the moment. I will lift it to 4000 and try that first. If that doesn't work I'll try the capacictors. I have ferrite beads allover the machine to limit extraneous electricity, but obviously it must be something other than that.
Thanks very much for your suggestions
Regards
Terry