Oscillating axes

Release Note

release_note

The availability of this function depends on the configuration and the scope of the version.

An oscillating axis motion is required in certain machining technologies, e.g. grinding, and this is executed mainly independently of a path motion.

This motion referred to below as an "oscillating motion" is executed by the tool with periodic reversal across the workpiece.

An oscillating axis in grinding is presented below as an example. The workpiece is machined by superimposing the oscillating X motion on positioning motions in the Y and Z axes.

Grinding with an oscillating axis
Grinding with an oscillating axis

The essential characteristics of the oscillating motion result from the oscillating motion between two absolute positions as well as the feedrate

The oscillating motion start and stop and its parameters are defined in the NC program

Any axis can be defined as an oscillating axis within the scope of the configured axes. The oscillating motion is asynchronous to the path motion.

The oscillating motion is deactivated either:

The type of velocity profile can be defined in the dynamic phase by specifying the slope type in the channel parameters P-CHAN-00071 (linear/non-linear slope) for the oscillating motion.

The programming syntax is based on the axis-specific programming of independent axes. After the axis identifier, the parameters of the oscillating motion are defined via keywords and, if applicable, an associated value:

<axis_name> [ OSC ON | OFF FEED<expr> | FREQ<expr> | TIME<expr>

[1ST_POS<expr> 2ND_POS<expr>] | [ ZERO_POS<expr> EXCUR<expr>]

[1ST_DELT<expr> 2ND_DELT<expr>] [NBR_OSC<expr>] { \ } ]

<axis_name>

Name of the oscillating axis

OSC

Identifier for "Oscillating” function. Must always be programmed as the first keyword.

ON

Oscillation on. The motion is stopped at block end when a path motion is active and the oscillating motion is then commanded.

OFF

Oscillation off. The oscillating axis can then move again in the coordinated motion. If the oscillating motion is stopped implicitly if it is not previously deselected when a new axis motion is programmed.

FEED<expr>

Feedrate of the oscillating motion in [mm/min, m/min, inch/min]

FREQ<expr>

Frequency of the oscillating motion in [Hz]

TIME<expr>

Period of the oscillating motion in in [s]

1ST_POS<expr>

First reversal position in [mm, inch]

2ND_POS<expr>

Second reversal position in [mm, inch]

ZERO_POS<expr>

Zero point or zero crossing of the oscillating motion in [mm, inch]

EXCUR<expr>

Excursion in [mm, inch]

1ST_DELT<expr>

Wait time at first reversal position in [s]

2ND_DELT<expr>

Wait time at second reversal position in [s]

NBR_OSC<expr>

Number of oscillations

\

Separator ("backslash") for clear programming of the command over multiple lines.

The characteristic of the oscillating motion is determined by the locations of the reversal positions and the axis feedrate. The reversal positions can be either specified directly or alternatively they are determined automatically via the zero position and the excursion.

The oscillating positions are always absolute positions.

After an oscillating motion is deselected, the tool always stops at oscillating position 2.

Alternatively, the oscillating velocity can be determined by feedrate, frequency or period.

If no restriction occurs due to the dynamic axis characteristics, the frequency and the period are maintained exactly when the linear slope is used and maintained approximately when the non-linear slope is used.

Positioning procedure with pendulum movement
Positioning procedure with pendulum movement

Programing Example

prg_example

Specifying the oscillating motion path via reversal positions

N10 X[OSC ON 1ST_POS=-100 2ND_POS=100 FEED=1000]

Specify the oscillation travel distance via the zero position and the excursion,
10 oscillations

N20 X[OSC ON ZERO_POS=0 EXCUR=100 FEED=1000 NBR_OSC=10]

Specify 1 Hertz oscillation frequency

N30 X[OSC ON ZERO_POS=0 EXCUR=100 FREQ=1]

Specify a 4s oscillating period

N40 X[OSC ON ZERO_POS=0 EXCUR=100 TIME=4]

Oscillating motion with feed motion of a path axis

N50 X[OSC ON 1ST_POS=111 2ND_POS=222 FREQ=1]

N60 G01 G90 Y500 F200

Oscillate with wait times of 0.5 s each at reversal positions

N70 X[OSC ON 1ST_POS-100 1ST_DELT0.5 2ND_POS200 2ND_DELT0.5 FEED1000]

Deselect oscillation

Oscillation is stopped when reversal position 2 is reached:

N80 X[OSC OFF]

Fast oscillation stop

If a feedrate is programmed with FEED in combination with OFF, the oscillating motion is stopped immediately (feedhold of oscillating axis) and the reversal position 2 is directly approached at the new feed rate.

N90 X[OSC OFF FEED=5000]

Notice

notice

The equals signs between the keyword and the value are optional.