Controller for XY Table or Robot