Example: Settings for a Query Process with SAP MII 12.1
Use
The example shows you how to proceed if you want to be able to query tags from an OSISoft PI source system starting from SAP MII.
The following information, in connection with PCo, refers to:
-
OSISoft PI (source system)
-
SAP MII 12.1 (destination system)
Prerequisites
-
In the PCo Console under you have configured the host name and made additional settings. (See also: Configuring the Main Service.)
Activities
Settings in PCo
-
Create a source system of the type PI Agent. See also: OSISoft PI Source System
-
Create an agent instance and choose the Servers tab.
-
On the Servers tab, select the SAP MII Query Server (Before 12.2) checkbox and enter the port, for example, 9001.
-
Start the agent instance.
Settings in SAP MII
Creating a Data Server
-
In the MII menu, choose .
The MII system shows a list with all available data servers. For more information, see the SAP Manufacturing Integration and Intelligence documentation under Data Servers.
-
Choose the Create pushbutton.
The New SAP MII Data Server screen appears.
-
Enter the following data:
-
Server Name
-
Connector Type UDC
-
-
Choose the Finish pushbutton.
The data server is created and the Settings and Connection tabs are displayed.
-
On the Settings tab, select the Enabled checkbox.
-
Enter the following on the Connection tab:
Field
Description
IP
Here you enter the name of the server on which PCo is running.
Port
Specify the port.
Writable
If you select this checkbox, you can write values into the tags of the source systems, starting from MII.
-
Save your entries.
-
Start the agent instance in the PCo Console. This establishes the connection between MII and PCo. The status of the data server on the Status tab is then green.
Creating a Tag Query
-
Starting from the MII menu, choose .
The catalog overview is displayed.
-
Click on the project you created previously.
-
Open the context menu using the right mouse button.
-
In the context menu, choose . For more information, see the SAP MII documentation under Tag Query.
The Data Source screen appears.
-
Choose the data server you created previously.
-
In the Mode field, choose, for example: Current (read current value of the tag).
-
In the Template Categories screen area, double-click the Tag Query Details entry.
-
Choose the desired tag on the Tag Query Details screen. (See also: SAP MII documentation under Tag Query: Details and Values.)

