Questions tagged [opc]

OPC (Open Platform Communications) is the interoperability standard for the secure and reliable exchange of data in the industrial automation space. Originally named OLE for Process Control, it is maintained by the OPC Foundation. OPC is based on the OLE (Object Linking and Embedding), Microsoft's proprietary technology. Use this tag for questions on the original OPC standard known as OPC-DA (Data Access) or OPC Classic. For OPC-UA, use the tag [opc-ua].

opc
Filter by
Sorted by
Tagged with
0 votes
1 answer
713 views

How can I know if the plc connection is lost once I subscribed a tag?

I created a client application that has a subscription to monitor several tags through the OPC UA server(c#). If the connection between the OPC server and the PLC is lost while the client is running, ...
AntGalMos's user avatar
0 votes
1 answer
116 views

XmlException when adding an XML string as a value in an XML SOAP request body

I am writing an application that utilizes XML SOAP. The code that writes the request is unfortunately out of my hands, as it is a DLL file that was only given to me. I downloaded Jetbrain's dotPeek to ...
Abana Clara's user avatar
  • 4,632
2 votes
1 answer
819 views

How to browse the nodes of an OPC UA server with Rust?

I want to browse a known OPC UA server endpoint to get the nodes in order to poll them later with Rust. I have been using the locka99/opcua crate and managed to use their samples to read values of ...
Sergej Herbert's user avatar
1 vote
1 answer
297 views

Can’t write amount of data to kepware

When I write data to kepware server by milo, sometimes some data can not be written successfully. But the server returned StatusCode{name=Good, value=0x00000000, quality=good} The server did not ...
weiweizhou's user avatar
0 votes
1 answer
243 views

how OPC Ua Server Reads the signal(data) from the machine

I am new to OPC UA so my question might be stupid, sorry for that. exploring OPC UA, I developed an OPC UA server, for that I was doing the simulation for all the nodes defined in the server, now I ...
Naushad Warsi's user avatar
0 votes
1 answer
1k views

open62541: Error when building PubSub example

Currently, I am trying to build the PubSub example of the open62541 implementation. I have already gone through the documentation on how to build the examples a several times but I cannot figure it ...
user7335295's user avatar
1 vote
3 answers
9k views

Python installing OPCUA package

Hey guys i have this problem: I have to install OPCUA package for python. I have already installed opcua with pip install opcua. But I have this problem: In my Python code: from opcua import Client,...
TheCodingKing's user avatar
1 vote
1 answer
2k views

Subscribe to multiple OPC-UA nodes at once

I need to subscribe to ~1000 nodes, which were created in a hierarchy, like: ns=2;s=0:Manufacturing.E01.Ambient.Temperature ns=2;s=0:Manufacturing.E01.Ambient.WindDir ns=2;s=0:Manufacturing.E01....
mustafa's user avatar
  • 3,785
0 votes
1 answer
469 views

How can I connect UaExpert with docker container?

I have started successful a OpcUa Server in a docker container. Now I want to connect to this container via UaExpert. But this is not working: Message: Could not connect to server:BadTimeout I ...
gegner1111's user avatar
0 votes
1 answer
558 views

Connect to Matrikon server with OPC UA Java Legacy

I am trying to connect to an OPC server of a Siemens S7 1200 PLC. For this I used the Matrikon application That is configured on my local machine. With the JeasyOPC library I can make the connection, ...
Juan Alvarez Fernandez's user avatar
0 votes
1 answer
569 views

OPC Client hangs in case of loss of connection

When the form is loaded, a timer starts in the GetItemsnaliv() method, which connects to the remote OPC server and retrieves the required data. Code: bool GetItemsNaliv() { IsWork2 = true; try { ...
mustbestronger's user avatar
-3 votes
1 answer
1k views

How can i convert a std::string to UaString?

I am still new to OPC UA. My problem: How can i convert a std::string to UaString? Is it possible at all? Thank you in advance =)
gegner1111's user avatar
0 votes
1 answer
2k views

How to correctly install OpenOPC?

Trying to connect Python to an OPC simulated server using OpenOPC. I am able to connect to the server, but when I try to read an item I get Process finished with exit code -1073741819 (0xC0000005). ...
F. Fernandez's user avatar
0 votes
0 answers
737 views

List All Tags and groups with OPCDA

I need to list all the tags on an OPCDA server, I Found DLLS(opcnetapi.dll from opcfoudantion) that he uses and I’ve already been able to do the communication, but I can not list the tags that are on ...
Ronaldo Alves's user avatar
0 votes
1 answer
468 views

What‘s the difference between OSI and OPC?

OSI: Open Systems Interconnection Reference Model OPC: OLE (Object Linking and Embedding) Process Control I can‘t figure out the difference, since both of these refer to communication between ...
LJag's user avatar
  • 331
1 vote
4 answers
204 views

Is Opc UA Really Platform Independent?

In the opc foundation site says : "opc ua is platform independent." I have looked the most used opc implementation products matrikon and kepserver. When i look at these product documentation , both ...
user3059066's user avatar
1 vote
2 answers
664 views

Is Opc Server Available in Siemens Sinumerik Cnc?

I have a research about connection between siemens sinumerik cnc and kepserverex. Is opc server available 810 d and 840d sl x 127 ? When looking at kepserver site , there is a post about it, how to ...
user3059066's user avatar
2 votes
1 answer
2k views

Best Alternative for OPC-UA in non industrial environments?

I'm managing a rather widely distributed software application in a semi industrial environment. The software at its heart is based on SOA and employs OPC-UA to make communications between important ...
Sina Bizbone's user avatar
0 votes
1 answer
3k views

OpenOPC.OPCError: Dispatch: Invalid class string

I want to operate the KEPWareEx through python. I installed the openOPC library in python and tried to access the OPCclient. I got the above error.
EKNATH KULKARNI's user avatar
0 votes
2 answers
989 views

Writing a Data to Matrikon OPC UA Server

I have using matrikon flex ua sdk server for opc ua server and conect this server via python. I can connect server and get value of a node. But when i want to write a value to a variable in server, it ...
user3059066's user avatar
3 votes
2 answers
481 views

Should/Can you run Node-OPCUA Server running on Azure?

I deployed my OPC Server (made with Node.js node-opcua) on Azure as a WebApp and its running. I also got the opc.tcp address (eg. opc.tcp://somenumbers:4840/UA/INDUSTRIE4.0) . When I try to connect to ...
Suisse's user avatar
  • 3,555
4 votes
1 answer
3k views

Create a very simple OPC client in Unity3d with opc ua .net library

I am getting these errors while trying to implement a simple OPC client in .Net with Unity3D.These errors are in Visual Studio: Severity Code Description Project File Line Suppression ...
Suisse's user avatar
  • 3,555
0 votes
0 answers
171 views

OPC Connection for Alarm and Event

I am trying to connect to opc for Alarm and Event. I can connect and read data from opc with opcname.da but I need to connect opcname.ae and read events from there. I look for sample solution but I ...
kanber's user avatar
  • 1
2 votes
1 answer
390 views

How to access OPC DA server data via Utgard in form of batches (100 signals at a time)?

I found out the code in the Utgard documentation to access signals individually by defining their callback functions. server.connect(); // add sync access, poll every 500 ms final AccessBase access =...
Rohit Lal's user avatar
  • 3,031
2 votes
1 answer
7k views

Python 3.6 x64 OpenOPC

I am developing a tensorflow model to make a inference of a product property. I want to put this model to run on-line reading data from a OPC Server a writing the result back. To do that I am using ...
Dariva's user avatar
  • 340
1 vote
1 answer
2k views

OpenOPC with Python 3.6

I am having some problems in making OpenOPC to work with Python 3.6. The environment I am working in is a Windows 2012 Server. I have installed Matrikon OPC Server to test. I have both Python 2.7 and ...
Dariva's user avatar
  • 340
1 vote
1 answer
3k views

OPCUA Milo Error, UaException: status=Bad_ConnectionRejected

I'm trying to run standalone-example by Milo on OPCUA. This link: https://github.com/eclipse/milo . After creating certificate and running server, client can't connect to him; the connection is ...
Salvatore Esposito's user avatar
1 vote
0 answers
335 views

How to check if a plc device is disconnected ,using OPCAutomation.dll

I'm using OPCAutomation.dll in C# to communicate with PLC device. My question is: Can I check if the PLC device is disconnected?
Jim's user avatar
  • 33
1 vote
0 answers
1k views

Connect to kepware OPC DA using Utgard

I am using below code to make the connection from UTGARD to Kepware V6 OPC DA. package com.flutura.openscada.tutorial; import java.util.concurrent.Executors; import java.util.logging.Logger; import ...
Tarun Khaneja's user avatar
1 vote
1 answer
588 views

How to get NodeId details from DataValue response in callback of async read operation from OPC UA server using Softing toolkit

image shows the uint32 value but i need the NodeId details too, which is "Counter1" as in the NodeId in readAsync I am using Softing OPC UA toolkit to develop a client. With session->readAsync() i ...
curious mind's user avatar
1 vote
1 answer
566 views

NodeId as string in ModelCompiler OPC UA

I am trying to develop a OPC UA server on my own, but since I am quite a newbie in coding, it is quite hard for me. I have started from the QuickstartApplication found here: https://github.com/...
edo13em's user avatar
  • 21
0 votes
1 answer
286 views

Modeling of the OPC UA Address Space

My situation is as follows: My raspberry pi is connected to several sensors (3 temperature sensors, 1 humidity sensor, 2 current sensors and 1 pressure sensor). The sensors are measuring values from ...
user7335295's user avatar
0 votes
1 answer
1k views

Browsing the Address Space of an OPC UA Server

I'm writing an Android App that can connect to a server, running on a PLC-machine. I'm using the Prosys SDK and the OPC UA Java Stack for sure. The app can show the important data from the server, so ...
Joey's user avatar
  • 23
0 votes
1 answer
196 views

OPC-UA custom node icon

I want to display custom node icons for my opc-ua server, the icon property is part of the standard properties, as mentioned in Part 3, Page 20. I am already encoding node attributes & ...
salimsaid's user avatar
  • 3,345
0 votes
1 answer
310 views

FreeOpcUa how to access method (from terminal)

https://github.com/FreeOpcUa https://www.dexterindustries.com/grovepi/ Setup: I'm using freeOpcUa on a Raspberry Pi combined with a GrovePi with sensors and actuators. An OPC UA Server runs on the ...
Dave M's user avatar
  • 31
4 votes
0 answers
1k views

How to write to a string tag in an OPC UA server in C#?

I am using an SDK from Unified Automation that is essentially some C# source code that creates and runs an OPC UA Server. At the moment, I am able to write only to data tags that are either ...
Conor Walsh's user avatar
3 votes
1 answer
136 views

Is the range 951 to 1999 reserved for application level node ids in OPC UA address space?

From looking at the node ids file , you'll notice that node ids skip the range 951 - 1999 i.e. there are no OPC UA nodes with nodeids within that range. Is the range reserved for application use ? Is ...
salimsaid's user avatar
  • 3,345
1 vote
1 answer
2k views

opc ua XML file creation

While writing an XML file to import into the Model Compiler for OPC UA, I could not find any documentation that specifies how the values of "i" are chosen. I am referencing code produced by a modeling ...
nabs825's user avatar
  • 43
1 vote
0 answers
1k views

OPC UA Server - String Node Id Creation

Project Reference: https://github.com/OPCFoundation/UA-.NETStandard I'm trying to create an OPC UA Server that contains some methods and I need to create a NodeId for each method I want to expose. ...
Gabriele's user avatar
1 vote
0 answers
812 views

Matrikon OPC server and ASP.NET MVC application

I have problem with asp.net mvc application and OPC server from Matrikon. I use H.Opc library (from nuget package menager) I used Tutorial from http://mestaa.blogspot.com http://mestaa.blogspot.com/...
marcin82w's user avatar
0 votes
0 answers
140 views

Milo OPC Server tries to connect to wrong URI

I tried to run an example server from Milo OPC repository, and I put as endpoint the ip of the PLC. In the device, the name of the device is "MI_027859". 19:18:36.748 [main] WARN o.e.m.o.stack.core....
Rares's user avatar
  • 3
0 votes
1 answer
409 views

Connection refused by PLC when connecting with Milo OPC Client

I tried to clean up the ReadExample mini project for client repository from Milo OPC, and for endpoint i put the PLC ip address. But there was no port in the plc configuration that i could configure....
Rares's user avatar
  • 3
0 votes
2 answers
1k views

Writing Variables via QuickOPC in C# (Visual Studio)

my project is about writing an OPC UA Client, to read and write variables on a Siemens PLC OPC UA Server. I'm using Visual Studio 2017 Enterprise and installed the Quick OPC Toolkit from OPClabs to ...
Yvette's user avatar
  • 1
3 votes
1 answer
909 views

OPC UA Client SDK (Unified Automation) 2.5.4 Client certificate becomes invalid on computer name change

For OPC UA Client SDK 2.5.4 , on computer name change the client certificates needs to be recreated as they becomes invalid. Why, is it documented anywhere? In Version 2.0, on computer name change ...
Ritesh Kumar's user avatar
0 votes
0 answers
392 views

C# OPC-DA disconnect from server

Hi I have following code to connect to the OPC server, which is working fine. server = new Opc.Da.Server(fact, null); server.Url = new Opc.URL(URL); server.Connect(); Now when I use following code ...
Jesse's user avatar
  • 759
1 vote
0 answers
918 views

Get OPCItem from ClientHandles in DataChange Event - OPCAutomation.dll

Is it possible to get the OPCItem from a Group using the ClientHandle value? Pseudo example: Dim Server As OPCServer Dim Groups As OPCGroups Dim WithEvents Group1 as OPCGroup Dim ItemGroup as ...
bPuhnk's user avatar
  • 375
3 votes
1 answer
5k views

Generate certificate for OPC client

i'm coding an OPC UA Client to connect to Sofnet (OPC Server from Siemens). The Server method to connect is SignAndEncrypt so i need a x509 certificate in "der" format. I made my own self signed ...
Victor Valero Fernandez's user avatar
0 votes
2 answers
1k views

Creation of OPC UA information model

A precondition for creating an OPC-UA server is the creation of a corresponding information model. I had a look at the samples provided at the GitRep of the OPC UA group (Boiler). Creating the ...
user3579222's user avatar
  • 1,271
2 votes
2 answers
2k views

Populating opcua address space with Nodes from an xml schema

Am working on a project to build an opc ua server from specification, I've gone far enough on the implementation, am currently working on the write request, I already have a few nodes in the server ...
salimsaid's user avatar
  • 3,345
6 votes
2 answers
3k views

OPC UA information model

Lets say I have multiple distributed complex machines. Each machine contains of multiple cpmplex devices. Each device has its own OPC UA server to monitore the device components. With an OPC UA client ...
CPA's user avatar
  • 2,963

1
4 5
6
7 8
14