12-12Using the Trio ActiveX Control
Motion Commands
Trio Motion Technology
Cam
Description
Performs the corresponding
CAM(…) AXIS(…)
command on the Motion Coordinator
Syntax:
Cam(TableStart, TableStop, Multiplier, LinkDistance, [Axis])
Parameters:
Return Value:
TrioPC STATUS
.
Cancel
Description:
Performs the corresponding
CANCEL(…) AXIS(…)
command on the Motion Coordi-
nator
Syntax:
Cancel(Mode, [Axis])
Parameters:
Return Value:
TrioPC STATUS
.
short TableStart:
The position in the table data on the Motion Coordinator
where the cam pattern starts
short TableStop:
The position in the table data on the Motion Coordinator
where the cam pattern stops
double Multiplier:
The scaling factor to be applied to the cam pattern
double LinkDistance:
Used to calculate the duration in time of the cam. The
LinkDistance/Speed on the base axis specifies the duration.
The Speed can be modified during the move, and will affect
directly the speed with which the cam is performed
VARIANT Axis:
Optional parameters that must be a single numeric value
that specifies the base axis for this move
short Mode:
Cancel mode. 0 cancels the current move on the base axis, 1
cancels the buffered move on the base axis
VARIANT Axis:
Optional parameters that must be a single numeric value that
specifies the base axis for this move