Overview

Categories allow to add custom labels and metadata information to the configuration objects in your solution. 

This enriched set of information is useful during the configuration of large solutions, allowing to Group and Sort elements during the Design phase. It  can also be used when the application is running, to run automated scripts, filter or present advanced User Interfaces, verifying the categories attributed to Tags, PLC's Nodes, or other configuration elements.

On this page:


 

Understanding Categories

Categories are powerful organizational features that function as metadata labels for data items and application objects. They organize solutions by grouping related items, facilitating efficient data management, especially in large systems.

Using categories, is a two-step process. First, in this user interface, you create the category items. A Category Item is a label, or can understand it as a parameters,  key, or simply a category name.

For instance, in an energy grid management solution, you could have categories such as "Generation", "Transmission", and "Distribution". In a factory you can have categories like Sensor, Output, Conveyor, Robots.

Once you have your category names, you can apply those labels to relevant tags or or configuration objects (devices, displays, alarms, queries), which can then be used as a filter or sorting parameter. 

This ability to view data selectively enhances solution manageability during the configuration process. For advanced solutions, that metadata information is also accessible though scripts, allows the creation of custom logic, or operation displays, based on that custom classification. 

In summary, to use categories:

Step 1: Define the names of categories items in this user interaface

Step 2: Go To UnifiedNamespace Tags, or Displays List, or Device Nodes, or any configuration object you want to apply the label, make the Category column visible (right-click in the column names), and apply the categories to the elements you want. 



Working with Categories

Create a Category Item

  1. Go to the Insertion Row (first row of the table) in the Solution Categories table.
  2. Type a text in the NAME column, optionally add Description.
  3. Press ENTER.

Apply Categories to Configuration elements

  1. Navigate to the configuration table of the desired element.
  2. Right click on the titles of the Table, to make the Category column visible 
  3. Select the Category items that applies to that element.


Editing Multiple Rows

If you select multiple rows, using shift-click or ctrl-click, you can open the Context Menu (with a mouse right-click) and select the Edit Combined Rows options. 

That enables you to apply a category to multiple configuration objects in one step.


Using Categories on Runtime

The object categories can also be accessed during runtime for filtering and other custom applications from Category.

A list of all the categories that are defined in the solution during runtime is available in the property 

@Info.CategoryItem

All the configuration objects that allow to receive a category classification, like Tags, Device.Nodes, and others, they have a Category property, like in the examples:

@Tag.Tag1.Category

@Device.Node.Node1.Category




In this section:

  • No labels