i4designer Knowledgebase

Managing i4designer signals

Abstract

Check out the signals simulation functionality allowing you to test your visualization project while designing it, hence saving valuable engineering time.

From i4designer point of view, the signals are assets that are present in the project itself. Each project can have its own set of signals that can be either imported from an using an XML file or directly synchronized from your database.

In order to avoid a direct connection between i4designer and i4SCADA or i4connected servers, the signals in i4designer are capable to trigger simulated values. Based on the i4designer provided signal simulation patterns, it is possible to test every scenario that you might have, by tweaking the simulation patterns and see actual state updates. This way, the designed project can be tested before actually publishing the project without risking real data corruption.

After publishing your project and opening the visualization, the online signals will be applied.

Tip

For more details about the Signals menu and its particularities check out the article here.

Importing signals from an XML file
Abstract

Check out this tutorial and learn how to import signals to your i4designer project from an XML file, obtained directly from your i4SCADA project.

In order to import your signal to an i4designer project, please follow the below described steps:

  1. Open your i4designer project and click on the Signals menu of the global actions area. The Signal operation panel and the Signal Configuration page are opened.

    Signals_menu.jpg
  2. Click on the Signal import designated area in order to open the files explorer window.

  3. Select the XML file containing the signals to be imported and click the Open button to uploaded them to your project.

    upload_signals.jpg
  4. The Signals import area is updated to display the uploaded XML file. In this view, the user can choose between Replace and Merge import behaviours.

    Apply_signals.jpg
  5. Click the Apply button to proceed with the Signals import action.

  6. The Signal Configuration page is updated to display the list of all uploaded Signals providing a set of available information about them.

    Signals_available.jpg
Synchronizing signals from a preconfigured database
Abstract

Check out this tutorial and learn how to get signals from an i4connected database directly into your i4designer project and use them for simulation purposes.

In order to synchronize signals from your database and reuse them for simulation purposes in the Designer, please follow the below described steps:

Note

Currently the online signals synchronisation functionality is only available for the i4connected platform projects!

  1. Open your i4designer project and click the Settings menu of the global actions area.

    Tip

    For more details about the Settings menu please also check the respective article here.

  2. In the Settings panel start filling in the Platform settings.

    Tip

    For more details about the Platform settings please also check the i4connected Plaform article.

    Platform_settings.jpg
  3. Next, open the Signal configuration menu of the global actions area. The Signal operations panel and the Signal Configuration page are opened.

    Signal_config_menu.jpg
  4. Click on the Get i4connected signals button.

    get_i4conected_signals.jpg
  5. The Signal Configuration page is populated with all the Signals available in the pre-configured platform.

    Signal_Config_populated.jpg
Testing states updates in signal simulation mode
Abstract

Check out this tutorial and learn how to test your component's states updates by tweaking the signals simulation patterns.

As previously indicated, the i4designer Signals are assets that only show simulated values. The present tutorial will guide you through a set of steps that will demonstrate you how to use the signal simulation functionality to test your project while in design phase.

Note

The present demonstration will use the Signals imported from the default WEBfactory i4SCADA Demo project.

  1. Open an i4designer project and drag on the project page the State image

    component.

    Add_State_image_compo.jpg
  2. Make sure that your project is populated with Signals, under Signal configuration menu under the global actions area.

    Signal_config.jpg
  3. Select a Signal from the Signal Configuration page and double click on it. The Signal simulation panel for the selected signal will be opened.

    Signal_simulation.jpg
  4. In the Signal simulation panel start defining the signal simulation patterns.

    Tip

    For the present tutorial we selected the Setpoint 1 signal and updated its properties as follows:

    • Set property Max to 1.

    • Set property Min to 0.

    • Set Simulation Type to Linear.

    For more details about the Signal simulation patterns check out the article describing them.

  5. Return to your project page where the State image component was added and double click on it to open its properties.

  6. In the State image properties panel, organise the following changes:

    1. Add two new States for the component.

      Add_states.jpg
    2. Expand the properties of the first state and set the Condition rule, the Image and the Symbolic Text.

      Tip

      For the present tutorial we selected the following properties :

      State_1.jpg
      • Condition rule - %Setpoint 1% ==0

      • Image 1

      • Symbolic text - Error

    3. Expand the properties of the second state and set the Condition rule, the Image and the Symbolic Text.

      Tip

      For the present tutorial we selected the following properties :

      State_2.jpg
      • Condition rule - %Setpoint 1% ==1

      • Image 2

      • Symbolic text - Success

  7. As soon as the two states have been defined, the State image component will start changing the images based on the signal simulated value change.

    Signal_value_is_0.jpg
    Signal_value_is_1.jpg

    State image component changes image based on Signal value