User Stock Removal Programs
14
14.3 Contour decoding: CONTDCON (as of SW 5.2)
840D
840D
NCU 571
NCU 572
NCU 573
Terminate contour preparation
When you call the predefined subroutine EXECUTE
(ERROR), contour preparation is terminated and the
system switches back to normal execution when the
contour has been described. The associated variable
ERROR gives the return value:
0 = no error (contour produced no errors)
1 = error
Impermissible commands, incorrect initial conditions,
CONTDCON call repeated without EXECUTE( ), too
few contour blocks
or table definitions too small produce additional
alarms.
Stock removal in the programmed contour
direction
The contour table produced using CONTDCON is
used for stock removal in the programmed direction
of the contour.
Programming example
Create a contour table with
• name KTAB,
• contour elements (circles, straight lines),
• mode: Turning
• preparation forward
14-474
FM-NC
810D
840Di
150
100
(-30.80)
(-40.80)
(0.45)
(-30.30)
(-15.30)
-50
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
12.98
X
(100.100)
50
(20.45)
(20.20)
50
Siemens AG 2000. All rights reserved
14
Z
100