Programmable additional options of TRC (#TRC)
The following command permits the programming of additional optional TRC functions.
![]() | After selection, these optional TRC functions remain active up to main program end or RESET, but they can also be deselected at any time while the NC program is running. |
Syntax: |
#TRC [ [CONV_CIR_TO_LIN=..] [KERF_MASKING=..] [REVERSE=..] [ IGNORE_CONT_DAMAGE=..] [REMOVE_MASKED_BLOCKS=..] ] [EXT_ANGLE_BLOCK_INTERSECTION=..] ] |
CONV_CIR_TO_LIN=.. | In circular blocks in which the tool radius is greater than the programmed radius of the circle element, this parameter converts the circular block directly into linear blocks. The effectiveness of this function is dependent on whether contour masking processes are active (G141). 0: No conversion of circular blocks (default). 1: Conversion of circular blocks into linear blocks. |
KERF_MASKING=.. | This parameter explicitly selects the masking of kerfs. 0: Kerf masking deactivated (default). 1: Kerf masking activated. |
![]() | When contour masking is used, this TRC option is implicitly activated and/or deactivated. |
The functionality of kerf masking is based on offsetting a programmed point as soon as the program detects that a kerf cannot be traversed by a tool.

REVERSE=.. | This parameter permits the direct change (G41<->G42) of selection side with reversing motions when TRC is active. 0: Direct change of selection side deactivated (default) 1: Direct change of selection side activated |
The change of selection side of TRC always takes place at the point of reversal. With linear blocks, this is dependent on exactly reversing motions.
With circular blocks, the tangents of both circles must be identical at the point of reversal and the directions of both circles must be different.
IGNORE_CONT_ | This parameter explicitly ignores contour violations. 0: Contour violations not ignored (default) 1: Contour violations ignored |
REMOVE_MASKED_ | This parameter deletes contour loops detected by contour masking. Pure motions of tracking axes are retained. From the viewpoint of TRC, this also includes a motion of the 3rd main axis. The parameter is specially suited for contours with very short blocks. Effectiveness is dependent on whether contour masking is active (G141). 0: Closed contour loops are not deleted (default). 1: Closed contour loops are deleted. |
EXT_ANGLE_BLOCK_ | This parameter changes the limit of the transition angle between two motion blocks from 180° to 181°. This avoids the creation of additional TRC transition blocks in this angle range. The value of the limit itself cannot be modified. 0: Limit of transition angle is 180° (default) 1: Limit of transition angle is 181° |
Programming Example
Conversion of circular blocks:
Programming Example
Direct change of selection side: