Example 2
Automatic path segmentation should be made for the individual series of holes. The maximum
path segment length (SPP value) is specified for the segmentation.
25
45
150 75375
37.79
275
125
150
75
Y
X
160
1
2
3
Program code Comment
N100 G90 X75 Y75 F60 PON ; Position to starting point 1;
punch a single hole
N110 G91 Y125 SPP=25 ; Maximum path segment length for
automatic path segmentation: 25 mm
N120 G90 X150 SPOF ; Punching off; positioning to
starting point 2
N130 X375 SPP=45 PON ; Punching on; maximum path segment length
for automatic path segmentation: 45 mm
N140 X275 Y160 SPOF ; Punching off; positioning to
starting point 3
N150 X150 Y75 SPP=40 PON ; Punching on, instead of the programmed path segment
length of 40 mm, the calculated path segment length of
37.79 mm is used.
N160 G00 Y300 SPOF ; Punching off; positioning
3.19.2.1 Path segmentation for path axes
Length of SPP path segment
SPP is used to specify the maximum distance between strokes and thus the maximum length
of the path segments in which the total traversing distance is to be divided. The command is
deactivated with SPOF or SPP=0.
Example:
Work preparation
3.19 Punching and nibbling
NC programming
970 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0