Direct selection/deselection of TRC without block (G239)
The approach motion with G239 is executed immediately as with G138.
When TRC is deselected (G40) the last equidistant point is the current position. A subsequent motion block to reduce the tool radius is not required.
Attention
An arc programmed directly after G40 causes an error message because then the real deselection position and the programmed starting point of the circle are no longer identical.
In the examples below the programmed path is displayed in black and the equidistant path is displayed in blue.
Programing Example
Example 1
Then, after TRC is disabled, a position is programmed in both main axes and output in this way.
%G239_Demo1.nc
N010 G0 X0 Y0 Z0 F1000
N020 G239 (TRC mode)
N030 V.G.WZ_AKT.R = 10
N040 G41 G01 X30 Y20 (Select TRC)
N050 G01 X60
N060 G01 X90
N070 G01 X120
N080 G40 (Deselect TRC without block)
N100 G00 X150 Y0
N110 M30
Programing Example
Example 2:
Here only one of the main axes is programmed after TRC is deselected. The position of the 2nd main axis remains the same.
%G239_Demo2.nc
N010 G0 X0 Y0 Z0 F1000
N020 G239 (TRC mode)
N030 V.G.WZ_AKT.R = 10
N040 G41 G01 X30 Y20 (Select TRC)
N050 G01 X60
N060 G01 X90
N070 G01 X120
N080 G40 (Deselect TRC without block)
N090 G00 X150
N100 G00 X200
N110 M30
Programing Example
Example 3:
When TRC is selected again directly after G40, only one of the two main axes is programmed.
%G239_Demo3.nc
N010 G0 X0 Y0 Z0 F1000
N020 G239 (TRC mode)
N030 V.G.WZ_AKT.R = 10
N040 G41 G01 X30 Y20 (Select TRC)
N050 G01 X60
N060 G01 X90
N070 G01 X120
N080 G40 (Deselect TRC without block)
(Y is not programmed again)
N090 G41 G01 X150 (Reselect TRC)
N100 G00 X200
N110 M30
Programing Example
Example 4:
Here the 2nd motion block is only programmed in the 2nd motion block after TRC is reselected.
%G239_Demo4.nc
N010 G0 X0 Y0 Z0 F1000
N020 G239 (TRC mode)
N030 V.G.WZ_AKT.R = 10
N040 G41 G01 X30 Y20 (Select TRC)
N050 G01 X60
N060 G01 X90
N070 G01 X120
N080 G40 (Deselect TRC without block)
N090 G41 G01 X150 (Reselect TRC)
N100 G00 X200 Y20
N110 M30
Programing Example
Example 5:
In this example the position of second main axis is programmed as for the first selection (G41) after TRC is reselected after G40 .
%G239_Demo5.nc
N010 G0 X0 Y0 Z0 F1000
N020 G239 (TRC mode)
N030 V.G.WZ_AKT.R = 10
N040 G41 G01 X30 Y20 (Select TRC)
N050 G01 X60
N060 G01 X90
N070 G01 X120
N080 G40 (Deselect TRC without block)
N090 G41 G01 X150 Y20 (Reselect TRC)
N100 G00 X200
N110 G40
N120 M30
Programing Example
Example 6:
The arc programmed after TRC is disabled cannot be moved because the specified centre point (M) no longer corresponds to the (new) starting point (S) and the (programmed) end point (E).
%G239_Demo_Kreis.nc
N005 G162
N010 G0 X0 Y0 Z0 F1000
N020 G239 (TRC mode)
N030 V.G.WZ_AKT.R = 30
N040 G41 G01 X30 Y20 (Select TRC)
N050 G01 X60
N060 G01 X90
N070 G40 (Deselect TRC without block)
N080 G02 X140 Y-30 J-50 (Error, centre point not correct)
N100 G00 X200
N110 G40
N120 M30
A message is output with ID 20035.