OpcDbGateway enhancements, configurations and process databases
OpcDbGateway enables integration of software applications to collect, process and visualize data from different devices and data sources.
It is application software development environment consisting of IDE (GUI) for creating and debugging applications and a runtime engine/application without IDE. GUI is a configuring application (Configurator) that enables configure connections to different data sources as databases, OPC server/client applications, DDE servers using different wizards providing high effectivity. It also enables to configure application logic using configurable commands. The base functionality of the product can be enhanced by custom programmed modules. This repository contains examples of custom programmed modules configurations and process databases.
- Product web
- OpcDbGateway downloads: first, second
- Documentation pdf, web
SAEAUT SCADA software package has the same functionality as OpcDbGateway but it contains also universal web UI.
- Product web
- SAEAUT SCADA downloads: first, second
- Documentation pdf, web
An example of enhancement DLL can be found in installation packages of above-mentioned products. Other enhancements will be published in this GitHub repository. Here will be published also links to OpcDbGateway enhancement DLLs, configuration databases and process databases from external contributors.
Standard installation places different files and directories to your directory structure. Because of this, when you use demo configurations and database from these GitHub repositories it is necessary to adapt following settings:
- Placement of data produced by application e.g. log files: in my case, they are placed in directory C:\Users\palacka.SAEAUTOM2\Documents\SAEAUT SCADA\Data as can be seen in Figure 1. After installation SAEAUT SCADA, you can see default placement of your directories by using installed demo-configuration ExampleConfiguration.ODG. You can copy/paste this directory to a configuration that you have downloaded from this Github repository
Figure 1. Path to log files and other data directories )
- Connect string to default process database - you can also use connect string from installed ExampleConfiguration.ODG like in Figure 2.
Figure 2. Connection string to log files and other data directories
Anyway, before using any configuration from this Github repository, it is useful to use the configuration checking functionality of the OpcDbGateway configurator and solve all errors and warnings.
Easy configuration for publishing of messages from OpcDbGateway runtime to MQTT broker.
For those who are starting to develop their own applications using OpcDbGateway, it may be interesting to have a detailed description of each step in creating an application to simulate a simple dynamic system - processed by high school student. It demonstrates:
- Basic concepts of implementing application logic using configurator,
- connecting of DDE servers,
- working with process database,
- visualization of OpcDbGateway application using MS Excel.
The project demonstrates:
- Creation of plugins for OpcDbGateway using standard streams,
- parameterizing of continuously running plugin from configuration,
- publish/subscribe communication with MQTT broker.