HIL SCADA

This section describes HIL SCADA

Typhoon HIL SCADA is a simple, easy to use graphical environment that allows you to create your own specific interface with the real-time model. HIL SCADA is the successor of the widely-used tools, HIL Control Panel and Custom UI.

Using HIL SCADA widgets, combined with the strength of Python macro and expression scripts, you can control and observe not only HIL simulation but also your own external device(s).

The HIL SCADA application has two basic functions:

  1. it downloads simulation models to the HIL platform, and
  2. it controls the emulation process, parameters and outputs

When HIL SCADA is started,it will show the recently opened compiled Model (.cpd) files (Figure 1). After you select the desired model, HIL SCADA will attempt to establish a connection with the HIL device and upload Model settings to the HIL device.

Figure 1: HIL SCADA after starting the application



In case HIL SCADA cannot establish a connection with the HIL device, a connection problem window will pop up (Figure 2).

Figure 2: Connection problem window



The reasons for the connection error may be:

  1. the HIL40x/60x emulator device is not connected
  2. the HIL40x/60x emulator device is turned off
  3. USB drivers are not properly installed
Note: In case that a connection cannot be established, you can still open HIL SCADA by choosing the first option and it will be opened in the offline mode. In the offline mode you can only use HIL SCADA to setup the environment and save its configuration to a Model settings file, but you will not be able to start the simulation. To exit the offline mode, connect the HIL device to PC, power on the HIL device and then reload the model or open a new model

In case Virtual Device is available for the compiled model (Figure 3), that option will also be shown.

Note:

Virtual Device is a software module within Typhoon HIL software toolchain which emulates Typhoon HIL40x/60x device in non-real time on a PC. Due to software-based nature of Virtual HIL Device, there is no external IO support.

Figure 3: Connection problem window with Virtual Device option



After Model is loaded, you can load a Panel file that describes user-specific interface with the real time model. As in case of Model files, HIL SCADA will show the recently opened Panel files and all Panel files found in the Model directory (Figure 3).

Note: Panel files are nothing else than renamed Custom UI settings files (.cus). All Custom UI files are still supported and can be opened in HIL SCADA.

Figure 4: HIL SCADA Window after Model is loaded



The HIL SCADA user interface is dynamically generated based on the properties of the loaded model. Figure 5 shows the application window with all its elements, numbered for identification.

The window elements are:

  1. Command Toolbar
  2. Library Dock
  3. Panel Explorer Dock
  4. Model Settings Dock
  5. Panel tabs
  6. Message Log Dock
  7. History Dock
  8. Status Bar

Figure 5: HIL SCADA Interface



All HIL SCADA’s docks can be simply undocked and docked again to their initial position. To undock a dock, simply double-click the upper part of the dock frame (or click the appropriate undock button, see Figure 7). To dock an undocked dock, double-click the frame of the undocked dock and it will be restored to its initial position (Figure 6).

To put an undocked dock to another position, click the undocked window frame and drag it to the edges of the Panels tabs.

You can also close docks by pressing the close button (Figure 7). Closed docks can be restored by re-enabling them in the View menu (Figure 8)
Note: After you close HIL SCADA, docks’ position and state (opened, closed) will be automatically saved and restored the next time you open HIL SCADA.

Figure 6: Double-click the top of the undocked dock window frame to dock an undocked dock



Figure 7: Undock or close a dock



Figure 8: Enabling closed docks