Create an OPC client with OpenScada UTGARD
I´ve connected a PLC to Matrikon opc universal server, now my task is to connect the OPC server to a client based in Java. Im using jinterop libraries and i think utgard would be really useful for me but i dont reall开发者_开发百科y know how to start.
I can not find any example of usage with utgard and i dont know how to access to their own samples or documentation.
we just finished a short tutorial to show how its used at https://openscada.atlassian.net/wiki/display/OP/HowToStartWithUtgard
If you have a custom Java application where you need to access OPC data, I would recommend using OPC UA, instead of the traditional OPC DA, for new development. UA is also natively available for Java - and has several other alternatives as well in practice.
OPC Foundation is providing the Java stack for it's member's. But a full Java SDK, such as the Prosys OPC UA Java SDK will also provide you the necessary implementation of subscription and session management, etc.
There are some open source initiatives as well, but they are not on a very high level at the moment, so you will save the most by going to a commercial SDK (although I am saying this myself as a Prosys developer).
It doesn't contain SCADA UI components, though, so in that respect the OpenSCADA may be a better alternative, although it does not enable OPC UA.
The examples and tests are in their Git tree here: http://git.openscada.org/?p=org.openscada.utgard.git;a=tree;f=org.openscada.opc.dcom.test/src/org/openscada/opc/dcom;hb=HEAD
There is a nicer browse interface on github: https://github.com/ctron/org.openscada.utgard
精彩评论