Cnc programming – Lenze ETC Motion Control User Manual

Page 158

Advertising
background image

CNC programming

G functions
G functions individual descriptions

3

3.2
3.2.2

l

158

EDSTCXN EN 2.0

3.2.2.71

G195 Absolute coordinate shift of all S coordinate systems

With G195, all the S coordinate systems can be shifted by the programmed
amount in reference to the zero points defined by G193/G92 at the same
time. The shift has an additive effect to the current zero points of all S
coordinate systems except for S0.

G195 AXES

AXES

Axes, whose zero point should be shifted.

G195 is used to program the offset of S0. Since all the other coordinate
systems are relative to S0, this has the effect that all the other coordinate
systems are shifted.

The machine constant MK_S0T0_VERSATZ_ERLAUBT can be used to select
whether this shift should also be effective in S0. When the default setting is
0, a shift of S0 is not effective in S0, but rather only in all other coordinate
systems. In this case, the total offset (P192ff) of the axes is represented as
follows:

In S0: offset = Tm

In Sn: offset = S0+Sn+Tm with n > 0

Ifs MK_S0T0_VERSATZ_ERLAUBT is set to 1, a distinction is made in the
creation of the total offset:

In S0: offset = S0+Tm

The shift with G195 is an absolute shift, i.e. the value programmed for the
axes replaces the old offset. The shift is stored remanently in CMOS−RAM if
the machine constant MK_NULLPUNKTE_SPEICHERN is set to 1. It is then
also still effective after the control has been switched off or on.

G195 X10

All coordinate systems except for S0 are shifted in X by 10 mm
(MK_S0T0_VERSATZ_ERLAUBT = 0).

G195 X0

Shift of the X axis is canceled again.

Syntax

Meaning of the addresses

Explanation

Example

Advertising