Optima DMC-1xxx and DMC-18x2 Command Reference
VP
i
206
VP
FUNCTION Vector Position
DESCRIPTION:
The VP command defines the target coordinates of a straight line segment in a 2 axis motion
sequence which have been selected by the VM command. The units are in quadrature
counts, and are a function of the vector scale factor set using the command VS. For three
or more axes linear interpolation, use the LI command. The VP command will apply to
the selected coordinate system, S or T. To select the coordinate system, use the
command CAS or CAT.
ARGUMENTS: VP n,m < o > p where
n and m are signed integers in the range -2147483648 to 2147483647 The length of each
segment must be limited to 8
106. The values for n and m will specify a coordinate
system from the beginning of the sequence.
o specifies a vector speed to be taken into effect at the execution of the vector segment. n is
an unsigned even integer between 0 and 12,000,000 for servo motor operation and
between 0 and 3,000,000 for stepper motors.
p specifies a vector speed to be achieved at the end of the vector segment. p is an unsigned
even integer between 0 and 8,000,000.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_VPn contains the absolute coordinate of the axes at the last intersection along the sequence.
For example, during the first motion segment, this instruction returns the coordinate at
the start of the sequence. The use as an operand is valid in the linear mode, LM, and in
the Vector mode, VM.
RELATED COMMANDS:
"
CR
" Circle
"VM"
Vector Mode
"VE"
Vector End
"BG "
Begin Sequence
"VT "
Vector smoothing
EXAMPLES:
VM AB
Specify motion plane
VP 1000,2000
Specify vector position A,B
CR 1000,0,360
Specify arc
VE Vector
end
VS 2000
Specify vector speed
VA 400000
Specify vector acceleration
BGS
Begin motion sequence