Easergy Builder en Rev1.3 104
Easergy Builder en Rev1.3 104
07/2016
Easergy Builder
www.schneider-electric.com
Rev 1.3 (15-05-2016)
Change Control
Rev Date Description
1.0 09-08-2015 Initial revision
Restricted Liability
Electrical equipment should be serviced and maintained only by qualified personnel.
No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this manual. This
document is not intended as an instruction manual for untrained persons.
The illustrations, dialog boxes, programming models and examples shown in this manual are intended for exemplary
purposes. As there are installation-specific variables and requirements, Schneider Electric will not be held responsible for
the misuse of the equipment based on the examples herein published.
NOTICE
An inadequate use of the equipment, or misuse by ignoring these specifications, may comprise the system’s security.
It is highly recommendable to backup the application programs frequently using the appropriate storage media to avoid
potential data loss.
The Saitel platform and all its components have been developed in accordance to the requirements for a quality
management system, complying with the ISO 9001 Norm.
Document: TE-HG-0000-MSS-S856
Revision / Date: Rev 1.3 / 15-05-2016
File: User Manual of Easergy Builder_EN_Rev1.3.pdf
Retention period: Permanent throughout its validation period + 3 years after its
cancellation.
For any request, problem report or suggestion about the equipment, please contact us through the following email :
[email protected]
Table of Contents
Chapter 1 - BaseLine Software Platform ....................................................................................................................... 1-1
1.1 Software Architecture ......................................................................................................................................... 1-1
1.2 Main Components .............................................................................................................................................. 1-3
1.3 Software Tools ................................................................................................................................................... 1-4
Chapter 2 - Introduction to Easergy Builder .................................................................................................................. 2-1
2.1 Introduction......................................................................................................................................................... 2-1
2.2 Easergy Builder Installation ................................................................................................................................ 2-1
2.2.1 Easergy Builder Requirements ................................................................................................................... 2-1
2.2.2 Easergy Builder and Plugins ...................................................................................................................... 2-3
2.2.3 Easergy Builder Update and Uninstall ........................................................................................................ 2-4
2.3 Environment Description .................................................................................................................................... 2-5
2.3.1 Workspace Mode........................................................................................................................................ 2-5
2.3.2 Configuration Mode .................................................................................................................................... 2-9
2.4 Getting Started with Easergy Builder................................................................................................................ 2-10
Chapter 3 - Working with RTUs..................................................................................................................................... 3-1
3.1 Introduction......................................................................................................................................................... 3-1
3.2 RTU Administration ............................................................................................................................................ 3-2
3.2.1 Adding an RTU ........................................................................................................................................... 3-2
3.2.2 Configuring RTU Parameters ..................................................................................................................... 3-3
3.2.3 Removing an RTU .................................................................................................................................... 3-15
3.2.4 Rebooting an RTU.................................................................................................................................... 3-15
3.2.5 Reading the RTU Configuration ............................................................................................................... 3-15
3.2.6 Loading a Configuration ........................................................................................................................... 3-16
3.2.7 Reading the sysLog File from the RTU..................................................................................................... 3-17
3.2.8 Adding a New Configuration..................................................................................................................... 3-17
Chapter 4 - Working with Configurations....................................................................................................................... 4-1
4.1 Introduction......................................................................................................................................................... 4-1
4.2 Devices............................................................................................................................................................... 4-1
4.2.1 Supervision Device..................................................................................................................................... 4-2
4.2.2 Formula Device .......................................................................................................................................... 4-9
4.3 Channels .......................................................................................................................................................... 4-12
4.3.1 Adding a Channel ..................................................................................................................................... 4-13
4.3.2 Adding a Link............................................................................................................................................ 4-16
4.3.3 Deleting and Editing a Channel or Link .................................................................................................... 4-17
4.4 Synchronization................................................................................................................................................ 4-17
4.4.1 Configuring a Synchronization Device (as Source) .................................................................................. 4-18
4.4.2 Time Configuration ................................................................................................................................... 4-19
Chapter 5 - coreDb - Real Time DataBase.................................................................................................................... 5-1
5.1 Introduction......................................................................................................................................................... 5-1
5.2 Main Menu.......................................................................................................................................................... 5-1
5.3 coreDb Tabs....................................................................................................................................................... 5-1
Index of Figures
Figure 1-1 - BaseLine Software Platform architecture........................................................................................................ 1-1
Figure 1-2 - Interaction between coreDb and other applications. ....................................................................................... 1-2
Figure 1-3 – Saitel DR local acquisition plugin interface. ................................................................................................... 1-4
Figure 1-4 – coreDb interface............................................................................................................................................. 1-4
Figure 2-1 – Startup of the Easergy Builder installation. .................................................................................................... 2-3
Figure 2-2 – Selecting Configuration plugins to be installed in Easergy Builder................................................................. 2-3
Figure 2-3 – Uninstalling Easergy Builder. ......................................................................................................................... 2-4
Figure 2-4 – Easergy Builder startup window..................................................................................................................... 2-5
Figure 2-5 - Easergy Builder in Workspace mode. ............................................................................................................. 2-5
Figure 2-6 – Workspace stored in folders........................................................................................................................... 2-6
Figure 2-7 – RTUs tree....................................................................................................................................................... 2-7
Figure 2-8 – Information on the editing area for a Saitel DR RTU. ..................................................................................... 2-8
Figure 2-9 – Information on the editing area for an Easergy T300. .................................................................................... 2-8
Figure 2-10 – Information on the editing area for a Configuration. ..................................................................................... 2-8
Figure 2-11 – Configuration mode...................................................................................................................................... 2-9
Figure 2-12 – Information about configuration Plugins installed in Easergy Builder......................................................... 2-11
Figure 3-1 – Easergy Builder in Workspace mode (RTU parameters). .............................................................................. 3-1
Figure 3-2 – Easergy Builder in Workspace mode (configuration parameters). ................................................................. 3-1
Figure 3-3 – Adding a new RTU. ........................................................................................................................................ 3-2
Figure 3-4 – Configuration by default for a RTU................................................................................................................. 3-3
Figure 3-5 - Configuring RTU parameters. ......................................................................................................................... 3-3
Figure 3-6 - Acquisition modules in a default configuration. ............................................................................................... 3-4
Figure 3-7 – Confirmation for automatic addressing........................................................................................................... 3-4
Figure 3-8 – Adding one (or several) AB. ........................................................................................................................... 3-4
Figure 3-9 - Configuring a Saitel DP RTU. ......................................................................................................................... 3-5
Figure 3-10 - Acquisition modules in the default configuration. .......................................................................................... 3-5
Figure 3-11 – Adding new I/O modules. ............................................................................................................................. 3-5
Figure 3-12 – Profibus configuration. ................................................................................................................................. 3-6
Figure 3-13 - Configuring an Easergy T300 RTU. .............................................................................................................. 3-6
Figure 3-14 – RTU connection parameters. ....................................................................................................................... 3-7
Figure 3-15 – Example of a Saitel DR redundant configuration. ........................................................................................ 3-7
Figure 3-16 – Unique ITB in a redundant configuration...................................................................................................... 3-8
Figure 3-17 – Connection parameters in a redundant configuration................................................................................... 3-8
Figure 3-18 – Sending information to a redundant RTU..................................................................................................... 3-8
Figure 3-19 – Configuring users. ........................................................................................................................................ 3-9
Figure 3-20 – New user...................................................................................................................................................... 3-9
Figure 3-21 – Configuring networks with redundant CPUs............................................................................................... 3-10
Figure 3-22 – Configuring a network interface. ................................................................................................................ 3-11
Figure 3-23 – Configuring a WIFI network interface. ........................................................................................................ 3-11
Figure 3-24 – Example of external subnets...................................................................................................................... 3-12
Figure 3-25 – Configuring external subnets. .................................................................................................................... 3-12
Index of Tables
Table 3-1 – User rights..................................................................................................................................................... 3-10
Table 4-1 – Common supervision points for all Saitel CPUs. ............................................................................................. 4-4
Table 4-2 – Saitel DR supervision points. .......................................................................................................................... 4-6
Table 4-3 – Saitel DP supervision points............................................................................................................................ 4-7
Table 4-4 – Easergy T300 supervision points. ................................................................................................................... 4-9
Table 5-1 – Quality flags in coreDb points.......................................................................................................................... 5-7
Manual Contents
I. Scope
This manual provides information about Easergy Builder, the configuration tool for Saitel and Easergy RTUs. It describes
the installation and use of the tool, in terms of common operations for all RTUs that use Schneider Electric’s Software
BaseLine Platform. The particularities of use for each of these RTUs are described in the "Configuration and Startup"
manual of each range.
II. Arrangement
This manual is divided in different chapters. The following lines describe briefly the contents covered by each chapter.
Appendix A - Expressions
Expressions allowed to be used with Formula Device.
V. Devices Compatibility
Software features supported by each CPU of the different hardware platforms:
Formula × × × × √
IEC61850 Plugin √ √ × √ ×
ISaGRAF √ √ × √ ×
ISaGRAF5 √ √ × √ √
Supervision √ √ √ √ √
The following figure shows the different applications included in the software platform, as well as additional applications
that implement new devices or protocols to upgrade Easergy Builder:
The operating system abstracts the hardware from the software applications and manages the applications in real time. It
integrates the basic protocols to access the remote unit (SFTP, SSH, etc.) and manage multiple users.
The real-time database, named coreDb, is probably the most important element. All the other elements are developed
around coreDb:
coreDb performs the real-time management of RTU points. This real-time database is associated with data producing and
consuming by device controllers.
NOTICE
The real-time database of the HU_B and HU_BF modules (Saitel DR) is named coreDbLite and offers the same
functionalities and interfaces as coreDb. All the information included in this manual about coreDb is also applicable to
coreDbLite, unless explicitly stated otherwise.
Coordinate: Point identification within a Device. It is unique for each point and has a different structure for each
Controller. It is described in detail in the appropriate manual of each Controller (see Table 1).
Configuration Plugin: Specific Configuration plugins extend the Easergy Builder application to configure Device
Controllers. Additional details about these plugins are provided further in this manual.
Each Device communicates with the associated Controller through its specific protocol. The Controller receives the
information, processes it following the specified set of rules and, finally, sends it to coreDb. Similarly, a Controller can
read information from coreDb and send it to the appropriate Device.
The user can modify the configuration of each Controller and Device using the appropriate Plugin. Once the database is
completely configured, the files with the new information can be generated and transferred to the RTU, where they will be
processed by the software on startup.
Devices
Each type of device keeps a list of its associated points, identified by unique labels. These labels allow the identification of
each device point unequivocally as source or destination of a coreDb data point.
Each point is a piece of information produced (or consumed) by a Device. Within a single Device, point identifiers
(coordinates) are unique and cannot be used by two different points.
Easergy Builder supports the following device configuration plugins:
ISAGRAF (version 3 of ISaGRAF) and ISAGRAF5 (version 5).
MODBUS master and slave (with several profiles).
IEC101 master and slave.
IEC104 master and slave.
IEC103 master
DNP master and slave.
SOE (Sequence of Events management).
Saitel DP and Saitel DR local acquisition.
Formula
T300 control & configuration (Cilo and Lioc)
Each Device will be available or not depending on the type of CPU to configure. More information about available Devices
for each CPU in Table 1.
User Interface
Easergy Builder has two types of user screens to consult and modify the information stored in coreDb:
Graphical Interface (Plugin): The picture below shows the interface to configure Saitel DR acquisition hardware.
Using this graphical interface the user can configure each local acquisition points with its corresponding point in
coreDb. There is a graphical interface for each Device Controller.
coreDb tables: This interface enables access directly each point stored in coreDb. Every table is shown
separately - Status, Analog, SetPoint and Command.
Once the configuration process is completed, Easergy Builder generates the necessary XML configuration files. These
files have to be transferred to the RTU to apply the new configuration. When the file transfer operation is completed
without errors, the configuration changes can be activated in the RTU by rebooting it.
.NET Framework
Before installing the tool, version 2.0 or later of the “.NET” Framework package by Microsoft® must be installed in the PC.
Current versions of Windows® operating systems already have .NET Framework 2.0 or later installed.
If this package is not available in the PC, a dialog box will open up informing the user during Easergy Builder installation.
DPI on Windows 7
When you execute Easergy Builder, the DPI parameter on Windows 7 must be 96 (100% of the screen resolution).
If not, please follow these instructions:
1. Right click on a empty area of your desktop and choose Personalize:
3. In the follow screen, please select “Smaller – 100%”. This configuration is according to 96 DPI necessary for
Easergy Builder execution.
4. Click on the Apply button and select “Log off now” when you are asked. Please, be sure to save anything you
are working on before you click on this.
Follow the steps appearing on the screen to complete the software installation; during the process the user will be
prompted to select the configuration plugins to install:
This screen will show the plugin installation files located in the same directory as the Easergy Builder installer. Each msi
file contains a configuration plugin. You need to install a plugin or not depending on the type of CPU. More information
about available plugins for each CPU in Table 2 of this manual.
Select the plugins to be installed. Press “Ok” button and the installation process will complete. Once finished, the Windows
startup menu will show the Easergy Builder icon under the “Schneider Electric” folder.
WARNING
The installation of the Plugins is executed in background. Please, be sure the following window is shown before running
the application:
This utility allows updating or uninstalling one or several Plugins and also it allows updating or uninstalling Easergy Builder
completely from the host PC.
Uninstall a Plugin
To remove a Plugins from the PC, on the control panel, access to the software installed and select the plugin to be
removed. Double-click on it and the uninstall process start.
If the user selects "No" when prompted to confirm the operation, the uninstall process is cancelled. If confirmed, the
process will complete with the elimination of the selected plugin.
NOTICE
You should note that the default uninstall process is set to "Minimal". This option uninstalls "Easergy Builder" but all
plugins that haven't been selected will remain installed.
Import an RTU from an EBC file. This file should have been generated previously with Easergy Builder,
using button
These are the only available buttons when a workspace is opened for the first time. If there aren’t defined RTUs, no other
operations can be done.
When an RTU is selected, the following additional buttons will be shown:
“Remove RTU”. Remove the selected RTU from the Workspace. All its configurations will be removed
also.
“Read Configuration”. Transfers all the configuration files from the selected RTU to the Workspace.
Users, IP addresses and other configuration parameters will be loaded to the RTU profile.
“Completely Configure RTU”. Send the complete configuration to the RTU (interfaces, coreDb, …).
“Save the selected RTU”. Save all configurations for this RTU in a file in order to import into other
WorkSpace using button . The file type is depending on the type of CPU to be set.
“Load a Configuration”. Using this button, you can load a configuration, RTU or a configuration project
generated by CATconfig Tool. This option allows using Easergy Builder with legacy configuration
projects.
“Syslog”. Load the sysLog file from the RTU to the PC.
“Save the selected configuration”. Save this configuration in order to import into other WorkSpace
using button . The configuration can be saved as a RTU configuration file. This configuration will
contain only the application part and not the system part (network, modems ...).
“Clone Configuration”. Copy the selected configuration with a different name in the same RTU. This is
useful for versioning.
Remove RTU ( ).
Reboot RTU ( ).
Create Configuration ( ).
Read Configuration ( ).
Load a configuration ( ).
Right-clicking on a Configuration, the following actions are available:
Configure ( ).
Remove Configuration ( ).
Clone Configuration ( ).
If the RTU selected is an Easergy T300 the editing area shows the following information:
If a Configuration is selected, for example for a T300 RTU, the following information will be shown in the editing area:
Channels
The ports used to communicate with field devices are configured as communication channels. The number and type of
these channels depends on the type of RTU and the communication modules installed (AB_SER, SM_SER or K7
modules). A general overview on communication channels is shown in this manual.
Plugin Information
In the configuration zone, from the main menu, select “Help About” to obtain information about the Configuration
Plugins installed with Easergy Builder:
Add-Ons
An Add-on is an external application, implemented as a dynamic library (DLL). Add-ons can be integrated into Easergy
Builder simply by placing the DLL file in a specific directory – C:\Program Files\Schneider Electric\Easergy
Builder\PlugsAddOn - and restarting the application.
NOTICE
If the user modified the default directory during the installation of the tool, the path for Add-Ons should also change.
As an example of the use of this feature, let’s assume that an Add-on providing a calculator has been implemented and
there is a DLL file containing the Add-on.
The user needs to create a new directory named, for example, “Calculator” within the “PlugsAddon” folder under the main
path where Easergy Builder software is installed, and copy the DLL file to this folder.
WARNING
Do not copy this DLL file in the “PlugsAddon” directory, but in a folder under this directory, labeled as the Add-on name
to be installed.
To activate the Add-on, restart Easergy Builder and the calculator will be available from the main menu “Add-Ons
Calculator”.
In the previous image, there are two RTUs defined. Both, Saitel DR (HU_A) and Easergy T300 (RTU) have one
configuration assigned.
Depending on the element selected in the RTU tree, the editing zone will show the RTU information (previous picture) or
the configuration information (a communications schematic diagram).
Remove RTU ( ).
Reboot RTU ( ).
Read a configuration ( ).
Load a configuration ( ).
Where:
Name: RTU name. The length can’t exceed 64 characters and can’t contain the characters \, /, :, *, ?, “, <, > or |)
In the RTU tree, a new RTU will be identified with this name.
Description: RTU description, 128 characters maximum (optional).
Type: Depending on the CPU, Easergy Builder supports the following types of RTU:
o Easergy T300: T300 using the HU 250 as CPU.
o Saitel DP-SM_CPU866: Saitel DP RTU using the SM_CPU866 module as CPU.
o Saitel DP-SM_CPU866e: Saitel DP RTU using the SM_CPU866e module as CPU.
o Saitel DR-HU_A: Saitel DR RTU using the HU_A module as CPU.
o Saitel DR-HU_AF: Saitel DR RTU using the HU_A module as CPU.
o Saitel DR-HU_B: Saitel DR RTU using the HU_B module as CPU.
o Saitel DR-HU_BI: Saitel DR RTU using the HU_BF module as CPU.
SM_SER, AB_SER, Slot 1 / Slot 2: Number of communication modules available in the RTU. These modules
won’t be shown in Easergy Builder but their ports will be available to be used as additional communication
channels. This field depends on CPU types;
o SM_SER is available for SM_CPU866 and SM_CPU866e
o AB_SER is available for HU_A and HU_AF
o Slot 1 and Slot 2 is available for HU 250. In this fields you can select K7 RS, K7 3G/2G or K7 4G.
Redundancy: Check this field if the RTU is CPU-redundant. Not available for HU_B, HU_BI or HU 250.
Define default acquisition: When the CPU is created, you will be prompted to select the acquisition modules
installed in the RTU. These modules will be added by default when you create a configuration for this RTU.
All these values will be used by default when you create a new configuration for this RTU.
For the selected RTU in the tree, the following information is shown:
RTU type and description.
Default information that will be used when a new Configuration is created:
o Communication modules (AB_SER, SM_SER or K7).
o RTU with redundancy or not (only for HU_A, HU_AF, SM_CPU866 and SM_CPU866e).
o RTU acquisition: I/O modules installed in the RTU (only for Saitel).
This information can be edited to modify the default values for new Configurations.
The number between parentheses next to each module's name is the node number. You can select an AB and use
buttons to change its physical position.
When “Auto Address” box is checked (by default), if you reorder, add or delete an AB, all addresses are automatically
recalculated matching their physical position in the rail. Address number 1 is assigned to the AB closest to the HU module
(for HU_AF or HU_BI, address number 1 will be attached to the HU itself).
If “Auto Address” box is unchecked, modules will retain the allocated address, ignoring any changes made. If rechecked,
the following message will appear:
If “Auto Address” is checked, you can add several AB at one time. This window allows selecting the quantity of modules
to be added. If “Auto Address” in unchecked, you only can add one AB each time and you have to select the address to
be assigned.
In “SM_SER”, select the number of SM_SER modules to be included for each new configuration.
Pressing button you can add, remove or change the RTUs default acquisition modules.
Select a module (click on the image) and use button to remove it. Use button to add a new I/O module. Select the
type of module in the following window:
NOTICE
Legacy devices are shown in orange color.
The address assigned to the I/O module is shown under its image. You can change this address clicking button . The
configuration of any module integrated in Saitel DP, including all the changes made to it can be stored as a template.
Thus, this configuration can be repeated in this project or in any other project in the future.
For T300 RTU, the button has no effect for this RTU.
In Slot 1 and 2, select the modem type to be used to manage the communication with the control centre or to manage
communications with third party device. You can select:
FTP Timeout is the time (in milliseconds) to consider the FTP connection broken when a configuration is being sent to the
RTU (default value: 50 s).
In redundant architectures (only for Saitel), such as the one depicted below, the user can check “RTU Redundancy”:
In this case you have to configure a default acquisition with only one ITB.
You have to configure in Easergy Builder only one ITB with two IP addresses, and when the configuration is sent to the
RTU, you will be prompted to select “CPU A”, “CPU B” or “Both”.
If option “Both” is selected, Easergy Builder will send the configuration in this order:
Send configuration to CPU A.
If the file transfer is OK, send the configuration to CPU B.
If OK, ask to reboot CPU A.
If OK, ask to reboot CPU B.
If an error occurs, the operation will stop.
3.2.2.5.1 HU250
For HU250, the Security Administration tools shall be used for user configuration. Please, consult T300 User Manual and
Quick Start.
This tab shows for each defined user its username and privileges. New users can be added and existing users can be
modified and deleted.
Pressing button in the Users tab in will attempt to load in Easergy Builder the users defined in the RTU. To export the
user list defined from Easergy Builder to the RTU, use button .
Easergy Builder will ask for a valid user. By default, these credentials to access these files are: ‘target’ as Login and
‘password’ as Password if the CPU running VxWorks, “admin” as Login and “11111111” as Password if the CPU running
Linux and the Cyber-security Brick is not used.
This default user allows you to connect to the RTU when there aren’t other users defined. If there is a user list defined in
the RTU you have to use a valid user from this list.
NOTICE
Buttons “Read” and “Overwrite” in the Users tab only reads and transfers the file userLogin.xml. These mustn’t be
mistaken with button “Read Configuration” in the Administration toolbar and “Send Configuration to RTU” in the main
menu.
Adding Users
Press button to add new users by entering the required information in following fields:
Where:
Login: User identifier.
Privileges: 3 privilege levels can be defined:
o Administrator. The user can connect to the database both via telnet and SFTP. The SFTP connection
enables access through Easergy Builder.
o Advanced User: The user can force and block database points using Webtool.
o User: The user can monitor database points from Webtool. No points can be forced or blocked.
Password: User-associated keyword. This password length is 8-40 characters.
Confirm Password: The same password must be entered again in this field (case sensitive).
Depending on the privileges selected for the user, the following actions are available:
Administrator √ √ √ (*) √ √
Advanced user √ √ √ √
User
(*) Only for HU_A, HU_AF or SM_CPU866. If the CPU is a SM_CPU866e or HU 250 the user needs to have root
privileges.
Deleting Users
Editing Users
Change the information associated to a specific user (name, privileges or password) pressing button next to the user
list. The window shown in Figure 3-20 will appear with the information about the user selected.
Press button in the Network tab in order to load in Easergy Builder the interfaces and routers defined in the RTU (CPU
A or CPU B if it is a redundant RTU). Use button to export the network interfaces and routers from Easergy Builder to
RTU.
NOTICE
This button in the Network tab only transfers to the RTU the file net_config.xml. You mustn`t confuse this button with
button “Read Configuration” in the Administration toolbar.
Interfaces
The number of interfaces to define depending on the CPU type:
HU_A and HU_AF: EHT1, ETH2 and PRP1 (ETH1 & ETH2).
HU_B and HU_BI: ETH.
SM_CPU866 and SM_CPU866e: ETH1, ETH2, ETH3, ETH4, PRP1 (ETH1Ð2) and PRP2 (ETH3Ð4).
HU 250: WAN, LAN and WIFI.
PRP (Parallel Redundancy Protocol) allows using two physical ports as a unique logical port, with a same MAC address
and IP. This protocol isn’t available for basic CPUs of Saitel DR (HU_B and HU_BI) nor HU 250.
Depending on the CPU type, you can define this interface as a DHCP client, DHCP Server or any.
If “DHCP Client” is checked, it isn’t necessary fill the “IP Address” and “Subnet Mask” fields. These data are
generated automatically by other DHCP server and they are assigned to the interface.
If "DHCP Server" is checked, you have to fill the fields “IP Address” and “Subnet Mask” with the IP address for
this interface. On the other hand, you have to define an IP range to be assigned to other DHCP clients on the
network.
When a WIFI interface is being defined (only for HU 250), the configuration windows is as follow:
Where:
SSID: Unique identifier for the wireless LAN. By default, this name is “EasergyT300”.
Password and Confirm: Necessary password that should be set in a device in order to it can be connected to
the wireless LAN
Hidden SSID: When this box is checked the SSID visibility is deactivated.
Routers
If there are Interfaces on different networks, you need a router in order to access them. Each one of this interface has to
be define in the label “Routers” with the router IP that allows the access. The following figure shows a possible situation
where there are two external subnets:
To add new routers, press button and the following screen will appear:
Figure 3-27 – Configuring an external network using the default IP and mask
You can change add, removed or edit variables into the RTU only if you previously read all defined variables from the RTU
with button . If not, the others buttons on this tab will be unavailable.
The environment variables are stored in the main_cfg.xml file. Depending on the type of CPU, the software baseline
includes the followings variables:
CONFIG_DIR: Path for configuration files (Default value: /mnt/flash/cfgFiles/)
WEB_DIR: Path for Saitel WebTool files (Default value: /mnt/bf/webFiles/)
BIN_DIR: Alternative path for binary files. If the binary files can’t be located in the main path (/mnt/flash), then
they will be looked for into the alternative path. (Default value: /mnt/bf).
SLOT: In a dual system, indicates if this CPU has to start as HOT (value A) or BACKUP (value B). (Default value:
A. This value must be changed to B in the secondary CPU)
MONITOR: Path for the BLMon tool (Default value: /mnt/flash/BLMon/)
WEB_IS_REMOTE: When this variable is set to N, it doesn’t have effect. If it is set to S, in case that RTU is in
LOCAL mode, commands from Saitel WebTool can’t be executed. (Default value: N)
You can configure only the slots with a 3G/2G or 4G modem assigned.
Name: Name of the connection.
Network: Connection type: 3G, 4G, GPRS or AUTO. If Auto
PIN and Pin number: Check PIN box if this code is necessary to initialize the connection. If during initialization,
the PIN number is empty or wrong, an error will be returned by the modem. In this case, the PIN initialization will
be retried 3 times and stop if the issue is still present.
Select tab “PPP” to configure a PPP connection:
Use buttons and to read / send the information from / to the RTU.
Press “Yes” and the RTU will disappear from the workspace.
To accomplish this, select the RTU in the Workspace and press button . Easergy Builder will ask for a valid user to
retrieve the information. If the RTU is redundant, you also have to select CPU A or CPU B.
Next, select a name for the new configuration:
If the connection is established, all the files containing the database information will be transferred from the RTU to the
PC. In the Workspace, the RTU tree view will add this new configuration associated to the selected RTU.
NOTICE
This button only imports the database configuration files. To import other configuration files (e.g. users and network)
consult paragraphs 3.2.2.5 and 3.2.2.6.
In this case you can load an RTU image that is stored in a “.tar.gz file”. This file was generated by the WebApp tool of the
T300. Depending on the selected radio button, configuration will be loaded over an existing RTU or a new RTU will be
created.
In the Log view zone you can switch between the Log console (information messages from Easergy Builder) and the RTU
Sys Console (contents of the sysLog)
There is a big difference between these two views. The Log console shows dynamic information about the operations in
Easergy Builder. The RTU Sys Console shows a “snapshot” of the information in the sysLog taken at the moment it was
loaded from the RTU. If you want to update the information in the RTU Sys Console you have to reload the sysLog file
again from the RTU.
Double clicking on it will switch to Configuration mode where the new configuration can be edited.
Please, consult section 2.3.2 for detailed information about this mode.
4.2 Devices
The information exchange between the environment and coreDb is made through Devices. Each type of Device defines
the rules that must be followed when designing the set of real-time points, and the relationship between them and with
coreDb points.
Each Device is associated with a controller that must be installed in order to be available in Easergy Builder.
When you add a new Device, you have to select the type depending on the RTU:
When a Device is available for a type of RTU but its configuration plugin hasn’t been installed, its name is shown with an
(X) before the name. You can consult information about available devices for each CPU in Table 3.
This software implements the rules to follow and offers a friendly graphical interface for points configuration. Every Device
controller into this list can be installed and uninstalled independently of Easergy Builder.
Easergy Builder 01.00.20 4-1
To know which Devices are available in Easergy Builder and the plugin versions, please, select Help About in the main
toolbar.
Figure 4-3 – Information about plugins that have been installed in Easergy Builder.
In order to add a new Device, you can use button in the toolbar of the tab Device, while in Configuration mode or you
can click right-button of the mouse on the Device tree and select “Add”.
In this window you can select or deselect the supervision points depending on the RTU type.
It is always advisable to load the supervision Device, which is required to monitor the above mentioned elements of the
CPU and essential in redundant configurations. The CPU itself cannot arbitrate with another CPU in redundant systems,
so there must be a monitoring part. Currently, only the supervision Device can do these tasks, and in practice only this
Device is used.
The information generated by the monitoring module is supplemented with the control and diagnostic information
generated in each Device.
NOTICE
For supervision device, coordinates match the name. For example, the coordinate associated to the FAIL_PS1 point is
"FAIL_PS1".
WARNING
Depending on the RTU type, available points are different. The user should not map the points which are not available
for the CPU model under installation.
In following sections, for each point, the description corresponding to the value 1 is explained.
Power Supply
WARN_BAT Status Source Allows knowing the system battery state.
Synchronization
FAIL_SYNC1 Status Source Indicates if there’s a failure in the main synchronization source.
FAIL_SYNC2 Status Source Indicates if there’s a failure in the secondary synchronization source.
Serial Expansion
Active, indicates if there’s a failure in the correspondent module
FAIL_SER1 ... (FAIL_SER1 indicates failure in module 1, and so on). Only will be
Status Source
FAIL_SER8 available the points corresponding to the communication modules
installed in the RTU.
RTU Fail
If active (1), indicates that the RTU is in an anomalous state. If
FAIL_RTU is 0, there’s no configuration error (FAIL_CONF == 0), input
signal (DOING_WELL == 1) and all tasks registered to the watchdog are
FAIL_RTU Status Source
responding. While (FAIL_RTU == 0), RTS and DTR pulses are
generated. If any task is unresponsive (does not refresh watchdog
timer), FAIL_RTU will be 1.
WDAY Analog Source Current week day. (0: Sunday, 1: Monday ... 6: Saturday).
Temperature
TEMP Analog Source Current chip temperature.
GPS Synchronization
Indicates hardware failure if active (1). If there’s no failure,
FAIL_SYNCHW Status Source
FAIL_SYNCHW will be 0.
FAIL_SYNCDESV Status Source If active (1) indicates that there’s a 3 millisecond deviation.
Link
LINK:MOTFEC0 Status Source Link in ETH1.
Redundancy
Active (1) indicates failure in the main
RED_VIA1_FAIL Status Source Advanced
communication line of the RCAP protocol.
RTU Fail
This point indicates to the RTU that something
external is running ok. If no source is defined for it,
DOING_WELL Status Destination the initial value 1 should be assigned. Usually, Advanced
this signal has ISaGRAF as origin, and indicates that
system is working properly when PLC is working
RESTART_RST_COUNTER Command Destination Command to restart the system reboot counter. Advanced
Local Acquisition
This signal will show the value of the digital input 2
of the HU_A. If LOCALREMOTE is 1, module is in
local mode. In local mode, commands are not
activated in the digital outputs modules. If
LOCALREMOTE is 0, RTU is in remote mode, which
means normal RTU functioning (will also be in
remote mode when this point is not mapped). This
point can be also configured as LOCALREMOTE:I. Basic /
LOCALREMOTE Status Source
This way, the digital input 2 value will be inverted. In Advanced
this case, if LOCALREMOTE:I is 1, RTU is still in
local mode, and if LOCALREMOTE:I is 0, RTU will
still be in remote mode. The difference is in how to
process the digital input 2. When the digital input 2 is
0, LOCALREMOTE:I will be 1 (local mode) and hen
digital input 2 is 1, LOCALREMOTE:I will be 0
(remote mode).
Link
LINK:MOTFEC1 Status Source Link in ETH2 for HU_A and HU_AF. Advanced
Power Supply
FAIL_PS1 Status Source Active (1) indicates if there’s a failure in the main power supply (SLOT 1 in the
backplane).
FAIL_PS2 Status Source Active (1) indicates if there’s a failure in the secondary power supply (SLOT 2
in the backplane).
WARN_PS1 Status Source Line PS1 voltage is below the warning level (5.3 V). PS1 is the main power
line in the bus. It’s associated to the PS in SLOT1
WARN_PS2 Status Source Line PS2 voltage is below the warning level (5.3 V). PS2 is the secondary
power line in the bus. It’s associated to the PS in SLOT2.
PLC_WARNING Status Source If ISaGRAF is used, it will indicate that there are unmapped ISaGRAF signals
in coreDb if PLC_WARNING is 1.
RTU Fail
DOING_WELL Status Destination This point indicates to the RTU that something external is running ok. If no
source is defined for it, the initial value 1 should be assigned. Usually,
this signal has ISaGRAF as origin, and indicates that system is working
properly when PLC is working.
RED_VIA2_FAIL Status Source Active (1) indicates failure in the secondary communication line of the RCAP
protocol.
RED_I_STATE Status Source Indicates redundancy state of the RTU where the supervision controller is
installed. If RED_I_STATE is 1, the local node is ONLINE or STANDBY. If
RED_I_STATE is 0, the local node state is FAIL.
COM_CTS Status Source Indicates the state of the CTS pin of the serial port that communicates with
MSAC. COM_CTS will be 0 and 1 if MSAC is sending 0 or 1. If COM_CTS is
2, the signal is being received by DTR.
DB_UPDATE Status Source Active (1) indicates that a redundant system configured as “Hot data”, the
database has been successfully updated.
NODE_A Status Source Active (1) indicates that the current system is configured as node type A.
NODE_B Status Source Active (1) indicates that the current system is configured as node type B.
ONLINE Status Source Active (1) indicates that the current CPU is ONLINE in the redundant system.
Local Acquisition
LOCAL Status Destination If set to 1 and good quality (IV_LQF,IV_LQF,NT_LQF,NT_LQF are 0) coreDb
will be in "Local state". If set to 0 and good quality (IV_LQF, IV_LQF,
NT_LQF, NT_LQF are 0), coreDb will be in "Remote state". In other cases,
coreDb will be in "Unknown state".
Link
LINK:MOTFEC0 Status Source Link in ETH1.
Synchronization
SYNC1_FAIL Status Source Failure in primary synchronization source.
WIFI
WIFI_STATUS Status Source WIFI network connected.
RTU
An anomaly has been detected in the RTU. This signal is deactivated
RTU_FAIL Status Source when FAIL_CONF =0, DOING_WELL =1, K7_S1_FAIL=0,
K7_S2_FAIL=0 and watchdog without timeout expired for any task.
Error in a module. Each device has a module health error variable that
are linked to a DEV_FAIl point. You can define several points
DEV_FAIL Status Destination DEV_FAIL.
DEV_FAIL is destination that can be used to link a status from a device
that has Failure indication that you want to aggregate in the SYS_FAIL.
This signal indicates to the RTU that something external is running ok. If
no source is defined for it, the initial value 1 should be assigned.
DOING_WELL Status Destination
Usually, this signal has ISaGRAF as origin, and indicates that system is
working properly when PLC is working.
WDAY Analog Source Current week day. (0: Sunday, 1: Monday ... 6: Saturday).
“X” can take the values of 1 and 2. Set to one when a channel or a
K7_SX_FAIL Status Source modem dial-up is configured and unable to detect the right K7 in slot
“X”.
“X” can take the values of 1 and 2. Set to one when a modem dial-up is
MODEM_SX_DET Status Source
configured on slot “X”.
“X” can take the values of 1 and 2. Will show the level of reception of
MODEM_SX_RSSI Status Source the modem configured in slot “X”.
In case of error, the invalid flag will be activated.
“X” can take the values of 1 and 2. Will show the network type of the
modem configured in slot “X”. It can take the following values:
0 : GPRS
1 : EDGE
MODEM_SX_RNET Status Source
2 : 3G
3 : HSDPA
4 : 4G
“X” can take the values of 1 and 2. Set to one when the interface is up
PPP_SX_STATUS Status Source on ppp over modem on slot “X”, otherwise 0. In case of error, the invalid
flag will be activated.
The form Plugin is integrated by default with the core of Easergy Builder. It allows configure a software developed in order
to do calculation of expression depending on the value of its input variables.
An expression can be any of the defined functions (NOT, SPSTODPS, DPSTOSPS, TEMPO, OR, AND, SCALE, MIN,
MAX, IF), an operator expression (+, -, * , /, <, >, ==), a coreDb point name, an own variable name (FORM_PERIOD,
FORM_CYCLETIME), a constant value or any combination of them. For example, a function with operator expressions as
parameters, an operator expression with functions as parameter, a function or operator expression with coreDb point
names or constant as parameters, ...
These expressions are introduced to coreDb as source coordinate of a point. When an expression is calculated, its value
in database (value, quality flag and timestamp) is written at the coreDb point which this coordinate belongs to (as value,
quality flag and timestamp, respectively, of this coreDb point).
In the next picture, we can see an example of formula expressions at Easergy Builder.
Formula Controller also accepts destination coordinates of a point. They are used as triggers to execute source
coordinates formula in a coreDb point designed by this destination coordinate name.
3. Select field “Source1 Coordinates” and right-click. Select Launch Point wizard:
In order to complete the desired formula, you can write directly on the field, add other function from the Function field or
copy the name of others coreDb points.
Finally, press button or press Enter and your formula is added as coordinate for the new coreDb signal. This coordinate
will be use as a Trigger or an Expression depending on if is a Source coordinate or a Destination coordinate.
4.2.2.2 Triggers
When the formula Controller receives destination coordinate, they are called as triggers. A trigger definition has 2 or 3 field
separated by colon (:).
In the next picture, we can see some examples of these triggers with source formulas waiting to be executed:
4.2.2.3 Expressions
When the formula Controller has source coordinates, they are called as expression.
The formula module’s goal for source coordinates is to calculate a value depending on its input variables. Its value is
updated at each execution of the Controller entry (the time between each entry execution is set as the shortest for the
RTU system, approximately 20 ms depending on the platform).
At the first execution entry, the calculation and writing of results is mandatory for every valid expression without trigger. In
the case of calculation, the value, quality flag and timestamp will depend on the initial values of coreDb points.
If an expression has associated a trigger (or triggers), its calculation will be never done until the trigger is fired.
In a division, if the second input is equal to zero, the calculation result will be equal to Not a Number and written once with
this value and invalid quality flag in coreDb. If other expression uses this result on its calculation process, its result will be
equal to NAN (0 at status or command), with invalid quality flag, while the precedence expression result is equal to NAN.
The expressions allowed to be calculated are detailed in the Appendix A at the end of this manual.
4.3 Channels
The ports used to communicate with field devices are configured as communication channels. They can be configured in
the Channels tab of the configuration mode of Easergy Builder. The number and type of these channels depends on the
type of CPU and communication modules installed in the RTU.
For example, this figure shows an RTU with a HU_A and an AB_SER module. The “Channel Architecture” zone displays
all channels and links (channel associations) which are defined.
Where:
Name: Identifying name.
Description: Description.
Type: Channel type depending on the implemented communication protocol. There are three types:
o TCP
o UDP
o ASYNC (RS-232, RS-485 or RS-422 serial communication)
Specific Parameters: Reserved, this box mustn’t be checked.
Other fields depend on the type of channel.
Remote IP List: Client-associated IP addresses from which communication requests are accepted through this
channel. If the list is empty, it would accept requests from any known client.
On a channel type CALLED, this is the address that will be validated after accepting the connection.
On a channel type CALLING, it will attempt to establish connection to the addresses specified in this list. Only
after an unsuccessful try or disconnection, the following remote IP address in the list (if any) is used to the next
try.
New clients can be added to the list by entering its IP in the field over the list and pressing the “+” button. To
remove a client from the list, select it and press the “-“ button.
Connect timeout: For CALLING channels. Timeout (in milliseconds) waiting an answer for a connection.
Reconnect time: For CALLING channels. Minimum time to wait for connection retry.
Use local IP: It is optional. If is checked, IP field specifies the only local IP address to be used in the TCP
connection.
Remote IP List: The list of remote IPs is optional and indicates the addresses from which UDP packets are
accepted through the local port. Messages will be always transmitted to the IP and port of the last received UDP
packets. Until the reception of the first UDP packet, UDP packets are sent to the first IP address of the list and
the Remote Port.
Local Port: Port where to receive UDP packets from. Mandatory and no zero.
Remote Port: Remote UDP port to send UDP packets to, until the reception of the first UDP packet. Optional.
Use local IP: It is optional. If selected, IP specifies the only local IP address to be available to receive and send
UDP packets.
Channel: The physical port that will be used for this channel. The list of physical channels available depends on
the CPU type:
o SM_CPU866 and SM_CPU866e: COM1, COM2, COM3, COM4 and SM_SERx-COMy. Only ports of the
SM_SER configured will be available.
o HU_A and HU_AF: COM1, COM2, RS-485 and AB_SERx-COMy. Only ports of the AB_SER configured will
be available.
o HU_B: COM1 and COM2.
o HU_BI: COM1/RS-485. Only one of these ports can be used at the same time.
o HU 250: RS-485, K7 RS SLOT(1) and K7 RS SLOT(2). K7 RS SLOT 1 and 2 will be available or not
depending on the configuration of the slots 1 and 2.
Baudrate: To specify the communication speed. The speed ranges between 300 and 256000 bps.
Protocol: It defines the asynchronous protocol which will be used. The available protocols are RS-232, RS-485
and RS-422. RS-485 allows 2 or 4-wire communications.
Parity, Stop bit, Data bits: To configure communication parameters.
RS-485 / RS422:
o Termination resistor
o Polarization
Modem control: These parameters allow configuring the signals for modem control in the communication ports.
Not all values are available for each CPU
o DTR control (Data Terminal Ready): Flow control:
ENABLE: DTR at high logical level (1).
DISABLE: DTR at low logical level (0).
TOGGLE (only available for K7 modem): DTR control depends on the parameter “DTR - RTS
delay”.
o RTS control (Request to Send): To configure the RTS output:
DISABLE. Disables the use of the RTS signal.
ENABLE: It enables the RTS signal, and keeps it active.
AUTO: The RTS signal timing will be defined automatically.
TOGGLE: It allows defining timing for RTS signal.
Where:
Name: Link name.
Description: Description.
Channel 1: First channel to associate.
Channel 2: Second channel to associate. It is not mandatory.
Mode: There are two options:
o AutoSwitch: In the slave, channel module is configured to switch channels automatically. The slave receives
and transmits through a channel. At any moment, if it stops receiving through this channel, it switches to the
other, which becomes active.
o SwitchByMaster: In the master, this option defines the Device to control switching.
Force Switch Time: A periodic switching between channels can be defined for the item “Mode
SwitchByMaster”. Master protocols must switch the channel to verify state every TIME_FORCE_SWITCH
seconds. When the Link has been set to AUTO_SWITCH mode, this value will be not considered. When
SwitchByMaster has been defined, it is recommended to set this parameter to a non-zero value when the module
is able to indicate (supervision points) the channel’s error state.
4.4 Synchronization
The synchronization can be configured in the tab Synchronization of the configuration mode of Easergy Builder. This
functionality offers a wide range of capabilities to synchronize the RTU.
Synchronization period is the value (in seconds) of the synchronization period. All devices (Primary Device y
Secondary Device) are scanned at the interval defined in "Synchronization period" and the system connects to
the top priority device.
Timeout: (Only visible when you select a type of device) Time in seconds to mark the device as "off-line" If no
synchronization messages are received.
If Primary Device and Secondary Device are considered enabled (Primary Device is the online device synchronization)
and Timeout time elapses without receiving synchronization from the Primary Device, then the Secondary Device
becomes the synchronization device. If secondary device also times out, then the active synchronization source will be the
console.
Where:
SNTP Server: Allows configuring the RTU as a SNTP server.
Mode: Can be ACTIVE or PASSIVE. If PASSIVE mode is selected, the server only will answer when a request is
received from a SNTP client. If ACTIVE mode is selected, the server sends (periodically) a synchronization
broadcast message. In ACTIVE mode the server will answer too each request from a client.
Device or Broadcast IP: Only available in ACTIVE mode. Ethernet port or IP address where the server will send
the synchronization broadcast message.
Frequency: Only available in ACTIVE mode. Time (in seconds) between broadcast messages.
If you need set the RTU as an IRIG server, please, select IRIG tab and configure the IRIG, check IRIG Server and select
the format (only B is available), and the code used (IRIG-B002, IRIG-B003, IRIG-B006 and IRIG-B007).
Information will be displayed in table format. For example, if Status is selected, the status table will be shown:
This window shows all status points in coreDb. Each point has an associated name, description, producers (sources) that
will update the point's information (value, timestamp, quality flags, etc.) and the consumers (destinations) that will retrieve
the information.
On the other hand, when you are configuring the local acquisition, you can use button in order to generate
automatically all acquisition data points in coreDb.
If the user right-clicks on the Name field of a non-selected cell, the menu will be:
If the user right-clicks on the Name field of a blank register, the menu will be:
Add point from char separated text: The file with the name to add is specified, separated by a character, which
is entered in the “Separation Character” field.
Modify Points from script: All selected points will be modified using a series of names with a common part and
a variable one. The number of the generated points by the script must be the same that selected points.
Modify Points from textbox: All selected points will be modified using a list of points indicated in a text box.
Split in two points: Duplicates the selected point. This option is used to create two simple points from one
double. For example, this is useful when transferring points to ISaGRAF.
Clone Selected: The content in this cell is copied on the selected cell.
Incremented Selected: The content in this cell is incremented and copied on the selected cell.
5.5.2 Search
Each tab corresponding to coreDb has a set of buttons with a common functionality:
Table in coreDb
Column Description
S A C P
Blocked √ √ If it is checked, the value is allocated manually. All its sources are ignored.
Non Volatile √ √ √ √ If it is checked, the point value is stored in NVRAM (non-volatile RAM) to
avoid an information loss during a power-off and an RTU reboot. This box is
ignored in the initial database load and the point will obtain the “INIT
VALUE”. (HU250 doesn’t support this feature).
Shared Publish √ √ The point’s value can be accessible for other RTUs connected to the control
system. If this column is checked, the point is stored in the RTU database
and will be accessible by the rest of the system. If this case, information in
tab dbNET must be complain.
Shared Subscribe √ √ If it is checked, SOURCE columns in this point must be empty. The point is
stored in an external database (in other RTU). In this external database,
this point must be defined as publish.
Engineering units √ It allows a unit conversion for the information source. If it is checked, the
Convert following four fields are available to define the conversion straight.
Engineering units √ Minimum value of the straight entrance (RAW). Only available if
Min raw “Engineering units Convert” is checked.
Engineering units √ Maximum value of the straight input (RAW). Only available if “Engineering
Max raw units Convert” is checked.
Engineering units √ Minimum value of the straight output (EGU). Only available if “Engineering
Min Egu units Convert” is checked.
Engineering units √ Maximum value of the straight output (EGU). Only available if “Engineering
Max Egu units Convert” is checked.
Alarm Use √ It allows define up to four types of alarms to be set which are triggered
when they cross a defined threshold value. These limits are defined with the
following four fields (Lowest limit, Low limit, High limit, and Highest limit).
Alarm Lowest limit √ Lowest limit associated to this point. If it is crossed, an alarm is triggered,
an event is generated and sent to all destinations and QF (quality bit) =
0x00000800. This field is only available if “Alarm Use” is checked.
Alarm High limit √ High limit associated to this point. If it is crossed, an alarm is triggered, an
event is generated and sent to all destinations and QF (quality bit) =
0x00000200. This field is only available if “Alarm Use” is checked.
Alarm Highest limit √ Highest limit associated to this point. If it is crossed, an alarm is triggered,
an event is generated and sent to all destinations and QF (quality bit) =
0x00000100. This field is only available if “Alarm Use” is checked.
DESTINATION √ For Analog points, it is possible to configure a change threshold for each
THRESHOLD destination. This threshold allows all destinations to update their value by
events instead of by polling
NOTICE
Engineering units limits are only available if “Engineering units Convert” is checked.
Alarm limits are only available if “Alarm Use” is checked.
Information points can be selected graphically. Right-click on the Source or Destination Device and select “Select Device”
or select the Device and right-click on the coordinate field and select “Launch Point wizard”. The displayed window will
depend on the Device selected.
For example, the following window will appear for the supervision Device in a Saitel DP RTU:
Example 1 - Using masks to create two simple points from one double
This is useful when transferring points to ISaGRAF. The following example shows how to change from a double point from
the local acquisition (Saitel DR local acquisition Device) to two simple ISaGRAF points, using the mask.
Example 2 - Using masks to create two simple Modbus points from one double IEC104 point
The mask is also applied to coreDb points to map the quality bits corresponding to another point in a database point (by
applying a mask).
Press button to check the information in coreDb before sending it to the CPU. Press button to stop the current
check.
Button allows you configure for each table if the field Description is loaded on memory or not.
Button allows you import databases from an Excel® file to the coreDb of the configuration. Press this button and
select the file with the information to be imported.
You have to select if the information to import will overwrite the information in coreDb or if it will be added. If the chosen
Excel file does not exist, the importing process is cancelled and an error message appears.
NOTICE
To perform a successful data import, no empty rows can be found in the top or middle rows of a table.
During the importing process, the tool performs pre-validations to incorporate the points to coreDb. The tool verifies that
the point's attributes comply with database rules:
Field length
Allowed characters.
Valid value range.
This tool also validates the coordinates of each Device point, defined as source or destination for another point. These
verifications can also be performed as explained in the previous section.
In the Log console information messages about the process are shown.
An import is successful if all points in the Excel file have been seamlessly inserted in coreDb. Should there be an error due
to the validation criteria, this point will not be inserted in the database and the console will display an error message. For
example:
Button allows exporting the information stored in coreDb to an Excel file. This file can be used in order to import data
in other configurations, as explained in previous section.
For Saitel DP, you can configure up to 5 (LAN) devices through which coreDb points are to be published. For Saitel DR,
the maximum number of devices is 3:
You have to configure a Data Publishing Device for each element publishing coreDb points. A “Data Publishing Device”
can be a network interface or the broadcast address of another network.
Limits to be taken in account are:
Only status and analog points can be shared.
A maximum of 32 status points can be published.
A maximum of 32 analog points can be published.
A maximum of 128 status points can be subscribed.
A maximum of 128 analog points can be subscribed.
By selecting tab dbRED in the coreDb configuration window, the user can configure the redundancy:
Easergy Builder 01.00.20 5-11
Figure 5-19 – Configuring dbRED (Redundancy control).
5.8.1 Control
The redundancy can be controlled using two different mechanisms:
MSAC module. (Check field MSAC in Control zone). This is a legacy hardware that manages the switchover of
CPUs as well as other supervisory features.
RCAP protocol (Redundancy Control Asynchronous Protocol). In this case, there is a redundant switching
channel between the CPUs, which is used to manage the switching operation using a Schneider Electric-
proprietary protocol.
“Via #1” and “Via #2” will be available when “Protocol” is selected:
o BACKPLANE. Only available for Saitel DP and only when both CPUs are installed on the same backplane.
Communications will be established by UDP over SLIP, over the backplane’s serial port.
o NET (by Ethernet). It is necessary configure the specific IP addresses used to exchange RCAP information
between CPUs A and B.
o SERIAL. Two dedicated serial ports (“/tyCo/…”) in each CPU will be used to carry the RCAP information.
5.8.2 Mode
Two different redundancy modes are available:
Cold: There is no coreDb synchronization between the two CPUs. When a switchover occurs, the new ONLINE
CPU will start using its own coreDb with default values.
Hot: There is a high speed communication channel (Ethernet o backplane) between the two CPUs, which is used
to update the BACKUP CPU’s database with the ONLINE CPU’s database. When a switchover occurs, the new
ONLINE CPU starts with updated values.
NOTICE
In Hot mode, database IDs must be identical, i.e., it is very important to use the SAME Easergy Builder Configuration in
both CPUs.
5.8.3 Bus
The Bus field indicates if the CPUs share the same Profibus or not (SHARED or DIFFERENT, respectively), regardless of
whether they are in the same backplane or use RS-485 expansion. This is useful to detect failures in dual redundant
systems.
o SHARED: Only available for Saitel DP. In this case, the bus of the STANDBY CPU is disabled.
o DIFFERENT: If checked, the bus is enabled even if the CPU is in STANDBY mode, so it can receive
diagnostics from the modules.
Transfer the general parameters to the RTU (only users and interfaces)
Please, be sure that you can execute a ping command and the answer from the RTU is correct.
Create a Configuration
Press button to insert in coreDb all points for this ITB. Selecting tab “coreDb” you can see these points into each table.
You can now define Channels, Synchronization and any other devices depending on your system architecture.
For more information about the configuration of the local acquisition in Saitel DR consult the manual “Configuration &
Startup of Saitel DR”. For more information about each Device, please, consult its manual.
Transfer the configuration files to the RTU (all information except users and interfaces)
Using Easergy Builder you can after modify all parameters associated to this FRTU or its configurations:
- Network and modem parameters : See xx
- Synchronisation parameters : See xx
- System of events : See xx
- Create formula : See xx
-
For the following items please refer to:
- Master and Slave protocols
- ISaGRAF program: See xx
With this initial configuration, you can after customize your T300 (add slave or master protocol, create your data mapping,
manage your system of events….)
End command timeout (in seconds): Timeout for completion of the command in progress (from 1 to 40). Default
value: 35 s.
Request validity (in seconds): Timeout to accept a request for execution of a command (from 1 to 10). Default
value: 2 s.
24/48 management: Check this box to enable management of the PS50 power supply.
Motor fault timeout: Timeout for detecting the change from 1 to 0 at the point of failure of the motor output (from
1 to 10). Default value: 5 s.
Switch off timeout: Timeout for sending the power-off command to the PS50 (from 1 to 10). Default value: 5 s.
The LIOC controller is used to manage HMI and digital inputs outputs of HU250 device. It manages:
HMI buttons and LEDs.
Digital Inputs / Outputs.
PT100 probe.
You can configure the following parameters:
Where:
Led 1: AC supply indicator.
Led 2: 24/48V supply indicator.
Led 3: 12V Telecom indicator.
Led 4: Ext. 12V supply failure indicator.
Led 5: Battery fault indicator.
Led 6: Generic indicator 1.
Introduction
This appendix shows all expressions allowed to be calculated. In this section, following terms can be used:
dbValue: Is an structure which contains a value, quality flag and timestamp.
Expression: Any of the defined functions, operations, coreDb point name or constant value.
Invalid quality flag: Quality flag with the bit IV_LQF active. If a coreDb point has NT_LQF, NT_RQF, IV_RQF
active, IV_LQF will make active internally by formula Controller.
Good quality flag: Not Invalid Quality flag.
Controller start time: Timestamp corresponding with the moment when the controller started.
NAN: Not a Number (0x7FFFFFFF at HU_A platform). It is used when a result cannot be calculated.
The coordinates are fixed and are always mapped as status, command, analog or setpoint source and its coordinate name
must follow the structure of the implemented triggers or expressions, described on the previous section
Examples of valid expressions (mapped as source coordinate names) are:
SCALE(NOT(input2)+2,TEMPO(DPSTOSPS(input3),2*MIN(4-SPSTODPS(input5),input4)),input1)
MAX(8*NOT(input1), (input2+input3)/2) * (TEMPO(input4, 10)+SPSTODPS(input5)) / 2
OR(input1, NOT(input2)-1, MIN(0, input2)) – (-MAX(0,input1) / DPSTOSPS(input3))
-(input1 * NOT(input2) / (MAX(2, input2) + 1))
AND(input1 > input2, MAX(1, FORM_CYCLETIME) == FORM_PERIOD/2, IF(input2, input1+1, 2))
If any of the points mapped for formula as source is wrong introduced, it will be set as INVALID and will not be considered
during calculation process at entry, since this point will not be included in the list of formulas.
Examples of valid triggers (mapped as destination coordinate names) are:
input1:EVENT
input2:VAL:-2.34
input3:VAL:1
In this case, we are supposing that input1, input2 and input3 are coreDb point names defined on status, analog, command
or setpoint tables.
These coreDb points also have a formula source coordinate expression to be calculated. If not, the trigger will not be taken
into account and deleted from memory.
If (input.value != !previousResult)
output.value = !input.value
Output timestamp and quality flag values will be the same as input.
If input value is equal to NAN, the result value will be NAN (0 at status or command) with quality flag sets to invalid and
timestamp equal to writing time.
Example
NOT (input1)
Given that input1 is a coreDb point name, NOT function will return:
0 if input1 is different to 0.
1 if input1 is equal to 0.
Quality flag will be always the same as input1 quality flag.
Output timestamp will be the same as input1 timestamp.
Where:
notWaitTime is a flag that indicates if the algorithm is not waiting (when it is equal to 1) the seconds indicated by
time.value to change the la_outputVal to a value different to 0.
cntTime stores the time when input.value changed to a value different to 0.
time.value_ms is the value of time.value in milliseconds, converted to be compared with the system counter
(sysCnt1mlsg()) which value is returned in ms.
LOCAL_NOW() is a macro which returns the local time of the RTU at this moment.
Example
TEMPO (input1, 10)
Given that input1 is a coreDb point name, TEMPO function will return:
0 if input1 is equal to 0.
A value equal to input1.value if it is different to 0, and this value has been written 10 seconds or more before.
Input variable last bit Input quality flag Calculated value Quality returned Timestamp returned
value (input.value) (output.value) (output.tSpec)
(input.qFlag) (output.qFlag)
0 GOOD 1 Same as input Same as input
1 GOOD 2 Same as input Same as input
X IV_LQF, IV_RQF, Same as input
3 Same as input
NT_LQF or NT_RQF
The input value is always casted as long integer.
This function is implemented according to the following pseudo-code:
If(If (input.qFlag == IV || input.qFlag == NT) output.value = 3
Else if (input.value & 1 == 0) output.value = 1
Else if (input.value & 1 == 1) output.value = 2
The quality and timestamp returned are the same as input.qFlag and input.tStamp respectively.
If input value is equal to NAN, the result value will be NAN (0 at status or command) with quality flag as invalid and
timestamp equal to writing time.
Example
SPSTODPS (input1)
Given that input1 is a coreDb point name, SPSTODPS function will return:
3 if input1 quality flag has IV_LQF, IV_RQF, NT_LQF or NT_RQF set to 1.
1 if input1 last bit is equal to 0.
2 if input1 last bit is equal to 1.
Output quality flag will be always the same as input1 quality flag.
Output timestamp will be the same as input1 timestamp.
Example
DPSTOSPS (input1)
Given that input1 is a coreDb point name, DPSTOSPS function will return:
0 as output.value and input.qFlag | INVALID as output.qFlag if input1 value is equal to 0 or equal or greater than
3.
0 as output.value and input.qFlag as output.qFlag if input1 value is equal to 1.
1 as output.value and input.qFlag as output.qFlag if input1 value is equal to 2.
Output timestamp will be the same as input1.
Output timestamp will be the same as input2 timestamp when it got its minimum value.
Example
OR (input1, 1, input2)
Given that input1 and input2 are coreDb point names and their values are equal to 0, OR function will return 1 as
output.value. The quality flag and timestamp will come from the constant input equal to 1 (GOOD quality flag and
Controller start time as timestamp):
If input1 value changes to a value different to 0, AND function will return 1 as output.value. The quality flag and
timestamp will come from input1 since is more recent than the constant input.
If input2 value also moves to a value different to 0, AND function will return 1 as output.value. The quality flag
and timestamp will depend on:
o If input1 and input2 quality flags are GOOD type, the output quality flag and timestamp come from the most
recent of the inputs.
Output timestamp will be equal to the timestamp value of the input which set the quality flag.
If any of the input values are equal to NAN, AND function result will be NAN (0 at status or command) with invalid as
quality flag when none of them are equal to 0.
Example
AND (input1, 1, input2)
Given that input1 and input2 are coreDb point names and their values are equal to 0, AND function will return 0
as output.value. The quality flag and timestamp will depend on:
o If input1 and input2 quality flags are GOOD type, the output quality flag and timestamp come from the most
recent of the inputs.
o If input1 or input2 quality flags are not GOOD type, the output quality flag and timestamp come from the input
with GOOD quality flag type.
o If input1 and input2 quality flags are not GOOD type, the output quality flag and timestamp come from the
most recent quality flag.
Example
MIN (3, input1)
Given that input1 is a coreDb point names, MIN function will return the minimum value of input1.value during 3
days. Once the 3 days are reached, the days counter will start again. The output quality flag and timestamp will
be equal to input quality and timestamp, respectively, when the minimum value was reached.
Example
MAX (15, input1)
Given that input1 is a coreDb point names, MAX function will return the maximum value of input1.value during 15
days. Once the 15 days are reached, the days counter will start again. The output quality flag and timestamp will
be equal to input quality and timestamp, respectively, when the maximum value was reached.
Example
SCALE (2, 0.5, input1)
Given that input1 is a coreDb point names, SCALE function will return the result of:
output.value = 2*input1.value + 0.5
output.qFlag = input1.qFlag
output.tSpec = input1.tSpec
Example
IF(1, input1)
Given that input1 is a coreDb point names, IF with two parameters will return always the value, quality Flag and
timestamp from input1.
Example
IF(0, input1,input2)
Given that input1 and input2 are coreDb point names, IF with three parameters will return always the value,
quality Flag and timestamp from input2.
If any of the input values are equal to NAN, the result value will be set as NAN (0 at status or command) with invalid output
quality flag
Example
input1 + input2
Given that input1 is a coreDb point name, this function will return the result of:
output.value = input1.value + 3
output.qFlag = input1.qFlag
output.tSpec = input1.tSpec
If any of the input values are equal to NAN, the result value will be set as NAN (0 at status or command) with invalid output
quality flag.
Example
-(-input1 – input2 – MIN(4, input3))
Given that input1, input2 and input3 are coreDb point names, the function will return, once each parameter gets
its values:
output.value = - (((input1.value - input2.value) - MIN(4,input3)))
Calculating it from left to right.
output.qFlag = input1.qFlag | input2.qFlag | MIN(4, input3).qFlag
In this case, the output quality flag is adding the quality flag values from each inputs, with type different
to constant. The last one, is the returned value of MIN(4, input3) quality flag returned.
The output.tSpec will be equal to the most recent between input1.tSpec, input2.tSpec and the returned
timestamp from MIN(4, input3) calculation.
If any of the input values are equal to NAN, the result value will be set as NAN (0 at status or command) with invalid output
quality flag.
Example
(input1 + input2) * 4 + MIN(4,input3)
Given that input1, input2 and input3 are coreDb point names, the function will return, once each parameter gets
its values:
Firstly, it calculates the value of input1.value+input2.value, then this result is multiplicated by 4 and,
finally, the value of calculate MIN(4,input3) is added:
output.value = (((input1.value + input2.value)*4) + MIN(4,input3))
Calculating it from left to right, having into account that multiplication has higher precedence than plus
operation, but less than brackets.
output.qFlag = input1.qFlag | input2.qFlag | MIN(4, input3).qFlag
In this case, the output quality flag is adding the quality flag values from each inputs, with type different
to constant. The last one, is the returned value of MIN(4, input3) quality flag returned.
The output.tSpec will be equal to the most recent between input1.tSpec, input2.tSpec and the returned
timestamp from MIN(4, input3) calculation.
If any of the input values are equal to NAN, the result value will be set as NAN (0 at status or command) with invalid output
quality flag. Besides, if the second input value is equal to 0, the returned value will be also NAN (0 at status or command)
with invalid output quality flag.
Example
3 + input1 / NOT(input2)
Given that input1 and input2 coreDb point names, the function will return, once each parameter gets its values:
Firstly, it calculates the value of input1.value/NOT(input2), then 3 is added to this previous result.
output.value = (input1.value / NOT(input2)) + 3
Calculating it from left to right. Besides, division calculation has higher precedence than plus or minus
operation.
output.qFlag = input1.qFlag | NOT( input2).qFlag
In this case, the output quality flag is adding the quality flag values from each inputs, with type different
to constant. The last one, is the returned value of NOT(input2) quality flag returned.
The output.tSpec will be equal to the most recent between input1.tSpec and the returned timestamp
from NOT(input2) calculation.
If NOT(input2) result value is equal to 0 (so input2.value is different to 0), when the division operation is
done, its result is equal to NaN (0 at status or command) and it is inherited to the complete formula.
If any of the input values are equal to NAN, the result value will be set as NAN (0 at status or command) with invalid output
quality flag.
Example
input1 > 2
Given that input1 is coreDb point name, this function will return 1 if input1.value is greater than 2. If not, the
returned value is equal to 0:
output.qFlag = input1.qFlag
output.tSpec = input1.tSpec
If any of the input values are equal to NAN, the result value will be set as NAN (0 at status or command) with invalid output
quality flag.
Example
(input1 + input2) * 4 < MIN(4,input3)
Given that input1, input2 and input3 are coreDb point names, the function will return, once each parameter gets
its values:
Firstly, on one side, it calculates the value of input1.value+input2.value, and then this result is
multiplicated by 4. On another side, MIN(4,input3) is calculated. Both sides are compared, and if the first
one is the lowest, the output.value is equal to 1. If not, output.value is equal to 0.
output.qFlag = input1.qFlag | input2.qFlag | MIN(4, input3).qFlag
In this case, the output quality flag is adding the quality flag values from each input, with type different to
constant. The last one, is the returned value of MIN(4, input3) quality flag returned.
The output.tSpec will be equal to the most recent between input1.tSpec, input2.tSpec and the returned
timestamp from MIN(4, input3) calculation
If any of the input values are equal to NAN, the result value will be set as NAN (0 at status or command) with invalid output
quality flag.
Example
input1 == 3
Given that input1 is coreDb point name, this function will return 1 if input1.value is equal to 3. If not, the returned
value is equal to 0:
output.qFlag = input1.qFlag
output.tSpec = input1.tSpec
VARIABLES
There are two special variable names used in the Formula Controller. They are:
FORM_PERIOD
This variable name will get the value of the configured maximum entry time between cycles.
NOTICE
In this version, this time is fix to 0 and cannot be changed in Easergy Builder. This functionality will be implemented in
following versions.
Its quality flag is equal to 0 (GOOD) and its timestamp is the date of the Formula Controller initialization.
FORM_CYCLETIME
This variable name gets the last duration of the Controller entry calculation. Its unit is in milliseconds.
Its quality flag is equal to 0 (GOOD) and its timestamp is the local date of the end of the last formula calculation cycle time.
If any of these variable names are set up as coreDb point names, the Formula Controller will get them as a normal coreDb
point name variable.
CONSTANT VALUE
Formula Controller accepts a constant value (integer or float, positive or negative) as coordinate. In this case, the
coordinate numeric value will be copied as its value.
DB DataBase.
DD Day.
DI Digital input.
DO Digital output.
DPI Dots Per Inch. Measure of spatial printing or video dot density.
EN English language.
HH Hour.
HU Head unit.
IP Internet Protocol.
Login Operation which allows a user through a name and password, access a session on the tool.
mm Millimeter.
MM Month.
NN Minute.
OS Operating System.
PC Personal Computer.
Rev Revision.
RTOS Real Time Operating System. An operating system is considered to be in real time if it can
guarantee that the time of execute a given task always lies within a specified constraint.
RTU Remote Terminal Unit
SS Second.
Webtool Maintenance and monitoring tool of the BaseLine Software Platform. Evolution of CATweb
Tool.
Windows PC operating system with a powerful graphic interface.
YY Year.
+34 95 541 33 75
+34 95 492 09 92
www.schneider-electric.com
[email protected]
BaseLine Software Platform
© 2016 All rights reserved. The information contained in this document is confidential and is owned by Schneider Electric. It cannot
be copied or distributed in any way, unless there is express written authorization by Schneider Electric. Although this information