Jump to: navigation, search

Difference between revisions of "OPC UA (Plugin)"


(Prerequisites)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
The {{UBIK}} [http://en.wikipedia.org/wiki/OPC_Unified_Architecture OPC Unified Architecture] interface module enables interfacing between a {{UBIK}} server and any OPC UA compliant data source in a bidirectional manner.
 
The {{UBIK}} [http://en.wikipedia.org/wiki/OPC_Unified_Architecture OPC Unified Architecture] interface module enables interfacing between a {{UBIK}} server and any OPC UA compliant data source in a bidirectional manner.
 
==Overview==
 
  
 
==Prerequisites==
 
==Prerequisites==
 +
[[File:UI_OPCUA_Certificate.png|border|thumb|Export Certificate]]
 
The {{UBIK}} OPC UA components are acting as an OPC Client, therefore a secure connection to the respective OPC Server needs to be established in order to be able to communicate. The security standards that need to be applied are highly dependent on the server configuration and security infrastructure, but normally at least a client certificate needs to be issued that has to be trusted by the server:
 
The {{UBIK}} OPC UA components are acting as an OPC Client, therefore a secure connection to the respective OPC Server needs to be established in order to be able to communicate. The security standards that need to be applied are highly dependent on the server configuration and security infrastructure, but normally at least a client certificate needs to be issued that has to be trusted by the server:
  
 
# Open a command box on the {{UBIK}} server with administrator privileges (''"Run as administrator..."'')
 
# Open a command box on the {{UBIK}} server with administrator privileges (''"Run as administrator..."'')
# Run the program ''CreateCertifcate.exe'' from the archive [[File:CreateCertificate.zip]]
+
# Run the program ''CreateCertifcate.exe'' from this archive {{FileLink|CreateCertificate.zip|CreateCertificate.zip}}
 +
# ''CreateCertifcate.exe'' can be controlled via command line parameters, "CreateCertificate.exe -?"
 
# Open the program ''Manage computer certificates'' (typically ''C:\WINDOWS\System32\certlm.msc'')
 
# Open the program ''Manage computer certificates'' (typically ''C:\WINDOWS\System32\certlm.msc'')
 
# Navigate to ''Personal - Certificates'' and find the certificate named ''UBIK OPCUA Interface''  
 
# Navigate to ''Personal - Certificates'' and find the certificate named ''UBIK OPCUA Interface''  
 
# Export the certificate and trust it on your OPC server
 
# Export the certificate and trust it on your OPC server
  
[[File:UI_OPCUA_Certificate.png|Export Certificate]]
+
[[Category:OPC|OPC UA (Module)]]
 +
[[Category:Plugin|OPC UA (Plugin)]]
  
 
=={{UBIK}} Activities==
 
=={{UBIK}} Activities==
 
 
{| class="wikitable sortable" | width = "50%"
 
{| class="wikitable sortable" | width = "50%"
 
|-
 
|-
 
! Activity!! Category !! Purpose (Short)
 
! Activity!! Category !! Purpose (Short)
 
|- align="left"
 
|- align="left"
| [[CreateOPCUAConnection (Activity)|CreateOPCUAConnection]]|| UBIK OPC UA Interface  || Creates a new connection to an OPC UA data source
+
| [[Activity:CreateOPCUAConnection (Activity)|CreateOPCUAConnection]]|| UBIK OPC UA Interface  || Creates a new connection to an OPC UA data source
 
|- align="left"
 
|- align="left"
| [[ConfigureOPCUAVariable (Activity)|ConfigureOPCUAVariable]]|| UBIK OPC UA Interface  || Configures a single OPC variable in a connection for later access
+
| [[Activity:ConfigureOPCUAVariable (Activity)|ConfigureOPCUAVariable]]|| UBIK OPC UA Interface  || Configures a single OPC variable in a connection for later access
 
|- align="left"
 
|- align="left"
| [[CreateOPCUAScope (Activity)|CreateOPCUAScope]]|| UBIK OPC UA Interface  || Defines a scope in an OPC UA connection wherein variables can be accessed
+
| [[Activity:CreateOPCUAScope (Activity)|CreateOPCUAScope]]|| UBIK OPC UA Interface  || Defines a scope in an OPC UA connection wherein variables can be accessed
 
|- align="left"
 
|- align="left"
| [[AccessOPCUAVariable (Activity)|AccessOPCUAVariable]]|| UBIK OPC UA Interface  || Reads or writes a single configured OPC UA variable
+
| [[Activity:AccessOPCUAVariable (Activity)|AccessOPCUAVariable]]|| UBIK OPC UA Interface  || Reads or writes a single configured OPC UA variable
 
|- align="left"
 
|- align="left"
 
|}
 
|}
 +
 +
==Examples==
 +
Download example workflow {{FileLink|OPCReadVariables.uwf|OPCReadVariables.uwf}} for use against the OPC Quickstart Data Access Server.
 +
 +
== See also ==
 +
* [http://documentation.unified-automation.com/uasdkdotnet/2.3.1/html/namespaceUnifiedAutomation.html UA Bundle SDK .NET]
 +
* [[Activity:CreateOPCUAConnection_(Activity)|CreateOPCUAConnection (Activity)]]
 +
 +
[[Category:OPC|OPC UA (Module)]]
 +
[[Category:Plugin|OPC UA (Plugin)]]

Latest revision as of 09:38, 11 March 2024

The UBIK® OPC Unified Architecture interface module enables interfacing between a UBIK® server and any OPC UA compliant data source in a bidirectional manner.

Prerequisites

Export Certificate

The UBIK® OPC UA components are acting as an OPC Client, therefore a secure connection to the respective OPC Server needs to be established in order to be able to communicate. The security standards that need to be applied are highly dependent on the server configuration and security infrastructure, but normally at least a client certificate needs to be issued that has to be trusted by the server:

  1. Open a command box on the UBIK® server with administrator privileges ("Run as administrator...")
  2. Run the program CreateCertifcate.exe from this archive IC FileLink Download.png CreateCertificate.zip
  3. CreateCertifcate.exe can be controlled via command line parameters, "CreateCertificate.exe -?"
  4. Open the program Manage computer certificates (typically C:\WINDOWS\System32\certlm.msc)
  5. Navigate to Personal - Certificates and find the certificate named UBIK OPCUA Interface
  6. Export the certificate and trust it on your OPC server

UBIK® Activities

Activity Category Purpose (Short)
CreateOPCUAConnection UBIK OPC UA Interface Creates a new connection to an OPC UA data source
ConfigureOPCUAVariable UBIK OPC UA Interface Configures a single OPC variable in a connection for later access
CreateOPCUAScope UBIK OPC UA Interface Defines a scope in an OPC UA connection wherein variables can be accessed
AccessOPCUAVariable UBIK OPC UA Interface Reads or writes a single configured OPC UA variable

Examples

Download example workflow IC FileLink Download.png OPCReadVariables.uwf for use against the OPC Quickstart Data Access Server.

See also