14
User Stock Removal Programs 12.98
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
14-474
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
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
(100.100)
-50
50 100
Z
(-30.80)
(-30.30)
(20.20)
(20.45)
(0.45)
(-15.30)
150
100
50
X
(-40.80)