Siemens sinumerik 840d Programming Manual page 477

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

12.98
14
840D
840D
NCU 571
NCU 572
NCU 573
The indicated status specifies whether or not an
intersection exists (TRUE = intersection, FALSE = no
intersection).
Additional notes
Please note that variables must be defined before
they are used.
Programming example
Calculate the intersection of contour element 3 in
table KTAB1 and contour element 7 in table KTAB2.
The intersection coordinates in the active plane are
stored in CUTCUT (1st element = abscissa, 2nd
element = ordinate).
If no intersection exists, the program jumps to
NOCUT (no intersection found).
DEF REAL KTAB1 [12, 11]
DEF REAL KTAB2 [10, 11]
DEF REAL CUT [2]
DEF BOOL ISPOINT
...
N10 ISPOINT=INTERSEC (KTAB1[3],KTAB2[7],CUT)
N20 IF ISPOINT==FALSE GOTOF NOCUT
...
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
14.4 Intersection of two contour elements: INTERSEC
FM-NC
810D
840Di
User Stock Removal Programs
Contour table 1
Contour table 2
Intersection table
Variable for status
Call intersection of contour elements
Jump to NOCUT
14
14-477

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents