Siemens Sinumerik 840D sl Programming Manual page 715

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

Advertisement

Program code
...
N200
N210
N220
N230
N240
...
Further information
Effect on continuous path mode
The EXTOPEN, WRITE and EXTCLOSE commands trigger a preprocessing stop and therefore
interrupt the continuous path mode.
Block-search behavior
During "block search with calculation" with WRITE, no output is made. However, the EXTOPEN
and EXTCLOSEcommands are collected and set active with NC start after the search target
was reached. The following WRITE commands therefore find the same environment as for the
normal program processing.
For a search with calculation in the "Program test" mode (SERUPRO), EXTOPEN, WRITE and
EXTCLOSE are executed just the same as for normal program processing.
Reset behavior
With part program end and channel reset, all of the external devices/files that have been
opened in this channel are closed.
Available external devices
The following can be used as external devices/files:
Files on the local CompactFlash Card
Local CompactFlash Card means the memory that is referred to from the HMI using the
symbolic identifier LOCAL_DRIVE. For SINUMERIK 840D sl this is the local drive, for
SINUMERIK 828D, the user CompactFlash Card.
Note
For SINUMERIK 840D sl, the option "Additional xxx MB HMI user memory on CF card of
the NCU" is required for output to the LOCAL_DRIVE device. For SINUMERIK 828D a
user CompactFlash Card must be available and an option is not required here.
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
14.10 Output to an external device/file (EXTOPEN, WRITE, EXTCLOSE)
PHASE=4
IF EXTDEVICE
OUTPUT=SPRINT("end of phase: %D",PHASE)
WRITE(RESULT,"LOCAL_DRIVE/my_file.txt",OUTPUT)
ENDIF
Additional functions
715

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents