11
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:
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.
The
HALT
command will not return an
:N-21
when stopping a
SPIN
command.
Command: STATUS
Shortcut:
/
Format:
STATUS
Function:
Inquires regarding the motor status of all axes. Queries the controller whether or not
any of the motors are still busy moving following a serial command. Using the shortcut
/
is the preferred method for rapid polling of the controller for a busy state. The
/
is
handled quickly in the command parser. It’s a
Broadcast Command.
Reply:
The positive reply can come in two forms:
N
- there are no motors running from a serial command
B
- there is a motor running from a serial command
Example:
MOVE X=12345
:A
STATUS
B
/
N
In this example, the command
MOVE
started the X-axis moving towards
the position 1.2345 millimeters from the origin. The first
STATUS
command returned a “
B
” showing that the motor is still busy moving
towards the target. The second time, the
STATUS
command returned
an “
N
” signifying that the
MOVE
command is finished and there is no
longer any motor movement.
Summary of Contents for Tiger TG-1000
Page 12: ...11 Change log 53...