update. I've got the encoder casing off and it is a Tamagawa encoder TS5563N1. I can't see anything obviously wrong, so am a bit stumped. Any suggestions? The encoder itself isn't coming off the motor easily. It's held onto the motor body with some very small fastenings that have been liberally glued in place.