![Galil Motion Control DMC-40x0 Series Command Reference Manual Download Page 263](http://html1.mh-extra.com/html/galil-motion-control/dmc-40x0-series/dmc-40x0-series_command-reference-manual_558773263.webp)
DMC-40x0 Command Reference
VP • 253
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 elliptical scale factor set using the command ES. 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. o is an
unsigned even integer between 0 and 22,000,000 for servo motor operation and between 0 and
6,000,000 for stepper motors (o is in units of counts per sample).
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 (p is in units of counts per sample).
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:
Vector Mode
Vector End
Begin Sequence
Vector smoothing
EXAMPLES:
#A
;
'Program Label
VM
AB
;
'Specify motion plane
VP
1000,2000
;
'Specify vector position 1000,2000
VP
2000,4000
;
'Specify vector position 2000,4000
CR
1000,0,360
;
'Specify arc
VE
;
'Vector end
BG
S
;
'Begin motion sequence
AM
S
;
'Wait for vector motion to complete
EN
;
'End Program
Hint: The first vector in a coordinated motion sequence defines the origin for that sequence. All other
vectors in the sequence are defined by their endpoints with respect to the start of the move sequence.
Summary of Contents for DMC-40x0 Series
Page 2: ......
Page 4: ......
Page 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...