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
0 answers

How to change the type of a value for OPC UA in python?

I'm searching for creating a program in python which reads a CSV file and writes in a wanted PLC the value we have chosen. Here is what I have for the moment: import csv from xmlrpc.client import Boolean from opcua import Client, ua, uamethod #…
2
votes
0 answers

How to implement a UA Server using Milo without any security/certificates?

I am trying to create a demo server using Milo SDK. I have looked at the ExampleServer.java but really confused what's going on with the certificates and security. I am unsure of what KeyStoreLoader and all the other aspects. I just want to create a…
2
votes
1 answer

Adding Notification Event to OPC UA Client C# application

I have not thus far enjoyed the seeming lack of development documentation for OPC UA Client, but I seem to have code close to doing what I want it to do. I am developing an integration to handle the notification events thrown from the OPC UA Server,…
Jonathan Hansen
  • 423
  • 1
  • 7
  • 14
2
votes
1 answer

OPCUA - Does the SimpleAttributeOperand have a duplicate node issue?

I'm wondering why the spec for SimpleAttributeOperand uses a browsePath list and not just a NodeId as the parameter. From my understanding, NodeId would uniquely identify a node object but instead, we use a browse path list as specified for…
dtc
  • 1,774
  • 2
  • 21
  • 44
2
votes
0 answers

OPC UA Server, how to add certificates and Encryption

I'm new to OPC UA Server and OPC Standards. I've go through the OPC Standards and downloaded the OPC UA Server sample application and executed it. I wanted to add security certificate and encryption to OPC UA Server. I can see…
Thanushka
  • 1,395
  • 5
  • 25
  • 54
2
votes
1 answer

Is accepting all client certificates considered insecure for a public OPC UA server?

I am aware of certificate chains when validating a client certificate. Still, this either puts a lot of burden on the server administrator or restricts clients, which can be unfavorable when implementing a public OPC UA server. An implementation of…
ttulka
  • 10,309
  • 7
  • 41
  • 52
2
votes
1 answer

Unrecognized option '-d2'

This is the command that needs to be executed Opc.Ua.ModelCompiler.exe -d2 -c[g] -o2 : .\Opc.Ua.ModelCompiler.exe -d2 C:\Users\Downloads\DemoModel\DemoModelnew.xml -cg C:\Users\Downloads\DemoModel\DemoModelnew.csv" -o…
Sakura
  • 31
  • 1
2
votes
1 answer

OPCUA: How to call nested method

I'm tryng to call "Select" method using OPCUA Foundation libraries. and this is how I call it NodeId node = new NodeId("ns=2;s=/Methods/Filehandling"); NodeId method = new NodeId("ns=2;s=/Methods/Filehandling/Select"); object[] arguments = new…
2
votes
1 answer

Python freeopcua: how to set the StatusCode to 'Bad'

I'm trying to manage the Quality Status of the tags in my opcua server but I could not find the way to set the StatusCode properly. Find here a snippet of my code. I'm reading the server tag thanks to a standard and free client named Integration…
Marcello
  • 51
  • 4
2
votes
0 answers

Accessing OPC UA ExtensionObject (Struct, Dict and Array) in Codesys

I'm using a Python OPC UA-server (asyncua) to provide data to a CODESYS (V3.5.17.10) program. In CODESYS I'm able to add 'Data Source Manager' and then a 'Data Source' which is the Python OPC UA-server. Now CODESYS connects as client to the server,…
Nando
  • 31
  • 1
2
votes
1 answer

Reading OPC UA Node attribute values with C# client

I have a bare bones C# OPC UA Client communicating with a OPC UA Server. The Server uses a Modbus data model. I'm actually the using Opc.UA.Fx package from NuGet. I can connect, and get attributes from the Node I'm trying to read. However, I'm…
Mitchtown98
  • 41
  • 1
  • 3
2
votes
1 answer

OPCua Subscribe to specific item / index of array

I have a OPCua server that consists of an array[1000] of objects (4 x reals, 2 x int, 2 x Enumerators). I am trying to subscribe to Object[104].real2 I can subscribe currently to object and receive all 1000 objects every time there is an update. But…
2
votes
0 answers

about opc ua badsecurechannelclosed

I have two OPC UA servers. One is implemented in Java and the other is implemented in Python. It is normal to connect to the Java OPC UA server with opcuahalper. The same code links to the python server and reports an error badsecurechannelclosed.…
TieDun001
  • 21
  • 1
2
votes
0 answers

node-opcua OPCUAClient.connect error: Invalid position

When connecting to an OPCUA Server using an endpoint (opc.tcp://{serverIP:port}/OPCUASserver), I am getting an error that I do not know how to interpret. I create an OPCUAClient using: let client = OPCUAClient.create(clientOptions); Then call…
2
votes
1 answer

Opc Ua Client C# subscription doesn't print anything

I'm not a C# programmer, but for necessity I'm trying to create a client opc-ua using C#. Searching on the web i found some examples but I could not get the client to work. Can anyone expert help me out? I attach the complete code below: using…
Luca
  • 49
  • 6