Output To An External Device/File (Extopen, Write, Extclose) - Siemens Sinumerik 840D sl Programming Manual

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

Advertisement

Additional functions

14.10 Output to an external device/file (EXTOPEN, WRITE, EXTCLOSE)

14.10
Output to an external device/file (EXTOPEN, WRITE, EXTCLOSE)
Function
Using this function, it is possible to write data from a part program to an external device/an
external file; for instance, to log production data or to control additional equipment at a control
system.
Output to an external device/file is realized in three steps:
1. Open the external device/file
The external device/file is opened for the channel for writing using the EXTOPEN
command.
2. Writing data
The output date can be processed using the string functions of the NC language ("String
operations [Page 75]"), e.g. SPRINT. The WRITE command is used for writing.
3. Close the external device/file
The external device/file assigned in the channel is released again using the EXTCLOSE
command, when the end of the program is reached (M30) or for a channel reset.
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).
710
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents