| Shortcut | @ |
|---|---|
| Format | SPIN [axis]=[-128 to 128]… |
| Units | Integer |
| 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.
If there are no errors, a positive reply of :A is sent back.
@ 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 HALT command.
Note 2: The HALT command will not return an :N-21 when stopping a SPIN command.