User stock removal programs
15.4 Determine point of intersection between two contour elements (INTERSEC)
15.4
Determine point of intersection between two contour elements
(INTERSEC)
Function
INTERSEC determines the point of intersection of two normalized contour elements from the
contour tables generated using CONTPRON.
Syntax
<Status>=INTERSEC(<contour table_1>[<contour element_1>],
<contour table_2>[<contour element_2>],<intersection point>,
<machining type>)
Significance
INTERSEC
<status>
<contour table_1>
<contour element_1>
<contour table_2>
<contour element_2>
<point of
intersection>
<machining type>
Note
Please note that the variables must be defined before they are used.
736
Key word to determine the point of intersection between two
contour elements from the contour tables generated with
CONTPRON
Variable for the point of intersection status
Type:
BOOL
Value:
TRUE
Point of intersection found
FALSE
No intersection found
Name of the first contour table
Number of the contour element of the first contour table
Names of the second contour table
Number of the contour element of the second contour table
Intersection coordinates in the active plane (G17 / G18 /
G19)
Type:
REAL
Parameter for the machining type
Type:
INT
Value:
0
Point of intersection calculation in the
active plane with parameter 2
(standard value)
1
Point of intersection calculation
independent of the transferred plane
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning