Siemens SINUMERIK 840D sl Operating Manual page 259

Integrate create myconfig - diff, expert, topo
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Figure 4-70
More information is provided in section: "Additional useful notes"
Execute - runtime system
A package can be deployed for various runtime systems.
Two scripts must be written to deploy a package for Linux and for Windows that makes special
changes via "Execute" in the "Archive" area. Depending on the runtime system, Windows or
Linux, the corresponding node is executed automatically and the other skipped during
execution.
All folders and files are unzipped to a temporary folder; this folder is then used as the work
directory and subsequently deleted.
Note
Temporary folder
The temporary folder is not the package storage, i.e. a "./" used for "Execution of" does not
point next to the package, but to the temporary folder.
The script outputs are transferred to the logbook. In this case, the error messages (stderr) of
the programs called in the script are entered in
The return value of the script is evaluated as terminating error code, i.e. a return code not
equal to "0" results in an error message. The user must decide whether the package should
be canceled or continued.
Example
All files, except for "OEM001.SPF", should be deleted from the CMA.DIR directory of the NC.
As there is no special delete instruction for this purpose, a script is generated which saves the
file to be obtained, subsequently deletes the folder and then returns the file.
The particular script file is copied to the component and entered as a command during
execution.
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE
Logbook entry - return value "1"
Windows
Md .\Save
Move %UP_ARC%\NC\CMA.DIR\OEM001.SPF .\Save\
Del /Q %UP_ARC%\NC\CMA.DIR\*.*
Move .\Save\OEM001.SPF %UP_ARC%\NC\CMA.DIR\
Create MyConfig - Expert
italics .
4.5 Component editor
259

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents