Show TOC

 Type 0: Determination of Control Recipe Numbers Locate this document in the navigation structure

Use

You can use the internal interface Manufacturing Data Access to exchange manufacturing data points and manufacturing events between PI sheets of the same process order.

To access data points and events from PI sheets, you must specify the number of the relevant PI sheet when you define the data access in the master recipe or process order. Since the corresponding control recipe has usually not been sent by this time, you do not yet know the number of the PI sheet.

Using this function, you can access data points and events from PI sheets whose numbers you do not know. The provisional control recipe number is determined by means of the control recipe destination specified. You specify a text symbol in the event or data point address, which is then replaced by the actual control recipe number when the control recipe has been created.

Activities

In a process instruction of Type 0: Universal Process Instruction Category , you define the following characteristics in the sequence specified:

Read Data Point

Characteristic

Meaning

Value

PPPI_OTHER_DESTINATION

Destination name of the control recipe from which the data point or event is to come

Destination name of the control recipe from which the data point or event is to come

PPPI_OTHER_CONTROL_RECIPE

Control recipe number for the destination specified

Automatic value assignment

PPPI_DATA_ACCESS

Manufacturing Data Access

Manufacturing Data Access

PPPI_IMPORT_DATA

Import parameter of Manufacturing Data Access

Address with the data point or global variable of the application from which the value is to be transferred to the subsequent variable

You replace the number of the PI sheet by a text symbol that contains the characteristic number of PPPI_OTHER_CONTROL_RECIPE. For more information on text symbols, see Using Text Symbols in Process Instructions .

One of the following characteristics:

< PPPI_STRING_VARIABLE

< PPPI_FLOAT_VARIABLE

< PPPI_DATE_VARIABLE

< PPPI_TIME_VARIABLE

Value transfer in variable:

< Alphanumeric value

< Floating point number

< Date

< Time

Variable of data type:

< Alphanumeric value

< Floating point number

< Date

< Time

For more information on Manufacturing Data Access , see:

Example

You want to read variable MYVAR from the PI sheet for control recipe destination N2 in the PI sheet for control recipe destination N1. You assign N2 to PPPI_OTHER_DESTINATION. In the data point address, you enter text symbol &0020& instead of the PI sheet number. When the control recipe for destination N2 is created, text symbol &0020& is replaced by the value assigned to characteristic number 0020.

Char.No.

Characteristic

Characteristic Value

0010

PPPI_OTHER_DESTINATION

N2

0020

PPPI_OTHER_CONTROL_RECIPE

Automatic

0030

PPPI_DATA_ACCESS

Manufacturing Data Access

0040

PPPI_BUTTON_TEXT

Read PI sheet number

0050

PPPI_FUNCTION_DURING_DISPLAY

Permitted

0060

PPPI_IMPORT_DATA

PSH:&0020&.MYVAR

0070

PPPI_FLOAT_VARIABLE

VAR

0080

PPPI_OUTPUT_VARIABLE

VAR