Siemens SINUMERIK 840D sl Programming Manual page 594

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

Advertisement

User stock removal programs
14.2 Contour preparation (CONTPRON)
Example 2: Creating curve table
Create a contour table with
• name KTAB,
• up to 92 contour elements (circles, straight lines),
• mode: Longitudinal turning, external machining,
• preparation forwards and backwards.
NC parts program
N10 DEF REAL KTAB[92,11]
N20 CHAR BT="L"
N30 DEF INT HE=0
N40 DEF INT MODE=1
N50 DEF INT ERR=0
...
N100 G18 X100 Z100 F1000
N105 CONTPRON (KTAB, BT, HE, MODE)
N110 G1 G90 Z20 X20
N120 X45
N130 Z0
N140 G2 Z-15 X30 K=AC(-15) I=AC(45)
N150 G1 Z-30
N160 X80
N170 Z-40
N180 EXECUTE(ERR)
...
14-6
;Contour table named KTAB and, for example,
;a maximum of 92 contour elements
;parameter value 11 is a fixed quantity
;Mode for CONTPRON:
;longitudinal turning, external machining
;Number of relief cut elements=0
;Preparation forwards and backwards
;Error checkback message
;Contour preparation call
;Terminate filling of contour table,
;switch to normal program execution
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents