Package Execution - 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

The return values from Expert can be determined by querying/interrogating variables
%ERRORLEVEL%, see the following example.
Table 4-40
Value
0
1
2
3
Example
Assumption: Create MyConfig is installed in the directory "C:\Program Files\SIEMENS
\Create MyConfig 4.7" and in the path "C:\Packages\" a package "Pack_1.upz" is available.
@echo off
PATH=%PATH%;"C:\Program Files\SIEMENS\Create MyConfig 4.7"
Expert.exe /silent /deploy /config ".\Lin 01.upcfg" /Log C:\LogM1.xml C:
\Packages\Pack_1.upz
if %ERRORLEVEL% EQU 3 (
)
if %ERRORLEVEL% EQU 2 (
)
if %ERRORLEVEL% EQU 1 (
)
if %ERRORLEVEL% EQU 0 (
)
4.12.2

Package execution

Call
The command subsequently shown and all switches and arguments that are used must be
written in one line to a batch file or a command line interface.
SINUMERIK Integrate Create MyConfig - Diff, Expert, Topo
Operating Manual, 11/2016, A5E36537479B-AD
Expert return values
Description
No faults or alarms occurred when checking/deploying the package.
Alarms, but no faults occurred when checking/deploying the package.
Faults (and possibly alarms) occurred when checking/deploying the package.
Command line call error.
@echo "Error when calling Expert.exe!"
pause
@echo "Error during deployment!"
pause
@echo "Alarms during deployment!"
pause
@echo "Deployment executed without error!"
pause
Create MyConfig - Expert
4.12 Command line call
337

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents