How to coding the draw wire encoder

Do you have a data sheet for the encoder? Please post it or a link to it.

Can you post a photo of the label so that we can read it?

Without some way to track down the pinout, output configuration and other information I don't know how we can help.