Model Template Description
The model template provides sections to help you build the Web HMI Runtime model structure.
Model Concepts
Review this illustration before creating your Runtime model.
Concept Terminology Differences
Model Template | Model Editor |
---|---|
Asset type | Object type |
Asset | Object |
Property | Data variable |
Hierarchy
You must build an asset hierarchy to specify the hierarchical relationships of assets in Web HMI. Operators navigate through this hierarchy to select the equipment context for a given layout at Runtime.
Property | Description |
---|---|
HierarchyFlagsHeader | Header column with the keyword HierarchyFlags . |
HierarchyFlags | Specifies whether to update or overwrite the asset hierarchy when importing the model file in to Web HMI. |
OverwriteHierarchy |
|
OverwriteAssetChildren |
|
Asset Types
Asset types define the structure of the equipment pieces within your model. For each asset type, such as a StorageTank, you set up all the property names, such as TankLevel, that any asset instance associated with this type can reuse in its own definition.
In Web HMI, you bind mimics to asset types for use by their asset instances.
Property | Description |
---|---|
AssetTypeHeader | Header column with the keyword AssetType . |
Asset Type Name | Name of the asset type. |
Description | Description of the asset type. |
Property Groups of the Asset Type | Collection of properties associated with the asset type. Assets assigned to this asset type inherit these properties. An asset type can contain more than one property group. |
Property Groups
Property groups assemble a set of properties for a piece of equipment. This enables you to create a common set of properties to reuse across multiple asset types.
Property | Description |
---|---|
PropertyGroupHeader | Header column with the keyword PropertyGroup . |
Property Group Name | Name of the property group. |
Description | Description of the property group. |
Assets
Assets are the instances of equipment, such as StorageTank1, in the model. When you assign an asset to an asset type, it inherits all the properties created for that asset type.
You must arrange assets in to hierarchical relationships in the Hierarchy section to appear in the Runtime context selection. Each asset has a parent in the hierarchy.
Property | Description |
---|---|
AssetHeader | Header column with the keyword Asset . |
Asset Name | Name of the asset instance. |
Description | Description of the asset instance. |
Asset Type Name | Name of its associated asset type. |
Parent Asset Name | Name of the parent asset. One asset in the list must have a parent asset set to \ (root). |
Parent Property Name | Ties this asset instance to an asset property definition in the Parent Asset Name type definition. For example, the TPumpStation type contains the InletTank and OutletTank as properties of type Asset . When you create instances of the TPumpStation (for example, PumpStation01, PumpStation02), you must also create instances for InletTank (for example, InletTank01, InletTank02) and OutletTank (for example, OutletTank01, OutletTank02) and point them to the InletTank and OutletTank Properties of the TPumpstation type using this Parent Property Name column, as shown in the following example. |
Property Definitions
Property definitions describe the actual pieces of data that come from a HMI/SCADA system or another data source. Among other things, it defines how to use a property in Web HMI views. For example, you can define a property to appear as a trend line on Trend Card views or as a Control Point on Mimic Card views that an operator can modify. Properties comprise a property group.
Property | Description |
---|---|
PropertyDefinitionHeader | Header column with the keyword PropertyDefinition . |
Property Group Name | Property group name in which to associate this property. |
Property Name | Name of the property. |
Property Type | Property type: Boolean , number , string , or asset .Property definitions of an asset type can be contained types or child asset references. You must define the child asset type in the |
AssetType |
When the property type is |
Trendable |
Property displays as a trend line on Trend Card views. |
ControlGroupId | Unique ID of the control group, allowing you to group properties that can be modified. Any properties with a control group ID are grouped together in an auto-generated Control Card. If the control group has an associated Control Point, an operator can change its value on the Control View at runtime. |
ControlPoint | Setpoint for the current HMI/SCADA property value. Both the current property and its control point must be in the same control group. A property can be controlled by itself or by another property in the asset type. To read and write to the same property, specify it as its own control point. A property without a control point is read-only. |
HmiDataType | Data type from the underlying SCADA system. This is not required for this release. |
Server Details
A server alias offers an indirect route between the model's data sources and the model itself, making it easier to transfer model data sources between servers. By using an alias to reference your data source (such as an iFIX node and OPC UA server) and associating it with your tag sources, you can change the node for a set of tag sources by changing the server name.
Property | Description |
---|---|
ServerDetailsHeader | Header column with the keyword ServerDetails . |
Server Alias | Name of the server alias. |
Server Name | Name of the server for the data source. |
Server Type | Type of server from which data originates. |
Tag Sources
A tag source defines where to retrieve asset property data, including real-time and historical data sources.
Property | Description |
---|---|
TagSourceHeader | Header column with the keyword TagSource . |
Parent Asset Name | Name of the parent asset with a property with the tag source. |
Property Name | Name of the property associated with the tag source. |
Realtime Server Alias | Name of the real-time server alias to use with this tag source. |
Realtime Data Source Name | HMI/SCADA data source tag ID that feeds data to this model property. |
Historical Server Alias | (Optional) Name of the server alias to retrieve historical data for Trend Card views and the last known current value for Mimic Card views. |
Historical Data Source Name | (Optional) Name of the historical tag ID to retrieve historical data for Trend Card views and the last known current value for Mimic Card views. |
NameSpace Table
This table pertains to CIMPLICITY only. Populate this table using the project server and namespace information that was exported to a CSV file using the Export to Web HMI function on the CIMPLICITY Project menu.
Here is a sample NameSpace table:
#NameSpaceTableHeader | ServerAlias | NameSpaceIndex | NameSpaceUri |
---|---|---|---|
NameSpaceTable | <projectname> | 2 | http://ge.com/ua/CIMPLICITY |
NameSpaceTable | <projectname> | 3 | http://ge.com/ua/CIMPLICITY/<projectname> |
NameSpaceTable | <projectname> | 4 | http://ge.com/ua/CIMPLICITY/<projectname>/project |