Wait For Valid Axis Position (Waitenc) - Siemens SINUMERIK 840D sl Programming Manual

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Additional functions

16.4 Wait for valid axis position (WAITENC)

16.4
Wait for valid axis position (WAITENC)
Function
Using the language command
restored axis positions are available for the axes configured with
MD34800 $MA_WAIT_ENC_VALID = 1.
An interruption can take place in the wait state, e.g. by starting an ASUB or by changing the
operating mode to JOG. When the program is continued, where relevant, the wait state is
resumed.
Note
In the user interface, the wait state is displayed using the hold state "Wait for measuring
system".
Syntax
WAITENC
Programming must be realized in a dedicated block:
...
WAITENC
...
Example
WAITENC
.../_N_CMA_DIR/_N_PROG_EVENT_SPF, as shown in the following application example.
Application example: Tool withdrawal after POWER OFF with orientation transformation
Machining with tool orientation was interrupted due to a power failure.
When powering up again, the event-controlled user program
.../_N_CMA_DIR/_N_PROG_EVENT_SPF is called.
In the event-controlled user program, the system waits for synchronized or restored axis
positions using
in the tool direction.
Program code
...
IF $P_PROG_EVENT == 4
IF $P_TRAFO <> 0
WAITENC
TOROTZ
592
can be programmed in the program section of any NC program.
is e.g. used in an event-controlled user program,
; in order to then be able to calculate a frame, which aligns the Work
WAITENC
Comment
; Power-up
; Transformation has been selected.
; Wait for valid axis positions of the orientation axes.
; Rotate the Z axis of the Work towards the tool axis.
, the NC program waits until the synchronized or
WAITENC
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Job Planning

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents