Definition of Variables in Process Data Requests and Calculation Formulas 

Use

You define variables in process data requests and calculation formulas to transfer the value of a message characteristic to a succeeding process instruction.

Here, you can use the variable for the following, for example:

Features

You can define a variable for every message characteristic of a process instruction. The data type of the variable is identical to that of the message characteristic (for example, CHAR or NUM).

Depending on how you define the variable, it is valid:

To define a variable, you assign one of the following characteristics immediately before the message characteristic in the process instruction:

Characteristic

Meaning

Value

PPPI_VARIABLE

Variable is valid within the PI sheet

New variable name (see below)

PPPI_GLOBAL_VARIABLE

Variable is valid for the entire process order

New variable name (see below)


In general, you can choose any name for a variable. To avoid conflicts with other functions, do not use:

If a variable was defined for the entire process order, the system does not transfer its value to the process instructions of other PI sheets unless it cannot be changed anymore. This is the case after the value has been reported, that is, when the corresponding process message has been transferred to process management to be send to its destination.