Technology functions at perpendicular selection/deselection

The placement of technology functions in the NC program is with perpendicular selection or deselection of special importance, because this determines the output time.

The alignment of selection block, technology block and the first motion block is the decisive factor for the output time while perpendicular selection.

The alignment of technology block and the last corrected motion block is the decisive factor for the output time while perpendicular deselection.

The following examples and corresponding pictures will point out this connection.

Programming example

%bsp02.nc 
N10 G00 X0 Y0 Z0 G17
N20 F9000
N30 V.G.WZ_AKT.R=5 (Tool radius)
N40 G237 (Activation of perpendicular selection)
N50 G91 (Relative programming)
N60 G01 X30 Y10
; Corrected path
N50 G41 M7 X20 Y70 (Selection of TRC on the left)
N55 M8
N60 G03 X60 I30
N70 G01 X30
N80 X25 Y-20
N85 M9
N90 G40 (Deselection of TRC)
N100 G90 X200 Y0 (Absolute programming)
N110 X0
; Presentation of the original contour
N200 G91 (Relative programming)
N210 G01 X30 Y10
N220 X20 Y70
N230 G03 X60 I30
N240 G01 X30
N250 X25 Y-20
N260 G90 X200 Y0 (Absolute programming)
N270 G00 X0
N999 M30

The output of the technology function M9 in the subsequent picture happens directly before the output of the perpendicular deselection block. The placement of the technology function must be between the last corrected motion block and the perpendicular deselection of tool radius compensation.

Technology functions at perpendicular selection/deselection 1:
Fig. 12.7: Programming example bsp02.nc

Programming example

%bsp03.nc 
N10 G00 X0 Y0 Z0 G17
N20 F9000
N30 V.G.WZ_AKT.R=5 (Tool radius)
N40 G237 (Activation of perpendicular selection)
N50 G91 (Relative programming)
N60 G01 X30 Y10
; Corrected path
N50 G41 M7 (Selection of TRC on the left)
N55 M8 X20 Y70
N60 M9 G03 X60 I30
N70 G01 X30
N80 X25 Y-20
N90 G40 (Deselection of TRC)
N100 G90 X200 Y0 (Absolute programming)
N110 X0
; Presentation of the original contour
N200 G91 (Relative programming)
N210 G01 X30 Y10
N220 X20 Y70
N230 G03 X60 I30
N240 G01 X30
N250 X25 Y-20
N260 G90 X200 Y0 (Absolute programming)
N270 G00 X0
N999 M30

The technology function M8 is executed after the selection block. To achieve this, the technology function must be programmed in another block than the selection block. Furthermore no motion block may be programmed between the selection block and the technology function.

Technology functions at perpendicular selection/deselection 2:
Fig. 12.8: Programming example bsp03.nc

Programming example

%bsp04.nc 
N10 G00 X0 Y0 Z0 G17
N20 F9000
N30 V.G.WZ_AKT.R=5 (Tool radius)
N40 G237 (Activation of perpendicular selection)
N50 G91 (Relative programming)
N60 G01 X30 Y10
; Corrected path
N50 G41 (Selection of TRC on the left)
N51 M7
N52 M8
N53 M8
N55 X20 Y70
N60 G03 X60 I30
N70 G01 X30
N80 X25 Y-20
N90 G40 (Deselection of TRC)
N100 G90 X200 Y0 (Absolute programming)
N110 X0
; Presentation of the original contour
N200 G91 (Relative programming)
N210 G01 X30 Y10
N220 X20 Y70
N230 G03 X60 I30
N240 G01 X30
N250 X25 Y-20
N260 G90 X200 Y0 (Absolute programming)
N270 G00 X0
N999 M30
Technology functions at perpendicular selection/deselection 3:
Fig. 12.9: Programming example bsp04.nc