14
12.98 User Stock Removal Programs
14.3 Contour decodin
: CONTDCON
as of SW 5.2
14
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
14-475
NC part program
N10 DEF REAL KTAB[9,6]
Contour table with name KTAB and 9 table
cells. These allow 8 contour sets.
Parameter value 6 (column number in table)
is fixed.
N20 DEF INT MODE = 0
Default value 0: only in programmed contour
direction. Value 1 is not permitted.
N30 DEF INT ERROR = 0
Error check-back message
...
N100 G18 G64 G90 G94 G710
N101 G1 Z100 X100 F1000
N105 CONTDCON (KTAB, MODE)
Call contour decoding
MODE may be omitted (see above)
N110 G1 Z20 X20 F200
N120 G9 X45 F300
N130 Z0 F400
Contour description
N140 G2 Z-15 X30 K=AC(-15) I=AC(45)F100
N150 G64 Z-30 F600
N160 X80 F700
N170 Z-40 F800
N180 EXECUTE(ERROR)
Terminate filling of contour table, switch to
normal program execution
...
Column index 012345
Line index Contour
mode
End point
abscissa
End point
ordinate
Center point
abscissa
Center point
ordinate
Feed
0 30 100 100 0 0 7
1 11031 20 20 0 0 200
2 111031 20 45 0 0 300
3 11031 0 45 0 0 400
4 11032 –15 30 –15 45 100
5 11031 –30 30 0 0 600
6 11031 –30 80 0 0 700
7 11031 –40 80 0 0 800
8000000