256 ● VV DMC-40x0 Command Reference
VV
FUNCTION: Vector Speed Variable
DESCRIPTION:
The VV command sets the speed of the vector variable in a coordinated motion sequence in either
the LM or VM modes. VV may be changed during motion.
The VV command is used to set the “<” vector speed variable argument for segments that exist in
the vector buffer. By defining a vector segment begin speed as a negative 1 (i.e. “<-1”), the
controller will utilize the current vector variable speed as the segment is profiled from the buffer.
This is useful when vector segments exist in the buffer that use the “<” and “>” speed indicators
for specific segment and corner speed control and the host needs to be able to dynamically change
the nominal return operating speed.
The vector variable is supported for VP, CR and LI segments.
ARGUMENTS: VVS=n and VVT=n where,
n specifies the speed as an unsigned even number in the range 2 to 22,000,000 for servo motors
and 2 to 6,000,000 for stepper motors. VVS is the speed to apply to the S coordinate system
and VVT is the speed to apply to the T coordinate system. The units are in counts per second.
VVS=? Returns the value of the vector speed variable for the S coordinate plane.
VVT=? Returns the value of the vector speed variable for the T coordinate plane.
USAGE: DEFAULTS:
While Moving Yes Default Value 0
In a Program Yes Default Format 8.0
Command Line Yes
Controller Usage
DMC-40x0
OPERAND USAGE:
_VVn contains the vector speed variable of the specified coordinate system (n= S or T)
RELATED COMMANDS:
VA Vector Acceleration
VD Vector Deceleration
VP Vector Position Segment
CR Circular Interpolation Segment
LI Linear Interpolation Segment
VM Vector Mode
LM Linear Interpolation Mode
EXAMPLES:
VVS= 20000 Define vector speed variable to 20000 for the S coordinate system
VP1000,2000<-1>100 Define vector speed variable for specific segment.
VVS=?
ReturnsÆ 20000 <CRLF>: (as set above)