
13. Program Support Functions
13.9 Geometric Command
378
(2) Automatic calculation of linear-arc intersection
When it is difficult to find the intersections of a given line and circular arc, the intersections are
automatically calculated by programming the following blocks.
Example
G18 G01 Aa1 Ff1 ;
G02 Xxc Zzc Ii2 Kk2 Hh2 Ff2 ;
r1
(p2,q2)
B’(?,?)
B(?,?)
a1
A
C(xc, zc)
I and K
:
Incremental position from arc end point
P and Q
:
Arc center position (absolute position)
H = 0
:
Intersection with shorter line (B point)
H = 1
:
Intersection with longer line (B’ point)
(3) Automatic calculation of arc-linear intersection
When it is difficult to find the intersections of a given circular arc and line, the intersections are
automatically calculated by programming the following blocks.
Example
G18 G03 Ii1 Kk1 Hh1 Ff1 ;
G01 Xxc Zzc Aa1 Ff1 ;
r1
a1
C(xc, zc)
B’(?,?)
B(?,?)
(p1,q1)
A
I and K
:
Incremental position from arc end point
P and Q
:
Arc center position (absolute position) (L3 only)
H = 0
:
Intersection with shorter line (B point)
H = 1
:
Intersection with longer line (B’ point)