12-10Using the Trio ActiveX Control
Motion Commands
Trio Motion Technology
MoveAbs
Description:
Performs the corresponding
MOVEABS(…) AXIS(…)
command on the Motion Coordi-
nator
Syntax:
MoveAbs(Axes, Distance, [Axis])
Parameters:
Return Value:
TrioPC STATUS
.
MoveCirc
Description:
Performs the corresponding MOVECIRC(…) AXIS(…) command on the Motion Coor-
dinator
Syntax:
MoveCirc(EndBase, EndNext, CentreBase, CentreNext, Dir, [Axis])
Parameters:
Return Value:
TrioPC STATUS
.
short Axes:
Number of axes involved in the moveabs command
VARIANT Distance:
Absolute positions that specify where the move must
terminate, can be a single numeric value or an array of
numeric values that contain at least Axes values
VARIANT Axis:
Optional parameters that must be a single numeric
value that specifies the base axis for this move
double EndBase:
Distance to the end position on the base axis
double EndNext:
Distance to the end position on the axis that follows the
base axis
double CentreBase:
Distance to the centre position on the base axis
double CentreNext:
Distance to the centre position on the axis that follows the
base axis
short Dir:
A numeric value that sets the direction of rotation. A value
of 1 implies a clockwise rotation on a positive axis set, 0
implies an anti-clockwise rotation on a positive axis set.
VARIANT Axis:
Optional parameters that must be a single numeric
value that specifies the base axis for this move