Siemens SINUMERIK 840D sl Programming Manual page 606

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

Advertisement

Additional functions
16.9 Process DataShare - output to an external device/file (EXTOPEN, WRITE, EXTCLOSE)
Output to an external device/file is realized in three steps:
1. Open the external device/file
2. Writing data
3. Close the external device/file
Note
More than one external device/file can also be assigned in a part program/channel.
Availability
This function is available:
● Only in part programs (not in synchronized actions).
● Parallel in all machining channels of the NCK for all available (configured) output devices.
For each output device, when opening the device, it can be specified as to whether the
device is to be exclusively used by just one channel or whether several channels can output
to the device ("shared" mode).
Syntax
DEF INT <error>
DEF STRING[<n>] <output>
...
EXTOPEN(<error>,"<ExtG>",<machining mode>,<usage mode>,
<write mode>)
...
<output>="output data"
WRITE(<error>,"<ExtG>",<output>)
...
EXTCLOSE(<error>,"<ExtG>")
606
The external device/file is opened for the channel for writing using the
The output date can be processed using the string functions of the NC language ("String
operations (Page 78)"), e.g.
The external device/file assigned in the channel is released again using the
command, when the end of the program is reached (
. The
command is used for writing.
SPRINT
WRITE
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
EXTOPEN
) or for a channel reset.
M30
command.
EXTCLOSE
Job Planning

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents