Use
You define variables if you want to transfer the value of a message characteristic to another process instruction.
You can define variables in the following cases, 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).
The following types of variables are distinguished:
Activity
In PI Sheets
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 that is valid within the PI sheet |
New variable name |
PPPI_GLOBAL_VARIABLE |
Global variable that is valid for the entire process order |
New variable name |
In Process Manufacturing Cockpits
To define a variable, you assign one the following characteristic immediately before the message characteristic in the process instruction:
Characteristic |
Meaning |
Value |
PPPI_VARIABLE |
Variable that is valid within the PI sheet or cockpit |
New variable name |
In general, you can choose any name for a variable. To avoid conflicts with other functions, do not use:
For more information, see
Using Variables in Browser-Based PI Sheets.