Optima DMC-1xxx and DMC-18x2 Command Reference
VS
i
209
VS
FUNCTION: Vector Speed
DESCRIPTION:
The VS command specifies the speed of the vector in a coordinated motion sequence in either
the LM or VM modes. VS may be changed during motion.
Vector Speed can be calculated by taking the square root of the sum of the squared values of
speed for each axis specified for vector or linear interpolated motion.
ARGUMENTS: VS s,t
where
s and t are unsigned even numbers in the range 2 to 12,000,000 for servo motors and 2 to
3,000,000 for stepper motors. s is the speed to apply to the S coordinate system and t is
the speed to apply to the T coordinate system. The units are counts per second.
s = ?
Returns the value of the vector speed for the S coordinate plane.
t = ?
Returns the value of the vector speed for the T coordinate plane.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
25000
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_VSn contains the vector speed of the specified coordinate system, S or T
RELATED COMMANDS:
"VA "
Vector Acceleration
"VP "
Vector Position
"LM "
Linear Interpolation
"VM"
Vector Mode
"BG "
Begin Sequence
"VE"
Vector End
"
CR
" Circle
EXAMPLES:
VS 2000
Define vector speed of S coordinate system
VS ?
Return vector speed of S coordinate system
002000
Hint: Vector speed can be attached to individual vector segments. For more information, see
description of VP, CR, and LI commands.