You may have heard the terms OPC tunnel or tunneling of OPC data before and not have known exactly what the terms meant. In this blog post, we will explain what people mean when they talk about an OPC tunnel or tunneling of OPC data. In order to explain what the terms mean, we need to first understand how OPC data is exchanged between an OPC server and an OPC client.
To transfer OPC data from an OPC DA server to an OPC DA client, a Windows technology called COM is used. Your HMI software used in your operations is an example of an OPC DA client. The OPC server is the driver that is talking to your PLCs, DCS, or other control systems.
One possible application for a remote OPC client/server architecture is when multiple remote clients need data from the same controllers. A single OPC server might be installed on a separate, centrally-accessible computer to gain efficiencies in communication by not having those multiple clients making separate duplicate calls to the control hardware for the same data. Having those remote clients using their own drivers or separate local OPC server instances for each client would unnecessarily add excess bandwidth on the control network.
If the server and client are not on the same computer, and you're using OPC DA (Data Access) technology, then Distributed COM or DCOM is used. The problem with DCOM in networked OPC DA is that it is hard to configure and, when it does work, it leaves an attack surface open on your OPC DA computers, and it does not recover well from network interruptions, and requires configuration of Windows security.
Essentially, tunneling of OPC data minimizes the time, effort and expense required for connecting and sharing data between different computers, whether they are next to each other, on the same network in the same building, or on the other side of the globe.
See OPC Tunneling in Action in Our Video Tutorial
To learn more about the business impacts of not using tunneling for your OPC data, and reasons why you should seriously consider using tunneling instead of DCOM, the whitepaper “Four reasons to use tunneling for OPC data integration” is available.
In addition to our video tutorial you are welcome to download a OPC tunneler software application in trial mode and follow along with the video. You can also learn more about OPC tunneling solutions from Software Toolbox.