EasyManua.ls Logo

Siemens SINUMERIK 828D - Page 691

Siemens SINUMERIK 828D
822 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User stock removal programs
15.2 Generate contour table (CONTPRON)
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
691
Example 1
Generating a contour table with:
Name "KTAB"
Max. 30 contour elements (circles, straight lines)
One variable for the number of relief cut elements that occur
One variable for fault messages







;
=





NC program:
Program code Comments
N10 DEF REAL KTAB[30,11] ; Contour table with the KTAB name 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 fault feedback signal (0=no
fault, 1=fault).
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, change over
to normal program operation.
N140 … ; Continue to process the table.

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals