Questions tagged [opc-da]

The OPC Data Access Specification is the first of a group of specifications known as the Classic OPC Specifications.

The Classic OPC specifications are based on the Microsoft COM technology and define a C/C++ interface. A standard Automation wrapper interface is also defined for access from Visual Basic, Delphi and other Automation enabled languages. Several vendors offer .NET toolkits to make the OPC interface accessible in .NET applications.

The newer OPC .NET (OPC Xi) specification is based on WCF (Windows Communication Foundation) and defines a .NET interface with the functionality of the Classic OPC specifications OPC DA, OPC HDA and OPC AE (Alarms&Events).

The more recent OPC Unified Architecture allows the same functionality but offers platform independence and optionally complex information modelling capabilities.

The OPC Data Access Specification is the first of a group of specifications known as the Classic OPC Specifications.

OPC Data Access is a group of standards that provides specifications for communicating real-time data from data acquisition devices such as PLCs to display and interface devices like Human-Machine Interfaces (HMI). The specifications focus on the continuous communication of data.

The OPC Data Access specification is also known as OPC DA. OPC DA deals only with real-time data and not historical data (for historical data you need to use OPC Historical Data Access, or OPC HDA) or events (for Alarms and Events you need to use OPC Alarms and Events, or OPC AE). There are three attributes associated with OPC DA. These are (1) a value, (2) the quality of the value, and (3) a timestamp. The OPC DA specification states that these three attributes have to be returned to an OPC client making a request. Therefore, if the data source is not capable of providing a timestamp, for example, the OPC DA server must create a timestamp.

58 questions
10
votes
1 answer

What do the different DCOM / COM security settings mean?

Our application uses COM and DCOM extensively, and so as part of that we need to ensure that the COM security permissions are correctly set up. I know that I can access these permissions under the Component Services MMC snap in and that I can set…
Justin
  • 84,773
  • 49
  • 224
  • 367
4
votes
1 answer

OPC dll - How to retrieve tags value in bulk

I'm using OPCSiemensDAAutomation dll with C# .NET to retrieve tag's value from OPC Server. I managed to retrieve the values using QueryAvailableProperties() and GetItemProperties(), but the objective is to retrieve 500k tags value per request. I…
3
votes
1 answer

OPC-da connector for Kafka - available solutions

Is there any out of the box solution for connecting opc-da to Kafka? I’m looking to get data from and opc-da server into apache Flink
Hagakure87
  • 127
  • 1
  • 9
3
votes
1 answer

OPC DA/DCOM sample java source code, which can receive tags from server

I want to receive opc DA tags in a java code, to process it further. I tried http://www.digitalpetri.com/ api but this receives data only from UA tags. It has a pattern matching, which invalidates the tag address of DA tags. I am using Kepware to…
nandini
  • 428
  • 2
  • 9
  • 20
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

Error Message "The URL scheme 'OPCDA' is not supported" in Win10, Works Fine 2012 R2

We've got a system that has been making OPCDA calls without issue for some time - when calling Windows Server 2012 R2 (Version 6.3, Build 9600). Recently, however, we've tried talking to a Windows 10 machine (Version 21H2 (OS Build 19044.1889 and…
Scott Baker
  • 10,013
  • 17
  • 56
  • 102
2
votes
0 answers

Read and write to a Opc DA server in python

I'm trying to read and write in a Opc Da server that run on localhost with 11159 port and server id 'BR.OPC.Server_3.0_V1.14.2'. This is my code: import OpenOPC import pywintypes pywintypes.datetime =…
CarloMatto
  • 141
  • 1
  • 10
2
votes
1 answer

Remote OPC Connection Error Code 0x80070005. E_ACCESSDENIED

I am trying to connect to an OPC HDA server (Proficy Historian) on a remote machine located on the local network. The client will be Ignition SCADA but I am using the free version of OPC Expert to Debug. Using OPC Expert on the server machine works…
2
votes
0 answers

Python script crashes when I run opc.write () using OpenOpc

I am making a python program to write variables to an opc DA server. I have the connection and others, but when trying to write values ​​for a variable, the program does not respond and a windows error message appears saying: My code: import…
neural_krobus
  • 73
  • 2
  • 6
2
votes
1 answer

C# OPC DA read values

im trying to read value from OPC over DA protocol. I have found that titanium-as is free, thats my condition. i'm using this manual, where is writen how to read values from OPC server, but only from groups which you made on OPC server with your own…
2
votes
1 answer

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 = new SyncAccess(server,…
Rohit Lal
  • 2,791
  • 1
  • 20
  • 36
2
votes
2 answers

Reading OPC Values from OPC Server using C#

I have an OPC-DA Server that a SCADA software writes the variables and its values in it so I want to read them synchronously with using C#. I have already write my algorithm but I could not read the variables. The code creates a subscription or may…
Mert Arisoy
  • 65
  • 2
  • 7
2
votes
0 answers

C# Multithreading on events

I am creating a program where events gets called. Here is the code public void Form1_Load(Object sender, EventArgs e) { Thread thread = new Thread(new ThreadStart(getData)); thread.IsBackground = true; thread.Start(); …
Harshit
  • 5,147
  • 9
  • 46
  • 93
1
vote
0 answers

How to force j-interop using ncalrpc for localhost?

Our applications cannot poll OPC DA server (running on the SAME MACHINE) ONLY in asynchronous mode, because of (got from Windows Event Viewer -> Windows Logs -> System) The server-side authentication level policy does not allow the user…
devaskim
  • 492
  • 3
  • 10
1
vote
1 answer

System.NullReferenceException in HRESULT[] results = group.Write(items, values) //TitaniumAS OPCda

i need an opc client for work, i used TitaniumAS as it's really simple, the read works fine but the write doesnt, i have the exception in the title The tagID is correct as it works when i read it. using System; using…
Seyl
  • 79
  • 6
1
2 3 4