Static IMG (Flash replacement)

IconOpcDbGateway

data exchange between various sources

Order this product online:

This document is also available as PDF.
Current version overview:

OpcDbGateway OpcDbGateway represents a software product that can be categorized as a supervisory system. The basic feature is the data acquisition from external devices (sensors, actuator, programmable machines...), data processing, data storage in process databases and files, delivery of processed data to other applications. The system by its structure, based on paralel event data processing, periodical or single-shot launching of external programs and scripts at specified time, allows the user to build simple or complex applications for data mining and processing, logging, alarms, generating printed reports, control and monitoring of processes and communication infrastructure in a user-friendly and easy way.

OpcDbGateway

The system uses three basic software technologies of data transfer: OPC (Open Process Control), various database drivers and web services. Its access via web services allows to use it within service oriented architecture (SOA). It allows the creation of even relative complex systems with a great number of processed data by using an easy configuration instead of extensive programming. Besides number of commands available for the configuration of process databases, it uses also SQL language for programming extensive database operations.

Where OpcDbGateway can be used:

  • Industrial company unit/plant with more technological units controlled by own programmable logical controllers (PLC) from various vendors from which it is necessary to transfer acquired data into a corporate information system, store in database, visualise on intranet or internet, store information about alarms, call maintenance in case of a malfunction, store processed data in log files, analyse measured data trends for maintenance planning with the help of algorithms configured directly in OpcDbGateway or by launching an external program, monitor and log maintenance incidences, monitor and control the communication infrastructure (switches, routers, computers, WiFi devices) that means data transfer between technological units and the corporate information system...
  • A building in that many sensors (temperature, humidity, ...) are installed, it is necessary to control the air conditioning, analyse access to particular rooms...
  • A machine or technoloogical device that is necessary to monitor and control and where sensors and actuators of various vendors are used.
  • Testing of complex algorithms programmed with the help of specialised software utilities for modelling and simulation of dynamic systems and their interconnection with real data from/to a technological process.
  • Data cross connection of of different applications that have an OPC client interface.

It is possible to launch OpcDbGateway on any device that can run MS Windows, that means not only standard but also industrial computers. Interoperability of this system with many other platforms and systems is ensured by utilizing web services.

OpcDbGateway software package consists of:

  • configurator with user interface for creation, debugging and eventually monitoring of application configuration
  • runtime without user interface (implemented as NT service or as out of process server – exe that ensures the execution of all tasks defined in the application’s configuration (project)

Runtime consists of internal OPC client, implemented according to OPC DA 3.0 standard that cooperates with external OPC servers, synchronous controller (SoftPLC), that is processing data within pararell running tasks, and internal OPC server, implemented according to standards OPC DA 3.0, OPC AE 1.1 and OPC XML DA. The OPC server provides processed data to other external applications via OPC interface or web services. To access databases the runtime makes use of various drivers such as ODBC or other drivers that are available the operating system.

OpcDbGateway

OpcDbGateway implements various alarm systems – basic, based on the implementation of OPC AE 1.1. standard and enhanced that allows many operations to be performed based on various events, for example logical operators above multiple input variables, alarm status logging, database operations, etc. Enhanced alarm systems is shipped together with ActiveX controls for alarm management. It is possible to configure alarm log files archive, creation of new log files in a defined time or with a defined time period.

OpcDbGateway ensures the data persistency – that means after a restart, if necesary, it uses data stored before application shutdown. It watches the usage of own resources such as virtual memory, disk space for logs, reports, database, power source.

Messages stored in a log file or in a database can be saved in multiple languages and it is possible to define what values should be contained in a report.

Configuring OpcDbGateway

To configuration OpCDbGateway it is necessary to perform four steps as follows:

  1. definition of external OPC servers and data processed by them
  2. definition of particular process databases, waysof accessing them and their structure
  3. definition of operations that should be executed together with data in synchronous controller
  4. definition of internal OPC server’s address space

The configuration of external OPC server that provides data to/from a device can have a great number of variables. To transfer these variables into OpcDbGateway configuration, it possible to use the in-built external OPC server configuration mapping function and this way to save lot of work.

OpcDbGateway

Acquiring data from external OPC servers is possible by scheduled reading or based on notifications, in the latter case the transfer takes place only in the case of a relevant data modification. The data from external OPC servers are mapped in so called memory operands, for further processing in synchronous controller and also if a transfer is requested without previous processing, directly into adress space of the internal OPC server. SoftPLC works also with database operands matching particular process database values, entire columns in the table or even entire tables. Commands are executed over memory and database operands. Such command can have maximum of two input and one output operand. The output operand can be again a memory or database operand.

OpcDbGateway

The commands can be groupped in functional blocks. A functional block can be executed in each SoftPLC cycle – main block, one-time after start, restart, application shutdown or triggered by a timer, periodally at a scheduled time that is different from main SoftPLC period. A special type is represented by SQL commands that work directly with process databases without using database operands. The configuration structure consisted of individual functional blocks can be displayed in graphics directly in the configurator. By clicking on particular block it is possible to enter the edit mode of such block.

OpcDbGateway

Functional blocks can be nested and can have a priority of processing set. It is possible to execute number of arithmetical, trigonometrical, logical and statistical operationrs over operands. To database commands belongs also, for example, generating of current trend, statistical functions, extrapolation and search functions. The structure of process databases, their invidividual tables it’s possible to create in the configurator as well. It is possible to execute functional blocks synchronous and, to ensure input data persistency, paralell within SoftPLC period or asynchronous independent on main SoftPLC period, eventually in shorter period. The launch of an asynchronous functional block is executed immediately apart from synchronous that is waiting to synchronise with the main SoftPLC period. In the graphical viewer the synchronous functional blocks executed within main SoftPLC period are distinguished by placing double lines representing this period.

Testing OpcDbGateway configuration

After project configuration with the help of OpcDbGateway configurator it is possible to perform a syntax check of entire configuration. It is possible to jump to an error directly from the list of detected configuration errors.

OpcDbGateway OpcDbGateway OpcDbGateway

A running application can be tested in two ways – by using an in-built OPC client in the configurator, that is able to monitor the status of all OPC variables of the internal OPC server, including system variables that inform about application activity or with the help of messages stored in external log files. The range of logged information in log files and their file size can be configured. It is possible to log in detail the information about each executed operation, its duration, operands or to log just malfunction states of the OpcDbGateway system. User defined messages can be written into the log file too.

Usage of OpcDbGateway - summary

  • monitoring, management, control, processing and data archives from technology
  • processing and alarm management
  • generating reports
  • starting external programs
  • data provider between more OPC servers
  • interface between external OPC servers and a database system
  • executing of SQL commands for data manipulation in process databases
  • multiple database connections to process databases at the same time
  • sending of status information about monitored processes via e-mail

OpcDbGateway components and related services provided by our company

  • OpcDbGateway shipments
  • nonpayment and enhanced paid support for OpcDbGateway users
  • implementation of control systems and monitoring of technological processes by using OpcDbGateway
  • made-to-order development of functional blocks for OpcDbGateway, for example: regulation algorithms, number filters, message transport modules (eg. SMS, e-mail, ...)
  • development of OPC client applications
  • training courses for new or experienced users
  • development of OPC servers for various devices with the user of OpcDbGateway.

With the use of other our applications OPC Adapter for visualisation, SAEAUT SNMP OPC Server for control and monitoring of communication network infrastructure and together with other OPC servers of other vendors it is possible to create a really complex application for control, monitoring, alarming, visualisation, logging and data backup and database replication, printed reports management (see example picture below).

OpcDbGateway
ISO Certificate FP7 POBICOS project OPC Foundation Member
News
20 Jan 2010
OpcDbGateway enables access to various data sources using different communication protocols including DDE. There are many applications for Windows communicating using DDE or in a network using NET DDE. E.g., Excel is often used in integrated applications. The communications of the OpcDbGateway using DDE offers big flexibility in choosing of visualisation application for an application integrator. The DDE communication in OpcDbGateway is implemented as dll written in C++. The application integrator can modify it according own need and to enhance this way big amount of the configurable functions (not requiring programming) offered by OpcDbGateway.
09 Jan 2010
We have enhanced ways of our software licensing. Except of licensing for one specific computer, you can buy now also transportable license protected by USB dongle. This kind of licensing is offered for our OPC server/client products.
28 Sep 2009
Customer development of MCML applications. ...