14
12.98 User Stock Removal Programs
14.2 Contour
re
aration: CONTPRON
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-465
14.2 Contour preparation: CONTPRON
Programming
CONTPRON (TABNAME, MACH, NN, MODE)
EXECUTE (ERROR)
Explanation of the parameters
CONTPRON
Activate contour preparation
TABNAME
Name of contour table
MACH
Parameters for type of machining:
"G": Longitudinal turning: Inside machining
"L": Longitudinal turning: External machining
"N": Face turning: Inside machining
"P": Face turning: External machining
NN
Number of relief cuts in result variable of type INT
MODE (SW 4.4 and
higher)
Direction of machining, type INT
0 = Contour preparation forward (as before SW 4.3, default value)
1 = Contour preparation in both directions
EXECUTE
Terminate contour preparation
ERROR
Variable for error check-back, type INT
1 = error; 0 = no error
Function
The blocks executed after CONTPRON describe the
contour to be prepared.
The blocks are not processed but are filed in the
contour table.
Each contour element corresponds to one row in the
two-dimensional array of the contour table.
The number of relief cuts is returned.
EXECUTE deactivates the contour preparation and
switches back to the normal execution mode.
Example:
N30 CONTPRON(…)
N40 G1 X… Z…
N50…
N100 EXECUTE(…)