;
=
NC program:
Program code Comment
N10 DEF REAL KTAB[30,11] ; Contour table with the name KTAB and
max. 30 contour elements, parameter value
11 (number of table columns) is a fixed
quantity.
N20 DEF INT ANZHINT ; Variable for the number of relief cut
elements with the name ANZHINT.
N30 DEF INT ERROR ; Variable for error feedback signal
(0=no error, 1=error).
N40 G18
N50 CONTPRON(KTAB,"G",ANZHINT) ; Activate contour preparation.
N60 G1 X150 Z20
N70 X110 Z30
N80 X50 RND=15
N90 Z70
N100 X40 Z85
N110 X30 Z90
N120 X0
; N60 to N120: Contour description
N130 EXECUTE(ERROR) ; End filling the contour table, switch-
over to normal program mode.
N140 … ; Continue to process the table.
Contour table KTAB:
Index
Line
Column
(0) (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)
7 7 11 0 0 20 150 0 82.40535663 0 0
Work preparation
3.24 User stock removal programs
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 1011