Installation guide

Mint™ v4 Advanced Programming Guide
126 MN1270 02.2002
SPLINEINDEX/SPI
Purpose:
Returns the currently executing SPLINE segment number.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
v = SPLINEINDEX[axis]
Dot Parameters:
Axis - Axis No.
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
NextMove
1 x 16777215
Description:
When a spline move is performed, the currently executing segment in the table can be read using the
SPLINEINDEX keyword.
? SPLINEINDEX
This will display the current segment number. To use this value as in index into the position array then
1 must be added to the value as the first array specifies the number of segments.
? myPosition (SPLINEINDEX + 1)
This will display the position value for the currently executing spline from the array myPosition. In
order to interpret the value as relative or absolute, the
SPLINE keyword can be read to see the mode of
the move.
If no spline move is in progress then the last segment number from the last spline move is returned.
See also:
SPLINE, SPLINEEND, SPLINESTART, SPLINETABLE, SPLINETIME
SPLINESTART/SPS
Purpose:
To define the start segment in a SPLINE table for a SPLINE move.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
SPLINESTART[axes] = <expression> {,<expression>}
v = SPLINESTART[axis]
Dot Parameters:
Axis - Axis No.