Siemens sinumerik 840d Programming Manual page 467

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

12.98
14
840D
840D
NCU 571
NCU 572
NCU 573
Programming example 1
Create a contour table with
• name KTAB,
• up to 30 contour elements (circles, straight lines),
• a variable for the number of relief cut elements,
• a variable for error messages
NC part program
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 ...
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
FM-NC
810D
840Di
14.2 Contour preparation: CONTPRON
X
150
100
50
(45.50)
Contour table named KTAB and, for
example, a maximum of 30 contour
elements
Parameter value 11 is a fixed size
Variable for number of relief cut elements
with name ANZHINT
Variable for acknowledgment
0 = no error, 1 = error
Contour preparation call
N60 to N120 contour description
Terminate filling of contour table, switch to
normal program execution
Continue processing table
User Stock Removal Programs
(20.150)
(30.110)
(30.65)
(70.50)
(85.40)
(90.30)
(90.0)
50
100
14
Z
150
14-467

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents