Have you considered using an AB PLC, maybe an SLC500 series 5/04 with a AB 1746-HSCE High Speed Counter Card for the encoder inputs? I used this once to control 3 axis on a material handling crane with great success. (It's not necessary to use the 'Z' pulse) The motor is driven by a Mitsubishi...