Galil Motion Control optcom Page 207
Optima DMC-1xxx and DMC-18x2 Command Reference
TV
i
196
TV
FUNCTION: Tell Velocity
DESCRIPTION:
The TV command returns the actual velocity of the axes in units of encoder count/s. The
value returned includes the sign.
ARGUMENTS: TV nnnnnnnnnn
where
n is A,B,C,D,E,F,G or H or any combination to specify the axis or axes
No argument will provide the auxiliary encoder postion for all axes.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
7.0
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_TVn contains the value of the velocity for the specified axis.
EXAMPLES:
VELA=_TVA
Assigns value of A-axis velocity to the variable VELA
TVA
Returns the A-axis velocity
0003420
Note: The TV command is computed using a special averaging filter (over approximately .25 sec).
Therefore, TV will return average velocity, not instantaneous velocity.