Cnc programming – Lenze ETC Motion Control User Manual

Page 163

Advertising
background image

CNC programming

G functions

G functions individual descriptions

3

3.2

3.2.2

l

163

EDSTCXN EN 2.0

3.2.2.76

G226 Reconfigure hardware limit switch

G226 can be used to change the response of the control when traveling on
the direction−dependent hardware limit switches of individual axes.

G226 AXES

AXES

Identification of the axes, whose limit switch function should be changed.
0: deactivate limit switch
1: activate normal limit switch function
2: the limit switches effect a limit on the traversing range for the
corresponding axis, but do not cause an error message or a program
termination.

The identification, which is programmed for the axes, defines how the
control should respond to the limit switches of the corresponding axis. If the
limit switches are deactivated, the control does not respond at all to the limit
switches of the axis. In the case of the normal limit switch function, the
control responds by stopping the traversing movement without delay and
terminating a possibly running NC program.

If the identification 2 is programmed, the control responds to the limit
switches, by stopping the traversing movement of the affected axis in this
direction without delay and freezing the position of the axis. The position
remains frozen until the axis should leave the frozen position again in the
opposite direction. During the process, neither an error message is created
nor the program is terminated. This function effects a cutting of profile areas
when traveling on the limit switches.

To reactivate the default setting from the machine constants, G226 can be
programmed without axes.

N10 G226 X0

Limit switch of the X−axis "off".

N90 G226

Activate preset limit switch function for all axes.

Syntax

Meaning of the addresses

Explanation

Example

Advertising