i4SCADA Knowledge Base

SchedulerPro configuration

Abstract

Check out this article for a quick insight about the few settings required, before starting to work with the i4SCADA SchedulerPro module.

The i4SCADA SchedulerPro module allows the user to schedule events in a calendar-based application. The scheduled events will trigger programs which can control various devices in predefined locations, using specific module signals.

Before heading in the i4SCADA  SchedulerPro, there are a few settings that need to be done in WEBfactory Studio:

After defining the SchedulerPro settings as described in the below sections, you may also visit the SchedulerPro Tutorials article. 

Set up Module Signals
Abstract

Follow these 3 easy steps in order to enabe the Signals for the WEBfactory i4SCADA SchedulerPro module.

The Module Signals are the signals that are available to be used in WEBfactory modules like SchedulerPro. The signals that are not defined as Module Signals for the specific WEBfactory module (SchedulerPro in our example) will not be available inside the module.

Important

Setting up the Module Signals for SchedulerPro is a necessary step in using the SchedulerPro module!

Follow the next steps to set up the Module Signals for SchedulerPro:

  1. Navigate to the Module Signals section of the Settings area of the i4SCADA.

    Tip

    In the Demo Database, the Module Signals section can be found under the Server settings, represented by the dot (.).

    Module_signals.jpg

    Module Signals section

  2. To create a new Module Signal, right-click on the empty space of the main view and select New > SchedulerPro from the contextual menu.

    Module_Signals_SchedulerPro.jpg

    Create new Module Signal

  3. The Signal Browser window will open. Select the needed signal (Setpoint 1 in our tutorial) and click OK.

    Signal_browser.jpg

    Signal Browser

    Now the Setpoint 1 signal is defined as a Module Signal for SchedulerPro and can be used inside this module.

    Signal_is_defined_as_Module_Signal.jpg

    Signal is defined as Module Signal

Set up security and activate SchedulerPro
Abstract

Organise these settings in order to secure the Signal Group, set up the Write Group access level and enable security for the SchedulerPro module.

In order to use the WEBfactory SchedulerPro module and benefit from the security built in the  solution, we need to make sure that the signal that will be used in the SchedulerPro module can be written by the user using SchedulerPro.

Note

The Security settings are optional but recommended when using WEBfactory SchedulerPro.

Secure the Signal Group
  1. In the Signals area of Studio, go to the active server and select the OPC.Sim.DA simulation OPC server.

    OPC_Server.jpg

    OPC server

  2. Set the Read Write Mode of the Group 1 signal group to Write, Read. This way, the signal selected as Module Signal for SchedulerPro will not be written without proper credentials.

    Write__Read_setting.jpg

    Set the Read Write Mode of Group to "Write, Read" option

Write group access
  1. In WEBfactory Studio go to the User Manager node, under the Settings area.

    User_Manager.jpg

    User Manager

  2. In our tutorial, we will use the webfactory user, predefined in the Demo Database. Make sure that the Authorization group assigned to the user (Gast in our situation) has the same write group assigned as our selected signal (Setpoint 1). This means that our user will be able to write values to the signal belonging to this write group.

    Write_Group_Signal.jpg

    Write group of the Signal

    Write_group_of_User.jpg

    Write group of the User

SchedulerPro settings

Another step before heading in the SchedulerPro module is to set up the user for write operations and activate the SchedulerPro module.

  1. In the Settings area of the Studio, go to the SchedulerPro settings under the Server settings represented by the dot (.).

    SchedulerPro_Settings.jpg

    SchedulerPro Settings

  2. Activate the SchedulerPro module by checking the box corresponding to the Activate option.

    Activate_SchedulerPro_module.jpg

    Activate SchedulerPro module

  3. Enter the user name and password for the user that will be used in write operations (the user that has access to the write group assigned to the used signal).

    SchedulerPro_username_and_pw.jpg

    Configure username and password

Set up discrete values
Abstract

Learn how to set up a human readable value for the Signals enabled for the i4SCADA Schedulerpro module.

The Discrete Values allow us to use a human readable value for the selected signal. When using a Discrete Value in SchedulerPro, the user will assign the Discrete Value ON to a signal instead of assigning value 1, assuming that the Discrete Value ON is set up to write the first value.

Tip

Using Discrete Values is a recommended but optional step when working with  SchedulerPro. The user is also able to write direct values to the selected signals, not only Discrete Values.

To set up discrete values in i4SCADA Studio follow the next steps:

  1. Navigate to the Discrete Value section in the Signals area.

    Signals_Area_-_discrete_values.jpg

    Signals area - Discrete Values

  2. Right-click in the empty space of the main view and select New Discrete Value from the contextual menu.

    New_discrete_value.jpg

    New Discrete Value

  3. Enter a name, value and descriptions for the new Discrete Value. In our example, the Discrete Value will be named LightsON and will have the value 1. Save the changes using the Save button.

    Lights_ON.jpg

    Save new Discrete Value

  4. Create a second Discrete Value with the name LightsOFF and the value 0.

    Lights_Off.jpg

    Create a second Discrete Value

  5. Now head in the Discrete Value Types section and right-click on the empty area of the main view to open the contextual menu and create a new Discrete Value Type.

    New_discrete_value_type.jpg

    Create new Discrete Value Type

  6. Name the new Discrete Value Type Lights and add the desired description. By default, the first Discrete Value, LightsON, is added to the Lights Discrete Value Type.

    Lights.jpg

    Discrete Value Types

  7. We also need the second Discrete Value, LightsOFF, so click on the Add button to open the Select Discrete Values window and select the LightsOFF discrete value. Click Add to add it to the Lights Discrete Value Types and close the dialog. Save the new Discrete Value Type.

    Add_discrete_value.jpg

    Create a second  Discrete Value Type

  8. Next, we need to assign the new Discrete Value Type to the signal that we will use in our SchedulerPro demonstration. In the Signals area, select the Group 1 signal group under the simulation OPC server. In the signals list, select Setpoint 1 (or Buffer 1).

    Select_signal.jpg

    Assign Discrete Value Types to SIgnals

  9. Open the Signal Details panel and, from the Discrete value types combo-box, select the Lights Discrete Value Type that we have previously created. Save the signal configuration.

    Save_signal_config.jpg

    Save signal configuration