Circular Smoothing

from TwinCAT version 2.6 Build 323

It is possible with the aid of circular smoothing to insert an arc automatically between two straight lines. It is only necessary to program the radius of the arc.

The radius of the circular smoothing can be altered at any time within the NC program, and can be switched off again by setting the radius to 0. Rounding must be switched off before the end of the program or a decoder stop.

Command

#set paramCircularSmoothing( <radius> )#

Parameter <radius>

Radius of the circular smoothing arc

Sample:

N10 R57=4.5
#set paramCircularSmoothing(R57)#

#set paramCircularSmoothing(0)#
N1000 M02
Circular Smoothing 1:

When combined with cutter radius compensation, please note that first the radius compensation is calculated, then the circular smoothing is added. The smoothing radius thus refers to the TCP.
The old command paramGroupVertex is still supported. However, it cannot be used to transfer R parameters.

Syntax:

#set paramGroupVertex(<grp>,<radius>)# 

The first parameter describes the group to which the circular smoothing refers. This value is currently always 1. The second parameter is used to specify the circular smoothing radius.