Configuration - Insights Hub (Cloud) Part 2
In order to work with uploaded values, create a variable for each data point that you want to link with an aspect. Here two aspects are created for the data sources Pump1 and Valve1. The variable types for the data points are added to an aspect.
For more information on Insights Hub, see the Insights Hub help https://documentation.Insights Hub.io/#/kiosk.
- Open the Asset Manager on the left side. Select Aspect types from the menu on the left side.
- Click on "+ Create aspect" in order to create a new aspect Aspect_datasource_pump1.
CAUTION: The VariableType and the Unit must be same as in the linked WinCC OA data point - see figure above
- Create a variable for each Insights Hub data point that you want to link with an aspect and then with WinCC OA data points. After saving a variable, click again on the Edit aspect on the top right corner of the window in order to add a second variable. Here two variables Pump1_electrical_current and Pump1_electrical_voltage are created.
- Save this aspect.
- Then create a second aspect for Valve1 datasource and two boolean variables for Valve1_closed and Valve1_open:
- Select Asset Types from the menu on the left side. Click on +Create type in order to create a new type for the datasource Pump1 and enter the name Type_for_Datasource_Pump1 for the type.
- Select all aspects that an asset of this type should have from the Aspects combo box and add the variable types. Save this type.
- Select the Assets from the menu on the left side. Click on + Create asset in order to create a new asset Pump1 that contains the Insights Hub data points that are connected to WinCC OA .
- Select the created type and fill in the information for the asset:
- Select the asset Connection_Asset created in the step 2 of the Insights Hub Cloud configuration from the Asset Manager -> Assets and click on the arrow button with MindConnect Lib" (Plugin Name), "Insights Hub" (Operator).
- Select the Data mappings tab. Link the existing data points with the counterparts of the asset Pump1 that was created in the step 8 of the Insights Hub (Cloud) part 2 configuration. Select Link variable.
Select the asset Pump1 by clicking on the Change and then <Up and by selecting the asset. Then select the variable by enabling the Link variable option.