Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ToDo

 

In a few days, here will be a explanation how to get started with Utgard.

 work in progress ---

Getting Started with Utgard - a tutorial

What is Utgard?

If you found out about Utgard, then you probably know what it is for. But for the uninitiated here a short introduction:

OPC (http://en.wikipedia.org/wiki/OLE_for_process_control) is a industry standard to allow a unified access to a varied number of devices, be it controller of any kind, sensors, whatever. Many specialized hardware components have their own OPC Server (e.g. WinCC, ABB, ...), but there are quite a few implementors which provide generic "OPC servers" which provide access to devices via a wealth of protocols. Prominent examples are Matrikon (http://www.matrikonopc.de/opc-server/) or Software Toolbox's TOP Server (http://www.toolboxopc.com/index.html).

Utgard only supports the client part of the OPC DA 2.0 interface, so any OPC UA setup (which is increasingly popular) will not work!

For the purpose of this tutorial, we will demonstrate the usage with TOP Server, but any other OPC server should work.

Setting up TOP Server

The installation of TOP Server is pretty straight forward, no surprises there. The tricky part is actually the DCOM configuration. Helpfully on the TOP Server website is a comprehensive guide (http://www.opcactivex.com/Support/Tutorials/DCOM_Tutorial_-_Configuring_th/dcom_tutorial_-_configuring_th.html), which explains how to configure it. If you do all the steps, the DCOM configuration should work. At least it did in our test setups. If it doesn't contact your local system administrator or OPC Guru to help you out. Problems may arise from a large number of causes (firewalls, routers, permissions, ...).

The important bit is, please try to access the server from a different computer to ensure the communication really is via DCOM and not through a local COM call. For this you can use a OPC Client (the

---

Until then have a look at this great post: http://clifcarr.blogspot.de/2011/02/readwrite-to-opc-serverplc-register.html