
Manufacturing Data Points
Use
Manufacturing data point
is a generic term for data points that are provided by different applications. The Manufacturing Data Access interface can be used to exchange data points. Every application that is registered at the interface as a service can provide data points and request them from others.For more information, see Manufacturing Data Access.
Prerequisites
OPC Items
To use items (data points) of the service ODA (OPC Data Access), you must first have created a subscription in Customizing.
To do so, go to Customizing for Process Management and choose SAP ODA (OPC Data Access).
For more information about SAP ODA, see
SAP OPC Data Access.
Features
The following services provide data points:
The following services can access data points:
Addresses are used to access data points. They start with the name of the service. The remaining address parts depend on the service. You can use value help to select data points.
Service MDA
The service MDA contains the generic services BROADCAST and REDIRECT.
For more information, see
The address that was selected dynamically is transferred to the generic data point
The value of the dynamically addressed data point can be read or written by means of the generic data point MDA:REDIRECT.VALUE.<Index>.
You replace <Index> by the same value that you have used in address MDA:REDIRECT.ADRESS.<Index>. Using the index that you can freely choose, you can create any number of pairs of dynamically selected addresses and values in one call. This means that you can dynamically address any number of data points in one call.
Example for REDIRECT:
The process operator is to read the fill level of different tanks in manufacturing cockpit MYCOCKPIT. He or she can choose between three different tanks in a dropdown box. The current fill level of the tank selected is read by an OPC Data Access server and displayed in the cockpit.
To get a dropdown box with different tanks in the cockpit, characteristic Z_MY_ADDRESS was created, which contains three fixed values. Characteristic Z_MY_ADDRESS contains the following fixed values:
|
Characteristic Value |
Description |
|
|
ODA:0001.TANK1.PV |
Tank 1 |
|
|
ODA:0001.TANK2.PV |
Tank 2 |
|
|
ODA:0001.TANK3.PV |
Tank 3 |
In cockpit MYCOCKPIT, you define the following characteristics in the sequence specified:
|
PPPI_INPUT_REQUEST |
Select tank |
|
|
PPPI_VARIABLE |
ADDRESS |
|
|
PPPI_REQUESTED_VALUE |
Z_MY_ADDRESS |
|
|
PPPI_DATA_ACCESS |
Manufacturing Data Access |
|
|
PPPI_BUTTON_TEXT |
Read fill level |
|
|
PPPI_FUNCTION_DURING_DISPLAY |
Permitted |
|
|
PPPI_EVENT |
PARAMETER_CHANGED |
|
|
PPPI_EXPORT_DATA |
MDA:REDIRECT.ADDRESS.1 |
|
|
PPPI_STRING_VARIABLE |
ADDRESS |
|
|
PPPI_IMPORT_DATA |
MDA:REDIRECT.VALUE.1 |
|
|
PPPI_STRING_VARIABLE |
VALUE |
|
|
PPPI_OUTPUT_TEXT |
Fill level |
|
|
PPPI_OUTPUT_VARIABLE |
VALUE |
Services PSH and PMC
You can define any values as variables in the PI sheet and manufacturing cockpit and provide them to other applications as data points. Using Manufacturing Data Access, other applications can address these data points and read the current value.
The data point address is made up as follows:
|
Data Point |
Address |
|
For service PSH |
PSH: <Number of the PI sheet>.<global variable>![]() PSH:100000000000004711.MYVAR Service PSH, current value of variable MYVAR in PI sheet 100000000000004711 |
|
For service PMC |
PMC:< Plant>.<Cockpit name>.<Global variable>![]() PMC:0001.MYCOCKPIT.MYVAR Service PMC, plant 0001, current value of variable MYVAR in cockpit MYCOCKPIT |
Service ODA
OPC Data Access servers provide data points from the process control level. These data points mainly contain current values. They can also provide additional information, such as the quality of the value or the event text.
The data point address is made up as follows:
|
Data Point |
Address |
|
Current value |
ODA: <Plant>.<OPC item>.PV![]() ODA:0001.MYITEM.PV Service ODA, plant 0001, OPC item MYITEM, current value |
|
Date |
ODA: <Plant>.<OPC item>.DT![]() ODA:0001.MYITEM.DT Service ODA, plant 0001, OPC item MYITEM, date of time stamp |
|
Time |
ODA: <Plant>.<OPC item>.TM![]() ODA:0001.MYITEM.TM Service ODA, plant 0001, OPC item MYITEM, time of time stamp |
|
Quality of data point value |
ODA: <Plant>.<OPC item>.QA![]() ODA:0001.MYITEM.QA Service ODA, plant 0001, OPC item MYITEM, quality of the value |
|
Substatus of the quality |
ODA: <Plant>.<OPC item>.QS![]() ODA:0001.MYITEM.QS Service ODA, plant 0001, OPC item MYITEM, substatus of the quality |
|
Limit |
ODA: <Plant>.<OPC item>.QL![]() ODA:0001.MYITEM.QL Service ODA, plant 0001, OPC item MYITEM, quality limit |
|
Result text |
ODA: <Plant>.<OPC item>.RT![]() ODA:0001.MYITEM.RT Service ODA, plant 0001, OPC item MYITEM, result text |
Service OAE
With service OAE, you can only read the parameters of an event as data points together with the subscribed event.
For more information, see
Manufacturing Events.Service SYS
The service SYS provides data points containing system information.
|
Data Point |
Address |
|
Date according to local settings by the user |
SYS:DATE.LOCAL |
|
Date, Universal Coordinated Time (UTC) |
SYS:DATE.UTC |
|
Time according to local settings by the user |
SYS:TIME.LOCAL |
|
Time, Universal Coordinated Time (UTC) |
SYS:TIME.UTC |
|
Time stamp, long format |
SYS:TIMESTAMP.LONG |
|
Time stamp, short format |
SYS:TIMESTAMP.SHORT |
|
Logon language |
SYS:SESSION.LANGUAGE |
|
Name of terminal |
SYS:SESSION.TERMINAL |
|
User logged on |
SYS:SESSION.USER.NAME |
|
User parameter |
SYS:SESSION.USER.PARAM.< Parameter name> |
|
ABAP text symbol, language selected, or logon language |
SYS:TEXT.SYMBOL.< Program>.<ID>.<Languag> |
|
ABAP message text in logon language |
SYS:TEXT.MESSAGE.< Message class>.<Message no.>.<Variable texts>... |
|
Globally unique key, 16 characters, binary |
SYS:GUID.BIN16 |
|
Globally unique key, 22 characters, text type |
SYS:GUID.CHAR22 |
|
Globally unique key, 32 characters, text type |
SYS:GUID.CHAR32 |