Installation guide

Keyword Reference Guide
MN1270 02.2002 125
The current spline segment index is read using the SPLINEINDEX keyword. For example:
PAUSE SPLINEINDEX.3 = 5
OUT1 = 1
PAUSE SPLINEINDEX.3 = 9
OUT1 = 0
When the 5
th
segment is executed, output bit 1 is set. The output is cleared on the 9
th
segment.
See Also:
CAM, SPLINEEND, SPLINEINDEX, SPLINESTART, SPLINESUSPENDTIME, SPLINETABLE,
SPLINETIME
SPLINEEND/SPE
Purpose:
To define the end segment in the SPLINE table for a SPLINE move.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
SPLINEEND[axes] = <expression> {,<expression>}
v = SPLINEEND[axis]
Dot Parameters:
Axis - Axis No.
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
NextMove
1 x 16777215
Description:
A spline move will continue through the spline table, defined with
SPLINETABLE, until the segment set
as the end segment is reached. If the spline is continuous then the move will jump to the start segment.
The end segment must be within number of segments in the currently specified spline table.
By default the number of segments in a table is given by the first element in the spline table. If multiple
spline tables are required, the start and end segments can be defined.
Example:
DIM SplinePositions(21) = 20,10,20,30,40,50,60,70,80,90,100,
100,90,80,70,60,50,40,30,20,10
SPLINETABLE (0, SplinePositions, NULL, NULL)
SPLINESTART = 10
SPLINEEND = 20
SPLINE = 4
GO
The SPLINESTART keyword is used to define the start segment and SPLINEEND to define the end
segment. Therefore, for the above example, the spline move will be based on segments 10 to 20 (values
100 to 10).
When the
SPLINE keyword is executed, the start segment is set to 1 and the end segment set to the last
segment in the table. If the start or end points are to be moved, it must be done after the
SPLINE
keyword has been executed. The start and end segments can be changed before or after the spline move
has been started (
GO).
Note that it is assumed that the first element has an array index value of 0, and the segment values start
at 1.
See also:
SPLINE, SPLINEINDEX, SPLINESTART, SPLINETABLE, SPLINETIME