cancel
Showing results for 
Search instead for 
Did you mean: 

XMII UDS 4.0 not able to browse OPC Servers

Former Member
0 Kudos

The new XMII UDS 4.0 packages OLE-DB, OPC DA and OPC HDA. The OLE-DB support is an improvement over older

versions. The OPC stuff is for us still not usable.

On the customer server where I have tested XMII UDS 4.0 there are 2 OPC servers. One Matrikon OPC simulation server and

one productive OPC server. With the new Admin it is not possible to browse any OPC Server. It always throws the error

that OPCEnum is not running or not installed. One should try to start it or use another machine. The OPCEnum service on the

server is definitely running! I have also checked all the security stuff with running OPCEnum with same user as UDS Admin and

validated the dcom security configuration. Everything seems to be fine.

Matrikon OPC browser is able to see the OPC Servers. Also the previously installed xMII OPC UDS (LUDS) works fine. Is this just

a problem of the OPC Server wizzard? Will it work when the entries are made manually? What is the syntax of the configuration line

"OPC Server" then? It seems to be different as not only the ProgID must be listed but also the server IP.

Regards,

Matthias

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Matthias,

This is a strange error for a few reasons, first I am able to turn off the OPCEnum service on my machine and the 4.0 UDSs automatically start that service up. Furthermore, even if I disable the service I don't get the error you described (I get an Error: 0x80070422, The service cannot be started, either because it is disabled or because it has no enabled device associated with it). Now if I put in an invalid machine name then the error is 'The RPC server is unavaliable...'.

Here are some other things you should be aware of:

First, the OPCEnum is only used by the admin console to get teh list of servers, but you really don't need that service available to connect to an OPC server. you can double click in the OPC Server setting and modify the configuration by hand. And as you stated, yes you need to add the machine, ProgID and the OPC version.

[Machine Name| IP address]; [ProgID]; [ 'OPC DA2' | 'OPC DA3' | 'OPC HDA']

Next, As in your case, I would have migrated teh old UDS setting to the new one (through Tools > Migrate UDS). This would be the easiest way import all the settings.

Lastly, Matrikon and KEPware are excellent product with in OPC and I usually recommend them if people need a simulation server or as a second party validator. That said, there are some things that Matrikon and KEPware do, that we (and most other clients) don't do. For one, those two products support EVERY veriation of OPC that I've ever seen, this means version 1.0 of the OPC spec and other odd spec versions. We only support the 2.05A (the last 2.0 version of the spec) and 3.00 versions of the OPC DA specification and 1.20 for HDA, I would guess that 90% of the OPC servers fall into those two catagories. But you are not in this catagory if the 2.5 UDSs connected to the server, meaning that it was most likely a 2.05A server.

Martin

Former Member
0 Kudos

Hi Martin,

thanks for the reply. I have also tested the UDS Migration. With this procedure some strange settings like

"cache = In-Memory" are set which are not available from drop down boxes. From this I learned the "OPC Server" line syntax.

When setting the OPC Server string manually the service can be started without error. The problem is that no tags are displayed.

So tag browsing does not work at all! When reverting to LUDS everything works fine! Would you like to get some debug logs?

Any other Ideas?

Regard,

Matthias

Former Member
0 Kudos

Matthias,

There is something strange happening... I've never heard of the 'In-Memory' setting. That said, it should be 'Cache', 'Alias', 'Cache with Dynamic Metadata', 'Alias with dynamic Metadata' and 'None', I would try Cache mode first. If that doesn't work, then look at the log file (Located in C;\Program Files\sap\xmii\uds, unless you changed the install location.), if there are any errors you don't understand, post that and I'll look at it.

Just of my sake, what OPC server are you connecting to?

Martin

Former Member
0 Kudos

Hi Martin,

I will try and give you the information needed. At the moment I reverted to LUDS which works fine.

Regards,

Matthias