Siemens A31003-51730-U103-7619 User Manual

Page of 336
BHB_DCO_05.fm
07/2010
OScAR-Pro Customized Operator, User Manual
5-89
   
  
  
For internal use only
The Elements of a DCO-Script
Functions
5.10
Functions
The node "Functions" serves to group a list of Instructions (see Section 5.11, "Instructions") 
that shall be carried out during the course of the DCO-Script.
Use "Condition" and "Messagebox" to specify if the Instructions of the Function are executed.
Only Frames and Buttons own and/or use Functions.
For Buttons, the Functions are invoked in the order in which they are numbered under the col-
umn "Index".
To change the order of the Functions (for Frames and Buttons), go to the menu bar of the Struc-
ture window and click "Edit
Move up" and/or "Edit
Move down".
5.10.1
The attributes and child nodes of Functions 
Attributes of Functions
Functions have the following attributes:
Attribute
Description
Name
Edit field to enter a recognizable and unique name for the 
Functions. 
Please bear in mind that the name must be unique among the 
other Functions of the Frame or Button.
Condition
Edit field to enter a logical algorithm that is verified when the 
Function is invoked. The Instructions of the Function are only 
performed if this value check meets with the result "TRUE" or 
"1".
Table 5-68
Attributes of Functions