beautypg.com

Cnc programming – Lenze ETC Motion Control User Manual

Page 152

background image

CNC programming

G functions
G functions individual descriptions

3

3.2
3.2.2

l

152

EDSTCXN EN 2.0

G158 K2

Activate intermittent operation with linear ramps

G0 X10 Y300
M14

Approach starting position, and select profile start (M14)

G0 A90

Position needle into the starting position 90

°

(0

°

= highest position)

G33 A0

Automatic coupling between path and rotation axis "on"

G1 E500 L3

Select speed and stitch length

X300

Profile

Y10

X10

Y300

M15

Select profile end

G34

Path coupling "off"

G0 A0

Needle up

G159

Intermittent operation "off"

3.2.2.63

G161 Accept actual position

Acceptance of the current actual positions of the axes as the new starting
position for the next interpolation.

G161 AXES

AXES

Validity identification of the axes, whose actual positions should be
accepted.

If it once becomes necessary in a DIN program to deliberately remove the
controller enable of one or several axes temporarily, this function can be
helpful. With G161, it is possible, after the controller enable has been
restarted, to accept the possibly changed axis positions as a new starting
position for the next traverse function into the interpreter.

If no axes are programmed, the actual positions of all axes of the current
channel are accepted.

M80

PLC temporarily removes controller enable and read enable

G161

Accept all axis actual positions

Example

Syntax

Meaning of the addresses

Explanation

Example