Overview
Data Templates play a crucial role in FactoryStudio projects by facilitating the creation of tags with predefined attributes and organizing them into hierarchical structures that represent assets or information models. Utilizing Data Templates enables users to access tag attributes effortlessly and manage their data with increased efficiency. To employ a Data Template in a project, users need to create a new tag and select the appropriate template type. The tag will then inherit the defined attributes from the template, allowing users to access and manipulate these attributes as required throughout the project.This document serves as a comprehensive guide for understanding, configuring, and working with Data Templates in FactoryStudio projects. It aims to streamline data management, enhance system efficiency, and simplify the process of accessing tag attributes. The document will cover the following key topics: Overview, Understanding Using Data Templates, Data Templates Configuration, and Working Using Data Templates.enable users to extend the platform’s predefined data types by defining custom types with properties tailored to their business needs. This feature offers flexibility for modeling solution-specific data structures that standard types can’t represent, such as machine data, equipment status, and other asset attributes within an industrial plant.
On this page:
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Defining Data Templates
To define
Understanding Using Data Templates
Data Templates are essential for creating tags with defined attributes and organizing them into hierarchical structures representing assets or information models in FactoryStudio projects. Utilizing Data Templates allows users to access tag attributes and manage their data more efficiently. This section will provide an in-depth understanding of the importance and benefits of using Data Templates in your projects.
Data Templates Configuration
Templates are the foundation for creating new tag types based on data structures, utilizing existing built-in types and previously defined templates. The process of creating a tag template is straightforward and detailed in the "Creating Templates" section.
Creating Templates
Templates allow you to create new tag types based on a data structure using existing built-in types and previously defined Templates.
To create a tag template:
Go to Unified Namespace → Data Templates.
Click New.
The "Create New Tag Template" dialog will open.
In the "New Name" field, enter a name for the tag type. In the Description, enter a description of the
tagtemplate. Click OK. The Templates tab displays with the name of the new template at the top of the tab.
Click the insertion row to
To create a new attribute for this
tag template.Enter or select information, as neededData Template, type into the first row of the table next to it and press enter after adding all the information. The properties here are the same ones for Tags. See Creating and Editing Tags
above.for more information.
To delete a template, select it from the User Custom Type drop-down list, then click Delete Item
.Assets Templates
Asset Templates are a vital aspect of FactoryStudio, allowing users to create reusable data structures and logically organize tags into hierarchical representations of equipment or information models. This organization helps to enhance data management and improve overall system efficiency.
Building Custom Data Types
Custom Data Types, or User-Defined Types (UDTs), can be created to represent complex data structures in the Unified Namespace. These UDTs can include multiple tag attributes, allowing users to model various properties of an asset, such as its current state, operational parameters, and historical data. Building custom data types ensures a more accurate and comprehensive representation of assets and their associated tag attributes.
Using
Data TemplatesCreating and EditingData Templates
FactoryStudio allows users to create, edit, or import Data Templates for use in their projects. When creating a template, it is crucial to define relevant tag attributes, such as data types, initial values, and any required metadata. Once a template is created, users can edit it to update tag attributes or modify the template structure as needed.
FactoryStudio gives users the ability to create, edit, or import Data Templates. In creating a template, it is imperative to define the relevant tag attributes such as data types, initial values, and any necessary metadata. These attributes form the foundation of your tags and shape their behavior in the system. The steps to create a Data Template are:
- Navigate to Unified Namespace → Data Templates.
- Click on 'New'. This will open the 'Create New Tag Template' dialog box.
- In the 'New Name' field, input a name for your tag type. Provide a concise and descriptive tag in the 'Description' field.
- After clicking 'OK', your new template will appear at the top of the 'Templates' tab.
- You can now add attributes to your tag template by clicking on the insertion row.
To edit a template, select the template you wish to modify from the User Custom Type dropdown list. You can then adjust the tag attributes as required. Remember to save any changes made to prevent loss of data.
Using Data Templates in Projects
Data Templates are valuable for creating tags with defined attributes and organizing them into hierarchical structures representing assets or information models in FactoryStudio projects. To use a Data Template in a project, follow the steps outlined in the "Using Data Templates in Projects" section. The tag will inherit the defined attributes from the template, allowing users to access and manipulate these attributes as needed throughout the project.
for custom Tag Types
Data templates streamline the creation of tags by supplying predetermined attributes. By employing
Data Templates simplify the creation of tags by providing pre-defined attributes. By utilizingthese templates, users can efficiently manage data by
maintainingupholding a logical and hierarchical structure representing assets or
informationinformational models.
To
employimplement a Data Template in your project:
Create a new tag inNavigate to the '
Tags' tab and click on 'New Item' to create a new tag.
In the 'Type' dropdown
row, you can select the desired template. If a tag has already been created, select the desired template from the 'Type' column.
The tag will inherit the attributes from the
chosen template.
In this section
...:
Page Tree | ||||
---|---|---|---|---|
|