Siemens Sinumerik 840D sl Programming Manual page 251

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

4.2 Spline interpolation (ASPLINE, BSPLINE, CSPLINE, BAUTO, BNAT, BTAN, EAUTO, ENAT, ETAN, PW, SD,
Example 3: Spline interpolation (A spline) and coordinate transformation (ROT)
Main program:
Program code
N10 G00 X20 Y18 F300 G64
N20 ASPLINE
N30 CONTOUR
N40 ROT Z-45
N50 G00 X20 Y18
N60 CONTOUR
N70 M30
Subprogram "contour" (includes the coordinates of the points along the curve):
Program code
N10 X20 Y18
N20 X10 Y21
N30 X6 Y31
N40 X18 Y31
N50 X13 Y43
N60 X22 Y42
N70 X16 Y58
N80 X33 Y51
N90 M1
In addition to the spline curve, resulting from the example program (ASPLINE), the following
diagram also contains the spline curves that would have been obtained when activating either
B or C spline interpolation (BSPLINE, CSPLINE):
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Comments
; Approach starting point
; Activate interpolation type A spline.
; First subprogram call.
; Coordinate transformation: Rotation of the WCS
through -45° around the Z axis.
; Approach contour starting point.
; Second subprogram call.
; End of program
Special Motion Commands
251

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents