Skip to main content

WEBfactory 2010

WEBfactory Server SDK

Abstract

Check out these articles and learn how to setup and use the WEBfactory Server SDK, by following out these indications.

System Requirements

Ewon by HMS Networks Server SDK is an optional module for WEBfactory 2010. It provides libraries, this documentation and some sample code to support the development of own Ewon by HMS Networks connectors.

In order to develop own Ewon by HMS Networks Connectors you need a Visual Studio development system with an actual WEBfactory 2010 installation.

Installing WEBfactory 2010

Please refer to the Installing WEBfactory 2010 section of the Knowledge Base to learn how to install WEBfactory 2010:

Installing Visual Studio Development Environment

All sample code was done with Visual Studio 2010 and C#. It is also possible to work with Visual Studio 2005 or Visual Studio 2008. We do not support Visual Studio 2003 anymore.

Please refer to the Installing Visual Studio guide on the MSDN website:

Licensing

Ewon by HMS Networks Server SDK has a testing period of 90 days and needs to be licensed with a dongle or software license for each run time installation.

Overview of the System Architecture

Not long ago Ewon by HMS Networks server could only be connected through OPC sewers. All PLCs or other devices need to have an OPC server in order to communicate with Ewon by HMS Networks Server:

Former Architecture

Often customers need to define their own data sources. Here are some applications:

  • Own hardware devices connected through proprietary protocol [Serial bus, USB, ...]

  • External information that is sent with TCP/IP sockets

  • Information from other software like ERP or recipe management that is stored inside database

Since it is not easy to implement an own OPC Server, Ewon by HMS Networks decided to publish a native interface to Ewon by HMS Networks Server as Ewon by HMS Networks Server SDK.

New architecture with Custom Connectors

A module that uses Ewon by HMS Networks Server SDK to communicate with Ewon by HMS Networks Server is called Connector. It can feed any information to the Ewon by HMS Networks system, The sample above shows one connector that provides information from a database and a second one that gets information from a custom device.

Advantages of Custom Connectors

All signals from custom connectors can be used like "normal" OPC items;

  • Display status its status or analog value inside Silverlight application with standard Ewon by HMS Networks controls

  • Let the operator change its value with Ewon by HMS Networks standard Silverlight controls with integrated Ewon by HMS Networks security

  • Check its value with alarm conditions generate alarms inside alarm controls

  • Send service team messages with Messenger Pro

  • Acquire historical data and display it inside chart control or reports

With all these advantages it is possible to create highly integrated applications.

“Easy To Use" Interface

All Custom Connectors need to handle just a couple of methods and events to communicate with Ewon by HMS Networks Server. These methods are located within a two classes called WFServerConnector and WFServerClient. The interfaces of these classes are described in the following chapters.

WFServerConnector provides methods and events to create own Ewon by HMS Networks signals.

WFServerClient provides methods and events to access already existing Ewon by HMS Networks signals from other connectors or OPC Servers.