NCT Group 99M Microscope & Magnifier User Manual


 
16 Automatic Geometric Calculations
129
Fig. 16.3.3-1 Fig. 16.3.3-2
16.3.3 Circular-linear Intersection
If a linear block is given after a circular block in a way that the straight line is defined over, i.e., both
its end point coordinate and the angle are specified, then the control calculates intersection between
the circle and the straight line. The calculated intersection is the end point of the first block, as well
as the start point of the second one.
G17 G41 (G42)
N1 G2 (G3) X1 Y1 I J
or R
N2 G1 G90 X2 Y2 ,A Q
G18 G41 (G42)
N1 G2 (G3) X1 Z1 I K
or R
N2 G1 G90 X2 Z2 ,A Q
G19 G41 (G42)
N1 G2 (G3) Y1 Z1 J K
or R
N2 G1 G90 Y2 Z2 ,A Q
The intersection is always calculated in the plane selected by G17, G18, G19. The first block (N1),
i.e., the circle is specified with an optional point (X
1
, Y
1
; X
1
, Z
1
; or Y
1
, Z
1
) and its center point
coordinates (I J; I K; or J K) or instead of the center point coordinates with its radius (R). In the
second block (N2) the straight line is determined over, i.e., both the end point coordinates (X
2
Y
2
;
X
2
Z
2
; or Y
2
Z
2
) and the angle (,A) of the straight line are given. The end point coordinates of the
straight line are always interpreted by the control as absolute data (G90). It is always the vector
angle of the straight line pointing from the resulting intersection at the given end point to be
specified at address ,A, otherwise movements contrary to programmer’s needs occur. Of the two
resulting intersections the one to be calculated by the control can be specified at address Q.
If the address value is less than zero (Q<0, e.g., Q–1) the nearer intersection in direction of
the straight line is calculated, while if the address value is greater than zero (Q>0, e.g., Q1)
the farther one in direction of the straight line is calculated. The direction of movement
along the straight line is determined by the angle.