Cnc programming – Lenze ETC Motion Control User Manual

Page 134

Advertising
background image

CNC programming

G functions
G functions individual descriptions

3

3.2
3.2.2

l

134

EDSTCXN EN 2.0

The following example should illustrate the use of G116 using the example
of a cutting technology. For this, MK_KUNDE = "SCHNEIDEN" (CUT) must be
set. G41 switches on the tangential correction of the tool in this case. After
the transformation has been switched on, the B axis is used to set the
miter−box angle of the cutting tool.

...

Prologue

G60 X0

Look Ahead on

G17

Switch X/Y plane "on"

G116 C90

Transformation on with shift angle

ϕ

= 90

°

G41

Correction module for tangential correction of the C axis "on"

G0 X100 Y50 B15 M14

Empty run to the start of the profile, swivel the tool by 15

°

G3 X50 Y100 R50 F7000

First profile block

G1 X−50

Other profile blocks

G3 X−50 Y0 R50

G1 X50

G3 X100 Y50 R50 M15

Last profile block, M15 = empty running on

...

Even more profiles

G40

Correction module off

G116

Transformation off

...

Epilogue

3.2.2.47

G120 Absolute coordinate shift via modal offset

Setting the NC actual position to the programmed value by shifting the
modal offset.

G120 AXES

AXES

Axes, whose positions should be set.

With G120, the modal offset is calculated so that the resulting actual
position is equal to the programmed value for the axis address.

The effect is like a coordinate shift with G193, however on the modal offset.
The modal offset can be reset with G121.

N10 G90

In block 30, the internal actual position is set to 30 and the modal offset to
70.

N20 G0 X100

N30 G120 X30

The displayed actual position (actual pos. + modal pos.) is not changed
during this process.

N40 G0 X130

In block 40, 200=130+70 is traveled. The displayed actual position is 200.

Example

Syntax

Meaning of the addresses

Explanation

Example

Advertising