Definition of target tangent
#SET ASPLINE ZIELTANG {<axis_name><expr>} (modal)
<axis_name> <expr> Components of the tangent vector
Definition of target tangent; analogous to the definition of the start tangent.
Programming example
N10 G01 X20 Y0 F1000 (Becomes the first support point of the )
(spline curve, due to the following G151)
N20 #SET ASPLINE MODE[3,1] (Transition type with explicit )
(specifiction of start tangent and )
(automatic determination of the target)
N30 #SET ASPLINE STARTTANG X1 Y1 Z0 (Pre-setting of start tangent)
N40 G151 (Selection of spline-interpolation)
N50 G01 X40 Y20
N60 X60
N70 Y0
N80 X80
N90 Y10 (becomes the last support point of the)
(spline curve due to the following G150)
(Support point of the spline-curve)
N100 G150 (Deselection of spline-interpolation)
N110 X70
N120 M30
The following NC program provides the same result, however, uses for selection and deselection of the spline interpolation the second variation.
N10 G01 X20 Y0 F1000
N20 #SET ASPLINE MODE[3,1] (Transition type with explicit)
(pre-setting of start tangent und autom.)
(determination of target tangent)
N30 #SET ASPLINE STARTTANG X1 Y1 Z0 (Pre-setting of start tangent)
N40 G151 G01 X40 Y20 (Selection of spline interpolation)
N50 X60
N60 Y0
N70 X80
N80 Y10
N90 G150 X70 (Deselection of spline-interpolation)
N100 M30
The program generates the following contour:
The curve section corresponding to block N50 has the programmed slope of 1 at its beginning (which corresponds to the beginning of the spline curve). The slope at the end of the spline curve (end of block N90) is calculated automatically.
If circular blocks (G02 or G03) are inserted, then the spline curve is broken off before the circular block and with the arrival of the next linear block, a new spline curve is automatically begun. The transitions into and from the circular block occur tangentially. |