Properly convert units to encoder counts in setting speed and acceleration for horizontal graticule scan.