16 Automatic Geometric Calculations

Let us see the following example:

Fig. 16.3.2-3

Fig. 16.3.2-4

%O9981

 

 

 

 

 

 

 

%O9982

 

 

 

 

 

 

N10

G17

G42

G0

X100 Y20

D0 S200

M3

N10

G17

G42

G0

X100 Y20

D0 S200 M3

N20

G1

X-30

Y-20

 

 

N20

G1

X-30

Y-20

 

N30

G3

X20

Y40

I20 J-10

R50 Q-1

 

N30

G3

X20

Y40

I20 J-10

R50 Q1

N40

G40

G0

Y60

 

 

 

N40

G40

G0

Y60

 

 

N50

X120

 

 

 

 

 

N50

X120

 

 

 

 

N60

M30

 

 

 

 

 

 

N60

M30

 

 

 

 

 

%

 

 

 

 

 

 

 

 

%

 

 

 

 

 

 

 

Circular block N30 G3 is determined over, for both the center coordinates (I20 J–10 in absolute value) and the circle radius (R50) are specified, the control calculates the intersection of the straight line given in block N20 and the circle given in block N30. In program O9981 the nearer intersection in direction of the straight line is calculated because Q–1 is given in circular block N30.

Linear-circular intersection calculation can also be combined with chamfering or rounding specification. E.g.:

%O9983

N10 G17 G42 G0 X100 Y20 D0 S200 M3

N20 G1 X-30 Y-20 ,R15

N30 G3 X20 Y40 I20 J-10 R50 Q-1 N40 G40 G0 Y60

N50 X120

N60 M30

%

The control calculates the intersection of blocks N20 and N30 and inserts a 15mm corner rounding as the effect of ,R15 given in block N20.

128

Page 128
Image 128
NCT Group 2000M, 99M manual Let us see the following example