Cnc programming – Lenze ETC Motion Control User Manual
Page 157

CNC programming
G functions
G functions individual descriptions
3.2
3.2.2
l
157
EDSTCXN EN 2.0
3.2.2.69
G193 Set absolute zero point
The current position of the programmed axes is set to the specified position
value in the current coordinate system.
G193 AXES
AXES
Axes, whose coordinate zero point should be set.
With G193, the current position of the axes in the activated coordinate
system can be set to the values programmed for the axes. This is mainly used
to calibrate the coordinate zero point to the current position of the axes.
During this process, the current position of the programmed axes becomes
the coordinate zero point.
A zero shift can be effected at the same time by the specification of a number
not equal to zero, i.e. the axis is then positioned on the programmed point.
Any zero points which might be saved for the specified axes are overwritten
by G193.
G193 X0 Z0
The current position of X and Z is becomes the new point of origin.
G193 X10
The zero point is set in such a way that the X−axis is set to the value "10"
after the shift.
3.2.2.70
G194 Program an additional basic offset
G194 is used to program a basic offset, which has an additional effect to the
basic offset in the machine constants. The basic offset is shifted without
consideration of the current coordinate system.
G194 AXES
AXES
Axes, whose basic offset should be set.
The basic offset programmed for G194 is added to the value from
MK_GRUNDOFFSET and transmitted to the axes. In contrast to a coordinate
shift in a coordinate system, G194 can also be used in an interrupt program.
The offset shift occurs directly in the axis computer, by−passing the
interpreter and handler. The basic offset programmed with G194 is not
saved and is lost when the control is switched off. The programmed values
are stored from P928 in the parameter field.
G194 X150
The basic offset of the X−axis is set to MK_GRUNDOFFSET+150.
G194 X0
The basic offset of the X−axis is reset to the value of MK_GRUNDOFFSET.
Syntax
Meaning of the addresses
Explanation
Example
Syntax
Meaning of the addresses
Explanation
Example