Siemens SINUMERIK 840D sl Programming Manual page 612

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)
Configuration
The external devices to be used are configured in the file /oem/sinumerik/nck/extdev.ini or
/user/sinumerik/nck/extdev.ini. If both files are available, then the entries in the user area
have priority. The file can be updated in the operating area COMMISSIONING under
SYSTEMDATEN/CF card.
Note
It is not necessary to configure in the extdev.ini file when using LOCAL_DRIVE and
CYC_DRIVE. The two devices are always available as soon as the corresponding option is
set or the user CompactFlash Card is available.
The external devices to be used are defined/listed in the section [ExternalDevices] of the
extdev.ini file. A serial device (/dev/v24) and up to nine files or directories (/dev/ext/1...9) can
be specified as device. The Linux notation is used when specifying devices. Lines, which
start with ";", are comments and are overread.
With the exception of /dev/v24, the devices can be declared as directory path - terminated
with an attached "/" – or as file path – i.e. with attached fully qualified path, ending with a
filename (without a terminating "/"). When used in a part program, a file name (path) must
also be specified for a device with directory path.
With the exception for /dev/v24, a device is defined using the three data separated by a
comma for "Server", "Path" and the optional "Write mode".
For the files or directories (this then applies to all files in the directory), it can be specified as
to whether the file should be overwritten after it has been opened ("O" = Overwrite) or
whether the outputs should be attached to the file ("A" = Append). The default value is "A". A
file/directory that does not exist is newly created when opening.
For the device V.24 interface, only the settings for baud rate, data bits, stop bits, parity,
protocol and possibly end are specified in this sequence.
For files that are generated/saved on the LOCAL_DRIVE, LOCAL_DRIVE_MAX_FILESIZE
data can be used to set a maximum file size in bytes - this is then valid as standard for all
files. The file size is checked when executing an
Optionally, the write mode ("O" = Overwrite, "A" = Append) can be defined using the
LOCAL_DRIVE_FILE_MODE data. The default value is "A".
Note
A copy template for the extdev.ini configuration file is available in directory
/siemens/sinumerik/nck.
Note
Changes to the extdev.ini file only become effective after an NCK restart/boot.
612
command in the Append mode.
EXTOPEN
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