Program code
N40 X30
N50 X40 Y5
N60 X50 Y15
N70 X55 Y7
N80 X60 Y20
N90 X65 Y20
N100 X70 Y0
N110 X80 Y10
N120 X90 Y0
N130 M30
50
40
30
20
10
Y
X
908070605040302010
Example 3: Spline interpolation (A spline) and coordinate transformation (ROT)
Main program:
Program code Comment
N10 G00 X20 Y18 F300 G64 ; Approach starting point.
N20 ASPLINE ; Activate interpolation type A spline.
N30 CONTOUR ; First subprogram call.
N40 ROT Z-45 ; Coordinate transformation: Rotation of the
WCS through -45° around the Z axis.
N50 G00 X20 Y18 ; Approach contour starting point.
N60 CONTOUR ; Second subprogram call.
N70 M30 ; End of program
Work preparation
3.7 Special motion commands
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 597