Hi Radu
This should be possible with an Ardueno or similar, but regrettably i can't help with that, if you do a search for Ardueno stepper control that should get you a result.
I had a similar problem with my Robland combi and opted for the Felder digital handwheels that i now in use on the thickness planer and the Spindle.
Don't know if this will work on your setup it depends if you have a Metric screw on the table mechanism. I had to make a 2 to 1 gearbox to get mine sorted, Robland had a 4mm pitch screw but the Felder Dials were 2mm per revolution. obviously the Ardueno method is a better option.
Regards
Mike