Execute The Contour Elements Of A Table Block-By-Block (Exectab) - Siemens SINUMERIK 840D sl Programming Manual

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Example
Calculate the intersection of contour element 3 in table TABNAME1 and contour element 7 in
table TABNAME2. The intersection coordinates in the active plane are stored in the variables
ISCOORD (1st element = abscissa, 2nd element = ordinate). If no intersection exists, the
program jumps to NOCUT (no intersection found).
Program code
DEF REAL TABNAME1[12,11]
DEF REAL TABNAME2[10,11]
DEF REAL ISCOORD [2]
DEF BOOL ISPOINT
DEF INT MODE
...
MODE=1
N10 ISPOINT=INTERSEC(TABNAME1[3],TABNAME2[7],ISCOORD,MODE)
N20 IF ISPOINT==FALSE GOTOF NOCUT
...
17.5

Execute the contour elements of a table block-by-block (EXECTAB)

Function
Using the command
generated e.g. using the command
Syntax
EXECTAB(<contour table>[<contour element>])
Meaning
EXECTAB
<contour table>
<contour element>
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
17.5 Execute the contour elements of a table block-by-block (EXECTAB)
, you can execute the contour elements of a table – that were
EXECTAB
CONTPRON
Command to execute a contour element
Names of contour table
Number of the contour element
User stock removal programs
Comment
; Contour table 1
; Contour table 2
; Variable for the point of
intersection coordinates.
; Variable for the intersection
status.
; Variable for machining type.
; Calculation independent of the
active plane.
; Call point of intersection of
the contour elements.
; Jump to NOCUT
– block-by-block.
637

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents