Siemens SINUMERIK 840D sl Programming Manual page 627

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, 03/2013, 6FC5398-2BP40-3BA1
17.2 Generate contour table (CONTPRON)
Comment
; 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.
User stock removal programs
627

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents