User Tools

Site Tools


commands:spin

Command:SPIN (@)

MS2000 or RM2000 syntax
Shortcut @
Format SPIN [axis]=[-128 to 128]…
Units integer -128 to 128
Tiger syntax
Shortcut @
Format SPIN [axis]=[-128 to 128]…
Units integer -128 to 128
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 HALT command.

Note 2: The HALT command will not return an :N-21 when stopping a SPIN command.

Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/spin.txt · Last modified: 2021/09/23 17:16 (external edit)