-

<onpgrogram> Element

This element defines the program instance which triggers the creation of the HMI symbol instance or symbol group on the HMI page or the folder under the 'Application' node in the PLANT.

Parent elements: <group>, <symbol>, <folder>

Attributes:

AttributeDescriptionType / Required
idUnique identifier that defines the program instance that triggers the creation of the HMI symbol instance or symbol group defined by the parent <symbol> or <group> element or the folder defined by the parent <folder> element.Type: string

Required: yes
nameDefines the name of the program instance that triggers the creation of the symbol instance/symbol group/folder.Type: string

Required: no
uniqueSpecifies whether the symbol instance/symbol group/folder should be created once or as many times the program instance exists.

If set to "true", the symbol instance/symbol group/folder is created once, even if the triggering program instance exists two or more times in the project.
Type: boolean true or false (default)

Required: no
levelSpecifies for which program instance node level as represented in the PLANT the creation is triggered. You can use this attribute to limit the creation to a specific node level.

Further Info
For details on the node level and how to use the attribute, see the description of the <onfunctionblock> element.

Type: string

Required: no