Does it also have an encoder on the X axis motor? You need some kind of position feedback to the control system. Normally you would find either a rotary or linear encoder on the axis, not both (with the exception of very high end machines with dual loop systems). In other words, without some kind of position feed back you will get an error.