1661899738225 Randy Kondor Matrikon

OPC tunneling increases data availability

Sept. 27, 2005
OPC has quickly become the de facto open communication standard in the world of industrial connectivity. However, shortcomings in operating system components, particularly the security layer (DCOM), can lead to data loss.
By Randy Kandor, B.Sc. Eng. CompEOPC HAS QUICKLY become the de facto open communication standard in the world of industrial connectivity. It offers improved data connectivity, while dramatically lowering the cost of data transfer between devices and applications.OPC communication is layered on top of various Microsoft operating system components. These components function very well under typical LAN conditions (high bandwidth and reliable connections), but under less favorable conditions, their behavior can lead to unreliable data delivery, and even data loss. OPC Tunnelling provides a solution to this problem.OPC (OLE for Process Control) standardizes data sharing between plant floor devices (DCSs, PLCs, analyzers, etc) and software applications (such as HMIs, Process Historians, trenders, etc). No matter what the device is, data is always shared with an application in a standardized format. Of course, standards-based communication is only half the task – the other half deals with the actual method by which the data moves across the network.COM/DCOM: The infrastructure for OPC
OPC is built on Microsoft technology called COM, which stands for Component Object Model. It is a framework that defines how applications communicate with each other and share data. When OPC applications are installed on the same computer they use COM to exchange data. However, when installed on 2 separate PCs, then the COM messages are wrapped in a Microsoft security layer called DCOM (Distributed COM).Most OPC configurations involve the use of DCOM. There are circumstances where DCOM can experience timeouts that can lead to unreliable data delivery and even data loss. Such circumstances can include:
  • Hardware problems, such as a faulty network card, router or switch
  • System issues, such as an overloaded network
  • Inherently unstable network architectures that use satellite links, WAN, radio communication, etc.
It should be noted that most networks, even reliable ones, suffer from these problems from time to time.As an example, assume an OPC application has requested a value from another OPC application running on separate computer. After the request is sent, but before a reply is received, the network connection between the two applications is temporarily broken. In this case, the requesting application can be forced to wait for up to six minutes to realize that an error has occurred, even if the connection is immediately restored. Unfortunately, DCOM does not enable users to change the six minute timeout period.In the mean time, the requesting application simply waits for DCOM to reply, so that appropriate actions can be taken as needed. All process data for the application is unavailable during that time. While developers can create multi-threaded applications that monitor the DCOM connection and take corrective action, this adds a very high level of complexity and cost to the application.Tunnelling Eliminates DCOM Risks
OPC Tunnelling provides an alternative approach that eliminates the DCOM risk altogether. This technology uses standards-based TCP/IP communications instead of DCOM for carrying OPC messages. It provides users with configurable timeouts that are appropriate for the specific installation.In a typical setup, an OPC Tunneller application is installed on each of the two PCs in use (see the diagram below). Each OPC Tunneller communicates with the locally installed OPC application with OPC (using COM). The two OPC Tunneller applications then pass the OPC messages using TCP/IP, which eliminates the requirement for DCOM.
OPC Tunnelling offers other advantages over DCOM:
  • Users avoid the initial DCOM configuration problems
  • OPC applications can share data across different domains
  • Allows for tighter security in firewall configuration
  • Reduce bandwidth requirements considerably

Looking back
OPC is an accepted standard within the process control industry. Whenever possible, users should use the existing infrastructure: COM/DCOM. However, in cases where the underlying technology cannot accommodate the project’s specific needs, OPC Tunnelling provides a viable and reliable alternative.

Since its inception in 1996, the OPC Foundation has been working to build awareness and offer an alternative to exchanging data with proprietary drivers and application. The demand for OPC drivers and tools is increasing exponentially. More and more vendors and developers are working towards making their products OPC compliant. The ability for OPC to now tunnel its way across connections where DCOM may be inappropriate is just another step towards creating a truly open, robust and scalable solution for the process control industry.

Additional Resources:
Multimedia Tutorial
Matrikon OPC

Sponsored Recommendations

IEC 62443 4-1 Cyber Certification – Why ML 3 is So Important

The IEC 62443 Security for Industrial Automation and Control Systems - Part 4-1: Secure Product Development Lifecycle Requirements help increase resilience for control systems...

Multi-Server SCADA Maintenance Made Easy

See how the intuitive VTScada Services Page ensures your multi-server SCADA application remains operational and resilient, even when performing regular server maintenance.

Your Industrial Historical Database Should be Designed for SCADA

VTScada's Chief Software Architect discusses how VTScada's purpose-built SCADA historian has created a paradigm shift in industry expectations for industrial redundancy and performance...

Linux and SCADA – What You May Not Have Considered

There’s a lot to keep in mind when considering the Linux® Operating System for critical SCADA systems. See how the Linux security model compares to Windows® and Mac OS®.