Siemens Sinumerik 840D sl Programming Manual page 142

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

Advertisement

Flexible NC programming
1.18 Write file (WRITE)
Parameter 2: The name of the file in the passive file system in which the
<file name>:
specified block or specified data is to be added.
Type:
The following points should be noted when specifying the file name:
The specified file name must not contain any blank spaces or control
characters (characters with ASCII code ≤ 32), otherwise the WRITE
command will be canceled with error code 1 "Path not allowed".
The file name can be specified with path data and file identifier.
– Path data
– File identifier
The file name length can be up to 32 bytes, the path length up to 128
bytes.
Example:
"PROTFILE"
"_N_PROTFILE"
"_N_PROTFILE_MPF"
"/_N_MPF_DIR_/_N_PROTFILE_MPF/"
If the data are to be output to an external device/file, then the symbolic
<ExtG>:
identifiers for the external device/file to be opened must be specified
instead of the file name.
Type:
For further information, see "Output to an external device/file (EXTOPEN,
WRITE, EXTCLOSE) [Page 710]".
Note:
The identifier must be identical to the identifier specified in the EXTOPEN
command.
The block or data to be added to the specified file.
<block/
Type:
data>:
142
STRING
Path data must be absolute, i.e. start with "/".
If a path is not specified, the file is saved in the current directory (=
directory of selected program).
If the file name does not contain a domain identifier ("_N_"), it is
added accordingly.
If the fourth-last character of the file name is an underscore "_", the
next three characters will be interpreted as the file identifier. In
order to be able to use the same file name for all file commands,
e.g. via a STRING type variable, only the _SPF and _MPF file
identifiers may be used.
If there is no "_MPF" or "_SPF" identifier, the file name is
automatically completed with _MPF.
STRING
STRING
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