Modeling of Data Point Types

In the previous sections we took a look at existing data points that are available from the start of any project. However, usually we want to designour own device-oriented data points in order to cope with the specific project or industry requirements.

We will design some data point types, since we need a couple of data points for our example. A [rightMouseClick] on the empty white space in the data point tree displays the "Create data point type" option.

Figure 1. Create a new data point Type "GS_PUMP2" in the Dp Type Editor of the Module PARA

This will open the data point editor, where the required data structure can be easily designed:

  1. Replace the selected type name "NewDpType" with "GS_PUMP2".

  2. Open the context menu with a [rightMouseClick] and select "Insert node".

  3. Assign the name "state" to the node.

  4. Repeat the step "Insert node" directly at the node "state" and to insert the sub node "on".

  5. Assign the data point type "bool"to the node "on" with [rightMouseClick] --> Element type.

Structure elements are indicated by a directory symbol and external data points have an icon that displays the specific data type (bool, int, float, ...). Therefore, the symbol indicating a binary variable is displayed for the element "on" in the following figure.

Figure 2. Create a structured data point Type in the DP Type Editor of the Module PARA

Repeat the steps 2 to 5 in order to create a complete data point type as shown in the following figure. Note that the elements .state.speed and .cmd.speed are of Datatype "float". Naturally you can rename or delete nodes etc.

Figure 3. Complete data point type GS_PUMP2 in the DP Type Editor

When the data point type GS_PUMP2 is complete, select OK in the dp type editor and confirm through Yes.