Change of the Reduction Parameters

C0 reduction

C1 reduction

C2 reduction

C0 reduction

In some types of machine it is not absolutely necessary to reduce the path velocity to 0 at knee-points. 2 reduction methods are available

VeloJump

Command

#set paramVeloJump( <C0X>; <C0Y>; <C0Z> )#

Parameter <C0X>

Reduction factor for C0 transitions: X axis: C0X ≥ 0.0

Parameter <C0Y>

Reduction factor for C0 transitions: Y axis: C0Y ≥ 0.0

Parameter <C0Z>

Reduction factor for C0 transitions: Z axis: C0Z ≥ 0.0

The 'paramVeloJump' command can be used to alter the velocity step change factors as the NC program is running. The new values come into effect via the block execution in the programmed line. You can find further details of the means of operation in the appendix under Parameterization.

Sample:

N10 G01 X100 Y200 F6000
N20 R2=4.5
N30 #set paramVeloJump( 1.45; R2; R2 )#
N40 G01 X500
Change of the Reduction Parameters 1:

Resetting parameters

The VeloJump parameters changed via the NC program remain active until the interpreter is next reset and/or TwinCAT has been restarted.

DeviationAngle (not yet released)

Command

#set paramDevAngle( <C0Factor>; <AngleLow>; <AngleHeigh> )#

Parameter <C0Factor>

Path reduction factor for C0 transitions: 1.0 ≥ C0 ≥ 0.0

Parameter <AngleLow>

Angle in degrees from which reduction takes effect: 0 ≤ φ_l < φ_h ≤ π

Parameter <AngleHeigh>

Angle in degrees from which reduction to v_link = 0.0 takes effect: 0 ≤ φ_l < φ_h ≤ π

The 'paramDevAngle' command is used to describe the parameters for the C0 reduction. In contrast to the VeloJump reduction method, in which the velocity step change is influenced directly, in the DeviationAngle method the velocity step change depends upon the angle. You can find further details of the means of operation in the appendix under Parameterization.

Sample:

N10 G01 X100 Y200 F6000
N20 #set paramDevAngle(0.15; 5; 160 )#
N30 G01 X500
Change of the Reduction Parameters 2:

Resetting parameters

The DeviationAngle parameters changed via the NC program remain active until the interpreter is next reset and/or TwinCAT has been restarted.

C1 reduction factor

Command

#set paramC1ReductionFactor( <C1Factor> )#

Parameter <C1Factor>

C1 reduction factor

The 'paramC1ReductionFactor' command is used to change the C1 reduction factor while the NC program is running.

The new parameter comes into effect at the segment transition at which the reduction factor is programmed. In the example shown, the new value for the C1 reduction is therefore already effective in the segment transition from N10 to N30.

A floating point value or an 'R parameter' can be provided as parameter.

You can find further details of the means of operation in the appendix under Parameterization.

Sample:

N10 G01 X100 Y200 F6000
N20 #set paramC1ReductionFactor( 0.45 )#
N30 G01 X500
Change of the Reduction Parameters 3:

Resetting parameters

The C1 reduction factor changed via the NC program remains active until the interpreter is next reset and/or TwinCAT has been restarted.

C2 reduction factor

Command

#set paramC2ReductionFactor( <C2Factor> )#

Parameter <C2Factor>

C2 reduction factor

The 'paramC2ReductionFactor' command is used to change the C2 reduction factor while the NC program is running.

The command takes effect in the segment transition for which the reduction factor is programmed. In the example shown, the new value for the C2 reduction is therefore already effective in the segment transition from N10 to N30.

A floating point value or an 'R parameter' can be provided as parameter.

Sample:

N10 G01 X100 Y200 F6000
N20 #set paramC2ReductionFactor( 1.45 )#
N30 G01 X500
Change of the Reduction Parameters 4:

Resetting parameters

The C2 reduction factor changed via the NC program remains active until the interpreter is next reset and/or TwinCAT has been restarted.