Version - Siemens SINUMERIK 840D sl Operating Manual

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

Advertisement

Create MyConfig - Expert
4.6 Script language
Example of package variable UP.DH_exists
Package variable "UP.DH_exists" has the value "true" if data management "F:\DH" was
found on the PCU.
Up.DH_exists = EXISTS(PCU, "F:\DH")
4.6.10.11

Version

Version(<area>, "app")
The version of an installed application can be determined via the Version() function.
The control area from which the version is to be determined is specified via the argument
("<area>"). The possible values for ("<area>") are NCU or PCU.
Observe that only those versions which have also been activated in the project folder when
the package was configured can be queried in the areas.
For the package area PCU, all of the SIEMENS applications installed on the PCU which have
been entered in the registry of the PCU under the key HKEY_LOCAL_MACHINE\SOFTWARE
\Siemens\AUTSW are determined.
For the package area NCU, the versions are determined from the /siemens/
versions.xml file.
The argument ("<app>") specifies the application having the version that is to be queried.
If the version of the specified application ("<app>") cannot be determined, the function
returns the value null. In this way, it is possible to react when a version cannot be found.
For the name of the application ("<app>"), an abbreviated, unambiguous specification is
sufficient, e.g.: "SINUMERIK CNC" instead of "SINUMERIK CNC-SW 31-5".
Note
All applications that are found are displayed on the Version Display dialog.
Example of query as to whether a version is larger/smaller
Query whether the version of the NCK is less than or equal to 83.03:
Version(NCU, "NCK") <= 83.03
Version of HMI Advanced greater than or equal to 6 and ShopMill is installed:
Version(PCU, "HMI-Advanced") >= 6 && Version(PCU, "ShopMill") != null
For the entry SINUMERIK Operate: 04.07.02.00 from Version.xml
Version of HMI Advanced greater than or equal to 4.7 and ShopMill is installed:
Version(PCU, "SINUMERIK Operate") >= 04.07 && Version(PCU,
"ShopMill") != null
For instance, the queries can be used in control structures (If, While).
270
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 11/2016, A5E36537479B-AD

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents