beautypg.com

Vp (vector position), Vector position), Motion – Yaskawa SMC–4000 User Manual

Page 251

background image

241

SMC–4000 User Manual

VP (Vector Position)

[Motion]

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

VS (Vector Speed)

command.

For three or more axes linear interpolation, use the

LI (Linear Interpolation Distance)

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 p

where

n and m are signed integers in the range -2147483648 to 2147483647. The length of each segment must be
limited to 8 x 10

6

. 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:

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 (Coordinated Motion Mode)

VA (Vector Acceleration)

VD (Vector Deceleration)

VE (Vector Sequence End)

VS (Vector Speed)

BG (Begin)

VT (Vector Time Constant)

While Moving

Yes

Default Value

-

In a Program

Yes

Default Format

-

Command Line

Yes

Virtual Axis

Yes