====== Command:SPIN (@) ====== --> MS2000 or RM2000 syntax ^ ^Shortcut |@| ^Format |SPIN [axis]=[-128 to 128]…| ^Units |Integer | <-- --> Tiger syntax ^ ^Shortcut |@| ^Format |SPIN [axis]=[-128 to 128]…| ^Units |Integer | ^Type |Axis-Specific | <-- Tells controller to ‘spin’ the motor of specified axis at a rate expressed as its DAC value, a bit value from -128 to 128. This causes the motor to run in open-loop mode with no position or speed feedback. == Reply == If there are no errors, a positive reply of :A is sent back. == Example == $ @ X=100 Y=-100 Z :A This example shows a command that will instruct the X-axis turn at a motor rate of 100 DAC bits in one direction, the Y-axis at the same rate but in the other direction, and stop any rotation or motion of the Z-axis. **Note 1:** To stop rotation, give a value of zero, or just the type the axis letter without an assignment as shown in the example above, or use the [[commands:halt|HALT command]]. **Note 2:** The ''HALT'' command will not return an :N-21 when stopping a ''SPIN'' command. {{tag>commands tiger ms2000 SPIN VECTOR}}