Recommended Syntax
%MACRO=SPLINES
The Heidenhain Spline output requires that the end point will be output followed by the Spline parameters. The Spline parameter values are output by using the exponent of the number.
E.g.
123,234 is output as 1.23234 E+02
So all parameters consist of two variables, one containing the value and the other containing the exponent.
Output type = Cubic
polynomial SPLINE
|
System Variables Modified |
Exponent variable |
System Variable Description |
|
FEED |
N/a |
Feedrate |
|
FIELD1 |
FIELD2 |
K3X |
|
FIELD3 |
FIELD4 |
K2X |
|
FIELD5 |
FIELD6 |
K1X |
|
FIELD7 |
FIELD8 |
K3Y |
|
FIELD9 |
FIELD10 |
K2Y |
|
FIELD11 |
FIELD12 |
K1Y |
|
SPEED |
N/a |
Speed |
|
SUBFUNCT=1 |
N/a |
First point on curve |
|
SUBFUNCT=2 |
N/a |
Last point on curve |
|
XDELTA |
YDELTA |
K2Z |
|
XMOVE |
N/a |
X point |
|
XPLANE |
UVPLANE |
K1Z |
|
XSHEET |
YSHEET |
K3Z |
|
YMOVE |
N/a |
Y point |
|
ZMOVE |
N/a |
Z point |
Notes:
The number of axis co-ordinates in a block must equal the number of coefficient lines. E.g. If only X and Y co-ordinates are defined then there must be a line of X coefficients and a line of Y coefficients and no Z line.
All 3 coefficients must be defined in each line even if they are zero. However, an E+0 term can be omitted.
Leading and trailing zeros can be omitted.
Before the first Spline move in a program, a linear move must be programmed.
The ~ (ASCII 126) character is used to signify a continuation line.