cancel
Showing results for 
Search instead for 
Did you mean: 

MII to PI connectivity

former_member202228
Active Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

jcgood25
Active Contributor
0 Kudos

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