Siemens SINUMERIK 840D sl Operating Manual page 260

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

Advertisement

Create MyConfig - Expert
4.5 Component editor
Additional useful notes
Use "System variables for the environment" in a script file for Windows (cmd) or Linux (sh),
because they are known only to the script interpreter.
If, however, "System variables for the environment" are used in "Execution of" the component,
prefix a "cmd" or a "sh" to the command for Linux or Windows, respectively.
The "System variables for the environment" can be used in all CMC scripts.
Example:
If !FileExist(RTS,"%UP_PACK%/WCD/file.txt")
As alternative to UP_PACK, the system variable Up.$Pack.Dir can also be used for
"Execution of" and in all CMC scripts.
Example:
md "$(Up.$Pack.Dir)/WCD"If !FileExist(RTS,"$(Up.$Pack.Dir)/WCD/
file.txt")
System variables for the environment
UP_PACK
UP_ARC
UP_CFID
UP_SHARE
UP_PCU_ROOT
UP_ARC_ROOT
General
PCU (Windows)
260
Linux
mkdir ./Save
mv $UP_ARC/NC/CMA.DIR/OEM001.SPF ./Save/
rm -r $UP_ARC/NC/CMA.DIR/*
mv ./Save/OEM001.SPF $UP_ARC/NC/CMA.DIR/
The location from where the package was started
Temporary storage location of the archive tree with subfolders NC,
PLC, CP, and DRV
ID of the CompactFlash card
Available only for packages with the "NCU/PPU" data area.
Folder for exchange release between "PCU" and "NCU/PPU"
Available only for Windows packages with the "NCU/PPU" data
area.
This "System variable for the environment" points to the shared
folder under Windows and to the mount point under Linux.
Computer name of the"PCU"
Available only for packages with the "PCU" data area.
Folder of the archives to be processed
Available only for packages that use only the "Archive" data area.
If no script-internal error handling is performed, a script should preferably
always be exited with exit "0".
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 12/2017, A5E36537479B-AE

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents