Did you turn the number screw to ?6? on initial power up, then move it to the number required by the controller? On a Mazak w Mitsu drives, that initialization process is required every time you change a drive. I would find the manual or call Mitsu, they are awesome and support their products.
That procedure does not apply to the drive model the OP has.