Motion Coordinator Technical Reference Manual
Using the Trio ActiveX Control 12-13
Motion Commands
Connect
Description:
Performs the corresponding
CONNECT(…) AXIS(…)
command on the Motion Coordi-
nator
Syntax:
Connect(Ratio, LinkAxis, [Axis])
Parameters:
Return Value:
TrioPC STATUS
.
Datum
Description:
Performs the corresponding
DATUM(…) AXIS(…)
command on the Motion Coordina-
tor
Syntax:
Datum(Sequence, [Axis])
Parameters:
short Sequence
:
The type of datum procedure to be performed:
double Ratio:
The gear ratio to be applied
short LinkAxis:
The driving axis
VARIANT Axis:
Optional parameters that must be a single numeric value
that specifies the base axis for this move
0. The current measured position is set as demand position (this is especially
useful on stepper axes with position verification).
DATUM(0)
will also reset
a following error condition in the
AXISSTATUS
register for all axes.
1. The axis moves at creep speed forward till the Z marker is encountered.
The Demand position is then reset to zero and the Measured position cor-
rected so as to maintain the following error.
2. The axis moves at creep speed in reverse till the Z marker is encoun-
tered. The Demand position is then reset to zero and the Measured posi-
tion corrected so as to maintain the following error.
3. The axis moves at the programmed speed forward until the datum switch
is reached. The axis then moves backwards at creep speed until the
datum switch is reset. The Demand position is then reset to zero and the
Measured position corrected so as to maintain the following error.