Questions tagged [opc-ua]

The Open Platform Communications (OPC) Unified Architecture (UA), released in 2008, is a platform independent service-oriented architecture that integrates all the functionality of the individual OPC Classic specifications into one extensible framework. Use this tag on questions that concern Open Platform Communications Unified Architecture, in contrast to legacy OLE-based OPC.

The Open Platform Communications (OPC) Unified Architecture (UA), released in 2008, is a platform independent service-oriented architecture that integrates all the functionality of the individual OPC Classic specifications into one extensible framework.

is an interoperability standard that enables the secure and reliable exchange of industrial automation data while remaining cross-platform and vendor neutral. The specification, currently version 1.03, is developed and maintained by the OPC Foundation with the guidance of individual software developers, industry vendors, and end-users. It defines the interface between Clients and Servers, including access to real-time data, monitoring of alarms and events, historical data access, and data modeling.

From: https://projects.eclipse.org/projects/iot.milo

Useful Links

862 questions
2
votes
1 answer

Connection to device OPCUA

I'm using one certificate with his private key, this certificate is created with this conf : [ req ] default_bits = 2048 default_md = sha256 distinguished_name = subject req_extensions = req_ext x509_extensions = req_ext string_mask = utf8only…
Zmeyp
  • 21
  • 3
2
votes
1 answer

How to create cache in opcua asycio file

I want to create cache file for opcua server using opcua-asyncio, I have looked at opcua-asyncio github repository , but I did not understand enough, it was mentioned that cache can be created but nobody mentioned how can be cache created. so I am…
2
votes
0 answers

Visualizing an object with properties (and maybe properties of properties) with OPCUA .NET standard

My goal is to design an algorithm that can take any instance of a class from a big codebase, reduce it down to primitives or arrays of primitives (if needed), create opcua nodes for each object, and then write to those. At the moment my algorithm…
oiergoiergh
  • 115
  • 7
2
votes
1 answer

caused error while Importing opcua xml files

I have created testing_nodeset2.xml using siemens SiOME modelling editor , so first of all i imported opcua device , opcua machinery and opcua pump xml files into editor and then created own namespace using companion specification . finally i…
2
votes
1 answer

opcua-asyncio solution to error in watchdog loop

I have the problem that the connection between my client and an OPC UA server is interrupted every few days. The server publishes new values every two seconds, which the client receives via a pub sub and stores in a JSON. For the client I use a…
heMe
  • 35
  • 3
2
votes
1 answer

OPC UA Client python asyncua error when connecting and disconnecting

I have the following code which connets to a OPC UA Server and calls 2 methods: async def handle_error(): with open('traceback.txt', 'w') as file: file.write(traceback.format_exc()) async def main(): try: # Connect…
kirba22
  • 53
  • 4
2
votes
1 answer

How can I read/write an entire user-defined object to an OPC UA Server from OPC UA Client using C#?

I have a Siemens PLC which has an OPC UA Server on it. The image below shows the data I'm getting from browsing the nodes when I use the ReferenceClient.csproj found here https://github.com/OPCFoundation/UA-.NETStandard under the…
2
votes
2 answers

Adding security to OPC UA python server/client (Asyncua)

I'm new to OPC UA and Python, but with the asyncua examples, I created the example that I need for a real project. Now I need to add security to the server and client, and for now, using a username and password is fine. Here is my functional code…
2
votes
0 answers

Running OPC Server in a Docker container

I have a OPC Server created using the .net SDK running in a separate docker container inside a multi-docker environment. I want to use the IP Address of the Host Machine in the OPC UA Endpoint URL. So I gave ServerConfiguration.BaseAddresses =…
2
votes
1 answer

How to connect to an OPC-UA server which requires x509 certificate based user authentication using uaExpert based client

I am using the uaExpert as an OPC-UA client. I would like to make my client(uaExpert) support x509 certificate authentication methods. however, I generated x509 certificate using openssl then I attached that certificate and private key in uaExpert.…
Md Shahnewaz
  • 121
  • 4
2
votes
1 answer

How to add role permissions to a node in OPCFoundation OPCUA

I'm trying to add specific role permissions for specific users to a particular node. To do this I use this code: private BaseDataVariableState createThing(NodeId requestedNodeId, NodeId requestedDataType, string requestedBrowseName, BaseObjectState…
oiergoiergh
  • 115
  • 7
2
votes
1 answer

Opc.Ua "ServiceResultException: Endpoint does not support the user identity type provided." but Security Level is None

I'm trying to connect to a server with my C# application using the Opc.Ua Foundation library, but I'm getting: System.AggregateException: 'One or more errors occurred. (Endpoint does not support the user identity type provided.)' Server security is…
andboz
  • 37
  • 4
2
votes
2 answers

How to connect opcua server over https using python, that is opc.https

I tried this code import requests res = requests.post('https://localhost:53443/OPCUA/SimulationServer',…
2
votes
1 answer

Why shouldn't I enable auto accept servercertificate?

I have a OPC-ua server on a siemens s7-1200 plc. Now when I want to connect using an OPC client I made in .NET. I have the option to enable auto accept untrusted servercertificates. The documentation states that this should not be used in…
Victor Pieper
  • 540
  • 2
  • 17
2
votes
1 answer

OPC Publisher 2.8.4 : BadMonitoredItemIdInvalid

I'm running OPCPublisher and when I try to get some node's value I get this message: :"StatusCode":{"Symbol":"BadMonitoredItemIdInvalid","Code":2151809024}. I never had this problems in other servers. I use the same nodeId that UaExpert shows: My…