Program code Comment
N10 DEF REAL PT[3,2]=(20,50,50,40,65,20) ; Variable to specify the points
of a circle.
N20 DEF REAL RES[3] ; Variable for result.
N30 DEF BOOL STATUS ; Variable for status.
N40 STATUS=CALCDAT(PKT,3,ERG) ; Call of the determined circle
data.
N50 IF STATUS == FALSE GOTOF ERROR ; Jump to error.
3.24.7 Deactivate contour preparation (EXECUTE)
EXECUTE deactivates the contour preparation and at the same time the system returns to the
normal execution mode.
Syntax
EXECUTE(<ERROR>)
Meaning
EXECUTE: Predefined procedure to terminate contour preparation
<ERROR>: Variable for the error feedback signal
Type: INT
The value of the variable indicates whether the contour was able to be prepared error-
free:
0 Error
1 No error
Example
Program code
...
N30 CONTPRON(...)
N40 G1 X... Z...
...
N100 EXECUTE(...)
...
Work preparation
3.24 User stock removal programs
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 1023