250 ● VE DMC-40x0 Command Reference
VE
FUNCTION: Vector Sequence End
DESCRIPTION:
VE is required to specify the end segment of a coordinated move sequence. VE would follow the
final VP or CR command in a sequence. VE is equivalent to the LE command.
The VE command will apply to the selected coordinate system, S or T. To select the coordinate
system, use the command CAS or CAT.
ARGUMENTS: VE n
No argument specifies the end of a vector sequence
n = ? Returns the length of the vector in counts.
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format PF
Command Line Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_VEn contains the length of the vector in counts for the specified coordinate system, S or T.
RELATED COMMANDS:
VM Vector Mode
VS Vector Speed
VA Vector Acceleration
VD Vector Deceleration
CR Circle
VP Vector Position
BG Begin Sequence
CS Clear Sequence
EXAMPLES:
#A ;'Program Label
VM AB ;'Vector move in AB
VP 1000,2000 ;'Linear segment
CR 0,90,180 ;'Arc segment
VP 0,0 ;'Linear segment
VE ;'End sequence
BGS ;'Begin motion
AMS ;'Wait for VE to execute in buffer
EN ;'End program