OPC Technology stands for “Open Platform Communications” and is an approved communication standard for the process industry. The OPC Unified Architecture (UA) is an interoperability standard and provides a secure and reliable data exchange mechanism. OPC UA is a platform-independent system and ensures information flow between devices from multiple vendors. For real-time data access, the OPC Data Access specification is being used.
This article applies to all TeamViewer Embedded users and requires TeamViewer Embedded Agent 2.11 or higher.
TeamViewer Embedded provides an OPC UA Connector that connects to the OPC UA Server and collects values from OPC UA Variables. The connector communicates with TeamViewer Embedded Cloud with the help of the Embedded Agent.
The setup contains three basic steps. Follow the sections in this article:
sudo teamviewer-iot-agent install opcua
In most cases, the OPC UA servers are configured by other companies. And the configuration is specific to the installation and the environment where it is being used. You need to configure the OPC UA Connector according to your server’s configuration by providing the URL of the server, security settings, and authentication options.
# Server Information EndpointURL="opc.tcp://localhost:46570" # Security Policy # 0 - None # 1 - Basic128Rsa15 # 2 - Basic256 # 3 - Basic256Sha256 # 4 - Aes128Sha256RsaOaep # 5 - Aes256Sha256RsaPss SecurityPolicy=0 # Message Security Mode # 0 - None # 1 - Sign # 2 - Sign & Encrypt MessageSecurityMode=0 # Authentication Settings # 0 - Anonymous # 1 - Username & Password # 2 - Certificate & Private Key AuthenticationType=0 # If "Username & Password" is selected Username="admin" Password="admin"