Siemens SINUMERIK 840D sl Operating Manual page 221

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

Advertisement

The return value of programs that were executed by the PCU handler is returned to the package
execution and logged in the logbook.
Example with return value 0
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 and the user must decide whether the package should
be canceled or continued.
Execute:
The entry in the logbook that results from this is:
Example with return value 1
Execute:
The entry in the logbook that results from this is:
See also the section below: "Additional useful notes"
Execute - runtime system
A package can be deployed for various runtime systems. In order to now also be able to deploy
a package for Linux and for Windows that makes special changes via "Execute" in the "Archive"
area, two scripts must be written. Depending on the runtime system, Windows or Linux, the
corresponding node is automatically executed 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.
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 and the user must decide whether the package should
be canceled or continued.
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 11/2016, A5E36537479B-AD
cmd /c echo "Example using exit 0" && exit 0
Execute
[execute] of installations, scripts
Execute PcuWinXP
PcuWinXP
cmd /c echo "Example using exit 0" && exit 0 started
cmd /c echo "Example using exit 0" && exit 0 ended 0
cmd /c echo "Example using exit 1" && exit 1
Execute(1) [execute] of installations, scripts
Execute PcuWinXP
PcuWinXP
cmd /c echo "Example using exit 1" && exit 1 started
cmd /c echo "Example using exit 1" && exit 1 ended 1
Error
Error E1109: Execution failed! Command: cmd /c echo
"Example using exit 1" && exit 1 Return: 1
Create MyConfig - Expert
italics .
4.5 Component editor
221

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents