×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 59885461, Entry date: 10/13/2014
(4)
Rate

How can you start specific items in the Control Panel directly from the Runtime of a Comfort Panel?

  • Entry
  • Associated product(s)
Description For various applications it might be necessary to start a system function of the Comfort Panel during running operation. This can be done either directly in the Control Panel or in Runtime using the 'StartProgram' function. ...

Description
For various applications it might be necessary to start a system function of the Comfort Panel during running operation. This can be done either directly in the Control Panel or in Runtime using the "StartProgram" function.

More information about the "StartProgram" function is available in the TIA Portal information system.
"Visualizing processes > Working with system functions and Runtime scripting > Reference (Basic Panel, Panels, RT Advanced) > Function list > System functions (Basic Panel, Panels, RT Advanced) > StartProgram"

 


Fig. 01

In WinCC V12 onwards you can also start certain system functions via the "OpenControlPanelDialog" function.

Instructions
The "StartProgram" is executed by means of a button with the "Click" event. This function starts the parameterized system function (you close the system functions using the "X" button).
 

No. Procedure
1 In you project you assign the "StartProgram" function to a button.
 
Parameter Description
Program name Name and path of the program that is to be started.
Program parameter Parameters that are transferred to the program when started. (For example, a file that is to be used.)
Display Defines the type of display.
Wait for end of program Defines whether there is to be return to the project after the called program has ended.

The figure below shows an example of how the function parameters are to be entered in WinCC (TIA Portal).



Fig. 02
2 Assign the value "CTLPNL.exe" to the "Program name" function parameter.

For a Comfort Panel you use the the values from the list below for the program parameters.
 

Application Program parameter
Service & Commissioning respectively Backup/Restore backuprestore_apl.cpl,0
Certificates cplmain.cpl,7
Date/Time cplmain.cpl,6
Display display_apl.cpl
InputPanel sip_apl.cpl
Internet Options inetcpl.cpl
Keyboard cplmain.cpl,0
Mouse cplmain.cpl,4
Network and Dial-up Connections connpnl.cpl,0
Network ID cplmain.cpl,2
OP op_apl.cpl
Password cplmain.cpl,1
Printer printer_apl.cpl
PROFINET profinet_apl.cpl
Regional Settings intll.cpl
ScreenSaver screenscr_apl.cpl
System cplmain.cpl,3
Transfer transfer_apl.cpl
UPS ups_apl.cpl
Volume & Sounds cplmain.cpl,5
WinCC Internet Settings internetsettings_apl.cpl


Fig. 03

Note
Since this involves accessing the system level of the device, this button should be assigned a user authorization.

Additional Keywords
System settings


Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.