Skip to Content

MII to PI connectivity

Hi All

#1 I'm trying to connect to Rockwell FactoryTalk Historian (a flavour of PI, v3.0) using PI UDS 2.5.0.4 available for download on SAP Marketplace. After UDS framework installation there were no errors displayed on the screen or in the logs.

Starting the UDS admin, and defining the UDS for PI connectivity, I've selected the UDS type as "PI", defined the servernme, defined the port as"8088" and username as "piadmin" with the corresponding password. Other parameters are DigStr=True, Cachemode = None, Sync = False, Debug = False, AutoRetry=False.

PI API/SDK is installed, I can display values in a DOS window using apisnap.exe & tagnames.

If I want to run the UDS, I get an error like: "Unable to start UDS. See the Application Event Log for details." However, I can not locate any application event logs related to MII PI UDS. So no luck to get to the data ..

#2 Then, tried OPC-DA & OPC-HDA approach using the OPC UDS Framework v4.0. All Ok until I run a query-template on a subset of tags and I get the following message:

Problem with tag: "XXX", due to: The item is no longer available in the server address space. Hence, no luck to get to the data ..

#3 The only thing I know of, left to try, is the OLEDB approach, but as a matter of fact the FactoryTalk Historian does not include this option.

Any ideas how to get to the historical/current data saved in this PI server?

NOTE: I can see current PI values using the FactoryTalk LiveData .. so it looks like the OPC connectivity is working .. up to a point.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 17, 2009 at 09:28 PM

    Paul,

    Stick with the native 2.5 UDS instead of OPC.

    The application event logs are the built-in Windows ones (Control Panel...Administrative Tools....Event Viewer). The UDS 4.0 started logging to the file system.

    You could also try using the alias builder screen (hammer icon in the toolbar) and select Datasource...Connect from the popup menu to attempt forcing a connection. If this fails check the event viewer.

    You might also get some insight from the C:\Program Files\PIPC\dat\pipc.log file.

    Edited by: Jeremy Good on Jul 17, 2009 5:28 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2009 at 07:21 AM

    Paul,

    In UDS 2.5.x framework,there might be some chances because of that the UDS might not working. They are:

    1) Check in the services, where the UDS instance you have created might be disabled or stopped.Just enable it.

    2) The historian data archiver might havebeen stopped in Services.

    3) The port number you have given is might be used by some other applications. Please check that.

    Use "Alias" in cache mode and configure the groups in Alias Configaurtion as said by Jeremy by clicking hammer icon.

    If the UDS is installed in the historian machine,there is no need to give server name,username and password.If it is protected with credinitials then you have.

    Hope this helps you.

    -Suresh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.