Cnc programming – Lenze ETC Motion Control User Manual

Page 141

Advertising
background image

CNC programming

G functions

G functions individual descriptions

3

3.2

3.2.2

l

141

EDSTCXN EN 2.0

3.2.2.54

G134 Non−modal waiting function, parameter field comparison

Wait for a comparative operation to become true.

G134 X Z K

X

First operand

Z

Second operand

K

Comparative operation

G134 carries out a comparison K between the two operands X and Z. Both
constants and indexes of parameter fields are allowed as operands.

In contrast to G130, no program branching takes place in the case of a
positive comparison result. The G134 only blocks the program from being
executed further in current channel until the comparison result becomes
true.

The comparative operations possible under K are:

0 : X = Z

X equals Z

1 : X > Z

X greater than Z

2 : X < Z

X smaller than Z

3 : X

Z

X greater than or equal to Z

4 : X

Z

X smaller than or equal to Z

5 : X

Z

X not equal to Z

6: (X

2

Z

) = 0

Bit Z deleted in X

7: (X

2

Z

)

0

Bit Z set in X

The function is not time synchronized and therefore it is also suitable for the
fast responses in the range of maximum one interpolation cycle. No modal
comparisons which were programmed previously with G130 or G150 are
exported.

G134 X=P16 K3
Z50

Waits for P16

to become 50.

...

Blocks, which should be executed afterwards

Syntax

Meaning of the addresses

Explanation

Example

Advertising