opc

Improving performance with OPC tags

I am working with a PC based automation software package called Think'n'Do created by Phoenix Contact It does real time processing, read inputs/ control logic / write outputs all done in a maximum of 50ms. We have an OPC server that is reading/writing tags from a PLC every 10ms. There is a long delay in writing a tag to the PLC and readi...

Where is a good place to start with making an application in .NET that communicates through OPC?

Where is a good place to start with making an application in .NET that communicates through OPC? ...

OpenXml File Format Design and Best Practices

Folks, We have been using OpenXml APIs found in System.IO.Packaging for creating a package file that contains some Xml/Binary files, hence the package is some how structured as below: Package/ -/DataFolder1/an xml file.xml -/DataFolder2/another xml file.xml -/Bin/other binar files This has been used for version 1.0 of the applicat...

Looking for OPC DA client library

I'm looking for freeware library to connect to OPC DA 2.x server. So far, everything I found has commercial licensing, which is not an option for this project. ...

How to zip a WordprocessingML folder into readable docx

I have been trying to write a simple Markdown -> docx parser/writer, but am completely stuck with the last part, which should be the easiest: i.e. compressing the folder into a .docx that Word, or any other .docx reader, will recognize. My parser-writer is irrelevant really: I have this problem if I simply unzip any old Word-produced...

How to make a type safe wrapper around Variant values

I'm working with a OPC Server control that stores data tags as variant types, described by System.Runtime.InteropServices.VarEnum. These types include the following, VT_BSTR (string), VT_I2 (short) and VT_I4 (long). All these values are stored by the server as objects and then I have to cast to the correct value when I fetch them. I kn...

The relationship between OPC and DCOM

Hi all, I am trying to grasp the link between OPC and DCOM. I have watched all four of the tutorials here and I think I have a good feeling for what OPC is, but in one of the tutorials (the third one 35 seconds in) the narrator states that OPC is based on DCOM, but I do not understand how the two are really linked. My confusion comes f...

How to upgrade the project build in visual studio 2005 to visual studio 2008?

I have one OPC ( OLE for Process control ) server project which is developed into visual studio 2005. I want to run it in visual studio 2008. The coding for the OPC server project is done in VC++. I want to connect my OPC client to this OPC server. When I was opened the OPC server project which was build into visual studio 2005 into visu...

What is the role of interfaces IOPCServer, IOPCDataItem, IOPCGroup in OPC ( OLE for process control)

I am currently new in OPC ( OLE for process control). I want to know about the interfaces IOPCServer, IOPCDataItem, IOPCGroup interfaces in the OPC. What are they used for & what is their role in terms of OPC Client & OPC Server & what methods & properties these interfaces conatins ? Can you provide me the answer for the above questions ...

How to access a remote OPC server programmatically?

I have downloaded & installed the OPCDA.NET client component evaluation & XMLDA.NET client component evaluation. It provides some C# samples for browsing the available OPC Server, connecting to the OPC server, & browsing the available items on the server. I know the programmatic way in which we can access the local OPC server. It is pro...

how to read values from the remote OPC Server

I have created one asp.net web service. In this web service I am using the web method as follows. The web service is related to the OPC ( OLE for process control) public string ReadServerItems(string ServerName) { string txt = ""; ArrayList obj = new ArrayList(); XmlServer Srv = new XmlServer(...

WinPac-8000 OPC-server network access

Hello. I am to build an automation solution based on WinPac-8000 controller (http://www.icpdas.com/products/PAC/winpac/introduction.htm). I split this project into 2 programs: 1st is running on the controller (it does some business logic) and second operates on user machine (it displays current results). The problem is: I use build-in ...

Programming against a PLC via OPC protocol with C#

I'm running this code to connect to a plc. System.Guid guid=new Guid("75d00bbb-dda5-11d1-b944-9e614d000000"); System.Type t=Type.GetTypeFromCLSID(guid,node,true); object COMobject=System.Activator.CreateInstance(t); opcServer = (IOPCServer) COMobject; using the opc protocol as previously mentioned. I have little to no ex...

OPC sample application for C#

Does anyone know a C# OPC client sample application? I'm looking for a good opensource one to learn about the protocol. I would prefer it if it uses OPC foundation .net core apis. ...

.net C# opc-client

I want to write opc client for server. And dont want use big libraries. can i do it witn .net libs? smth like adding reference to opcautomation? but i cant find it in vs2010. thx! ...

C# opc-client .net api

I'm writing opc client, using .NET API from opc foundation. In samples I only see, where item's names are hardcoded like: items[0] = new Opc.Da.Item(); items[0].ItemName = "blahblahblah"; What I want, is not to write names of all items by my hands. I want to load all items from server, into tree for example. How can I do it? ...

JeasyOpc Problem, how to connect to other computers in LAN using JeasyOpc client ?

Hi everybody! I made a program basing on JeasyOpc source code, whan i try to use it on localhost there is no problem it works fine (i can see the opc server and can read signals from it). Than i tried to read signals from a another computer in our Lan - not working. I configured the DCOM as required but nothing helps. I even downloaded ...