User stock removal programs
15.4 Determine point of intersection between two contour elements (INTERSEC)
Job planning
702 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
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
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
TRUE Point of intersection found
<status>
Value:
FALSE No intersection found
<contour table_1>
Name of the first contour table
<contour element_1>
Number of the contour element of the first contour table
<contour table_2>
Names of the second contour table
<contour element_2>
Number of the contour element of the second contour table
Intersection coordinates in the active plane (
G17 / G18 / G19)
<point of intersection>
Type: REAL
Parameter for the machining type
Type: INT
0 Point of intersection calculation in the
active plane with parameter 2
(standard value)
<machining type>
Value:
1 Point of intersection calculation
independent of the transferred plane
Note
Please note that the variables must be defined before they are used.