Search code examples
javasdkopcopc-da

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 simulate data.

Does openOPC have a java implementation. I want to implement where I do not have to give security details.

Please guide.


Solution

  • You won't be able to use a UA toolkit to get data from an OPC-COM server. You'll need to use a tunneler product that converts COM/DA to UA and connect to that.

    That being said... Kepware has support OPC-UA since version 5 or something like that, so maybe you can just use OPC-UA here.

    Lastly, the digitalpetri project has officially migrated here: https://github.com/eclipse/milo