Siemens A31003-51730-U103-7619 ユーザーズマニュアル
The Elements of a DCO-Script
For internal use only
07/2010
5-182
OScAR-Pro Customized Operator, User Manual
BHB_DCO_05.fm
Instructions
5.11.85
The Instruction "StartProgram"
Description
Use this Function Instruction to trigger an external document or program and, if needed, wait
for it to be closed again.
for it to be closed again.
Provided you enter a document for "Executable program" whose file extension is properly reg-
istered under Windows, the system will start the corresponding program and open the docu-
ment.
istered under Windows, the system will start the corresponding program and open the docu-
ment.
Arguments
Note
If you want to write e-mails from within your DCO-Script, all you need to do is create a new But-
ton and assign a Function with this Function Instruction to it. Then simply enter "mailto:<E-Mail-
Address>" (e.g.:
ton and assign a Function with this Function Instruction to it. Then simply enter "mailto:<E-Mail-
Address>" (e.g.:
mailto:my.admin@my-company.de
) in the argument "Executable program".
In the same way you can also open a PDF-file by entering the full path of the file in the argument
"Executable program", e.g.:
"Executable program", e.g.:
\\my-server\iso9001\standardoperatingprocedure\alarms\alarmcalls.pdf
.
Arguments
Description
Executable program
Editable combobox to specify the document or program you
want to open or start, respectively.
Here you can:
want to open or start, respectively.
Here you can:
●
enter a string or
●
assign a Constant, Parameter or Variable of the data type
string.
string.
Parameter
Editable combobox to specify the prompting parameters.
Here you can:
Here you can:
●
enter a string or
●
assign a Constant, Parameter or Variable of the data type
string.
string.
Wait for completion
Combobox to define if the you want the system to wait for the
completion of the selected program.
Here you can:
completion of the selected program.
Here you can:
●
choose 0 if you do not want to wait for the program end,
●
choose 1 if you want to wait for the program end, or
●
assign a Constant, Parameter or Variable of the data type
bool.
bool.
Table 5-153
The arguments of the Instruction StartProgram