Extcall; Datetime - Siemens SINUMERIK 840D sl Operating Manual

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
The method of operation of the procedure for dialog, step and action scripts is also described
in the Dialog scripts (Page 145), Step scripts (Page 231) and Action scripts (Page 253) sections.
4.6.12.4

ExtCall

ExtCall("<path>")
Calling an external manipulation task
The external manipulation task is included during the package runtime execution.
For this task, no verification run is performed in Expert and thus no syntax check.
The file must be stored in ANSI code. The path can be specified as an absolute path or relative
path.
A relative path refers to the folder from which the package is executed.
An absolute path must correspond to the conventions of the runtime system.
4.6.12.5

DateTime

DateTime("<dt>")
The DateTime() function permits the determination and use of the current date and the
current time.
The <dt> argument informs the function about the format in which the date and time is
provided. For examples of this, see the following.
For a call of the function without an argument, i.e. with an empty string "" for <dt>, the date
and time are formatted as per ISO 8601 "yyyy-MM-ddThh:mm:ss".
Also observe uppercase/lowercase within the <dt> argument.
Example
To generate a unique name for the logbook, you can proceed as follows, for example:
Up.dt = DateTime("yyyy-MM-dd.hh-mm-ss")
Up.$Dialog.PackageEnd.LogName = "$(Up.$Pack.DeployName)_$(Up.dt)"
The file extension "htm" or "exe" is automatically generated by the package, depending on the
configured password protection.
Note
You can also assign other files (archive...) with specifically generated names in this fashion.
328
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