User Tools

Site Tools


commands:cnts

Command:CNTS (C)

MS2000 or RM2000 syntax
Shortcut C
Format CNTS [axis] = [encoder counts per mm]…
Units encoder counts per mm
Remembered Using SS Z
Tiger syntax
Shortcut C
Format CNTS [axis] = [encoder counts per mm]…
Units encoder counts per mm
Type Axis-Specific
Remembered Using [addr#]SS Z

Changes axis' encoder counts per mm. For example, doubling this number would cause a given number of mm to be converted internally to twice as many encoder counts as before. A command to move the stage 2 mm would instead cause it to move 4 mm. MOST USERS DO NOT NEED THIS FUNCTION! If your stage is not moving as expected try making sure the leadscrew pitch is set appropriately with the CUSTOMA command.

\begin{equation} Cnts = {(6.5536 * 107) \over d} \end{equation}

where d is the total range of movement in microns. For example, if the range of movement is -100um to +100um, then d = 200, and Cnts = 327680.

Note: For a piezo device, always set CNTS first, then limits (SL and SU) afterward.

Example:
C X=13490.4
:A
C x?
:X=13490.4 A

Changes the encoder constant on the X-axis to 13490.4 counts/mm. The default values for this parameter are restored upon reset and should not require user modification.

Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/cnts.txt · Last modified: 2024/03/15 19:07 by brandon