NCT Group 99M Microscope & Magnifier User Manual


 
16 Automatic Geometric Calculations
133
Fig. 16.3.4-3
Fig. 16.3.4-4
Let us see the following example:
%O9985
N10 G17 G54 G0 X200 Y10 M3 S200
N20 G42 G1 X180 D1
N30 G3 X130 Y-40 R-50
N40 X90 Y87.446 I50 J30 R70 Q–1
N50 G40 G0 Y100
N60 X200
N70 M30
%
%O9986
N10 G17 G54 G0 X200 Y10 M3 S200
N20 G42 G1 X180 D1
N30 G3 X130 Y-40 R-50
N40 X90 Y87.446 I50 J30 R70 Q1
N50 G40 G0 Y100
N60 X200
N70 M30
%
Circular block N40 is defined over because both, the center coordinates (I50 J30 in absolute value)
and the radius (R70) of the circle, are specified. Therefore coordinates X130 Y–40 of the circle
programmed in the previous block N30, are not referred to as end point coordinates, but only as a
point which is lying on the circle and the end point is the calculated intersection. In program No.
O9985 the nearer intersection in clockwise direction is given (Q–1), while in O9986 the farther one
is specified (Q1).
Circle intersection calculation can also be combined with chamfer or corner rounding specification.
E.g.:
%O9986
N10 G17 G54 G0 X200 Y10 M3 S200
N20 G42 G1 X180 D1
N30 G3 X130 Y-40 R-50 ,R20
N40 X90 Y87.446 I50 J30 R70 Q1
N50 G40 G0 Y100
N60 X200
N70 M30
%
In the example a 20mm corner-rounding is programmed in block N30 (,R20). The control
calculates the intersection of blocks N30 and N40 and inserts the programmed rounding to the
resulting contour.