What about if you change the pin assignment for X and A, does the A axis now move and X not?
Can you physically swap the drives around in these G540 easily, if you can it might be a good idea to swap out the X and A and see what happens, could be a bad drive.
Hood