Model Explorer

This section describes the HIL SCADA Model Explorer.

Model Explorer shows all Model variables that can be found in the loaded Model (.cpd file). All variables inside Model Explorer are grouped by their names in appropriate groups (Figure 1).

Figure 1: Model Explorer



If you right-click on a variable inside Model Explorer, you will see these options (Figure 2):

Figure 2: Model Explorer Context Menu



  1. Copy Model variable name – copy the fully-qualified Model variable’s name to clipboard.
  2. Show Model variable info – open the Model Variable Info dialog (Figure 3) , which shows more info about the selected variable (attribute names and values, fully-qualified variable name, etc.)

    Figure 3: Model Variable Info



Each Model variable can be dragged and dropped to the Panel canvas. Once placed, a Widget Wizard dialog will be shown (Figure 4). Depending on the type of variables (mainly access rights type), Widget Wizard will show different Monitoring, Data Logging or Action widgets that can be used for reading or changing the chosen Model variable’s value.

Figure 4: Widget Wizzard



When you choose the widget, it is added to the SCADA Panel where you dropped the Model Variable. Monitoring widgets and Data Logging Widgets are preconfigured to read the Model variable based on the input signal. Action widgets are preconfigured to change the Model variable based on appropriate HIL API function (which is set automatically). If you wish to add a HIL API function (or modify generated one) to an Action widget manually, you can also do this by right-clicking on the widget, selecting the Properties dialog and adding it to the Macro or Handler code ( located in Basic settings or Advanced settings tab).

You can see more information about HIL API functions in the HIL API documentation.