I don't know the specs on your servos/drives..
But servos don't have encoder inputs. They output only. The encoders needs to be connected to the servo drives inputs.
Connect the pulse/dir signals to the servo drives. The manufacturers usually have cables with the right connectors btw motor & drive.
Can't tell more without manuals or more info.
Hub