2 h functions, 3 m functions, H functions – Lenze ETC Motion Control User Manual

Page 175: M functions, Cnc programming

Advertising
background image

CNC programming

Block extensions

H functions

3

3.4

3.4.2

l

175

EDSTCXN EN 2.0

3.4.2

H functions

H functions are provided for changing technology parameters. The number
programmed for H is transferred to the PLC and must be evaluated there.

The H function is always evaluated as the first function in the block.
Generally, H functions are generally time synchronized, i.e. the following
function is only interpreted if the transfer by the PLC was acknowledged.

The H functions are transmitted to the PLC by means of handshake with
strobe and acknowledgement. The NC signalizes a new H function to the PLC
with the negative edge of the strobe.

Strobe

Quittung

max 1s

max 10s

nächster

Satz

Strobe

Quittung

max 1s

max 10s

nächster

Satz

0

1

2

< 1 s

< 10 s

ETCN055

0 Strobe

1 Acknowledgment

2 Next block

If the transmission of the technology parameters lasts longer than 10
seconds, the PLC must also remove the read enable, otherwise the control
will report the error message "Time Out bei der H−Funktionsübergabe an die
SPS" (Time Out during the H function transfer to the PLC).

3.4.3

M functions

M functions are transmitted to the PLC. These must be evaluated there and
the desired function triggered. A distinction is made between
"synchronized" and "non−synchronized" M functions.

The M functions with the numbers 0 ... 499 are synchronized. If these are
transmitted to the PLC, the processing of the NC program is interrupted until
the PLC acknowledgement has arrived and the read enable has been set.

In the case of non−synchronized M functions (>= 500), the next block of the
NC program is executed immediately after the output without waiting for
an acknowledgement from the PLC. It must be noted that the speed is also
reduced between two successive traverse blocks when exact positioning is
deactivated if several M functions are programmed in succession without a
traverse movement.

The following M functions are also evaluated in the NC computer:

M30: Program end

M14:Switches from the summation of the path length to P551 (profile)

M15, M16, M21: Switches from the summation of the path length to P551
(empty run)

M48: Speed overlap enabled (override on)

Advertising