Siemens A31003-51730-U103-7619 用户手册

下载
页码 336
BHB_DCO_05.fm
07/2010
OScAR-Pro Customized Operator, User Manual
5-17
   
  
  
For internal use only
The Elements of a DCO-Script
Variables
5.6
Variables
Just like Constants and Parameters, Variables are place holders based on the data types as 
described in the Section 5.2, "The DCO data types and their value ranges".
Variables can be used any number of times and at any place in a project. Their first and fore-
most purpose is the exchange of information between the different elements of a Frame or also 
between different Frames (global). 
Usually, the values of Variables change during the course of a DCO-Script in the OScAR-Pro-
TT Operator-Tool.  
When using the Variable in the subsequent course of the DCO-script, its name is output in be-
tween $ characters.
Example
You can, for example, create a Variable to memorize in a Frame which announcements were 
used by a subscriber for a broadcast. In a OScAR-Pro command template (see Section 5.8.7, 
"OScAR-Pro command templates"), the V
ariable could be used at the beginning of a broadcast 
so that the currently assigned value, namely the ID of the selected announcement, is trans-
ferred to the OScAR-Pro-TT Operator-Tool.
5.6.1
The attributes of Variables
Variables have the following attributes:
Attribute
Description
Name
Edit field to enter the name of a Variable. Make sure you select 
a name that is recognizable and unique in this list.
Type
Value
Editable combobox to enter the initial value of the Variable (in 
keeping with the pertinent Variable type).
Table 5-11
Attributes of Variables