need advice
I have a Panasonic Servomotor MHMD022P1C with a faulty Encoder MFE2500P8NX (disk 788B 2500-8).
I tried to replace it with the same one from e-bay. It functions to my Oscilloscope fine but when I connected to the Panasonic Drive MADDT1207 an ERROR 95 Appears(A4 Minas MANUAl). ERROR means that "the motor and the driver has not been matched " and the remedy is "replace motor which matched to the driver". I have been already Aligned Zero pulse on Uphase to my laboratory and I was optimistic as the seller also assure me that what I order is compatible with the motor/drive. But not ..now I have to debug encoder on the motor I suggest.
could anyone make any comment on that?
am I in the right way?
which is the way to program encoder to be compatible?
it could be done by PanaTerm (Panasonic software)via cable/drive? it needs appropriate protocol/adaptors and a personalPC)?
does any know the procedure to do that?

*also only the Opto-eye of the older encoder has been damage so data inside remains maybe there is a way to transfer data from one to another..

please advice