Siemens Sinumerik 840D sl Programming Manual page 727

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

Advertisement

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
N10 DEF REAL KTAB[30,11]
N20 DEF INT ANZHINT
N30 DEF INT ERROR
N40 G18
N50 CONTPRON(KTAB,"G",ANZHINT)
N60 G1 X150 Z20
N70 X110 Z30
N80 X50 RND=15
N90 Z70
N100 X40 Z85
N110 X30 Z90
N120 X0
N130 EXECUTE(ERROR)
N140 ...
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
User stock removal programs
15.2 Generate contour table (CONTPRON)
Comments
; Contour table with the KTAB name and
max. 30 contour elements, parameter
value 11 (number of table columns) is a
fixed quantity.
; Variable for the number of relief cut
elements with the name ANZHINT.
; Variable for fault feedback signal (0=no
fault, 1=fault).
; Activate contour preparation.
; N60 to N120: Contour description
; End filling the contour table, change
over to normal program operation.
; Continue to process the table.
727

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents