serial script communication to XY table