1st: The back of the motor where the encoder is housed usuall has a Sticker on it that will give you a hint as to what kind of encoder that motor uses. a common one is UTOPH - 81 AWF.
2nd: What kind of drive Do you have? an SGDA or SGDB, etc. ?