Siemens SINUMERIK 840D sl Programming Manual page 884

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.15 Axis functions
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" can be programmed in the program section of any NC program.
Programming must be realized in a dedicated block:
...
WAITENC
...
Example
"WAITENC" is for example used in an event-controlled user program, .../_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 "WAITENC"; in order to then be able to calculate a frame, which aligns the Work
in the tool direction.
Program code
...
IF $P_PROG_EVENT == 4
ENDIF
...
The tool can then be retracted in JOG mode by means of a retraction movement towards the
tool axis.
884
IF $P_TRAFO <> 0
WAITENC
TOROTZ
ENDIF
M17
Comment
; Run-up.
; Transformation has been selected.
; Wait for valid axis positions of the orientation
axes.
; Rotate the Z axis of the WCS towards the tool axis.
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents