Type 0: Definition of Changing Parameters 
Use
You define changing parameters in dynamic function calls. To the changing parameter, you assign the variable whose value you want to transfer from the PI sheet or the process manufacturing cockpit to the function module. After the function has been executed, the parameter value is returned to this variable and transferred to the PI sheet or cockpit.
You can display the variable in the PI sheet or cockpit. You can use the variable to transfer the value to succeeding process instructions of the same PI sheet or the same cockpit. However, note the following:
Prerequisites
If you want to pass on the value of a variable to the function module or transfer it from the function module to the PI sheet or cockpit, the variable must be defined in the same PI sheet or cockpit. With PI sheets, the variable may also have been defined or for the entire process order.
For more information on how to use system variables and variables in general, see:
Activities
When defining changing parameters, you specify the following information in the process instruction:
To enter this information, you assign the following characteristics to the process instruction in the order specified below:
Characteristic |
Meaning |
Allowed Values |
PPPI_CHANGING_PARAMETER |
Changing parameters |
Changing parameters of the function module |
< PPPI_FLOAT_VARIABLE or < PPPI_DATE_VARIABLE or < PPPI_TIME_VARIABLE |
Value transfer in variable: < Floating point number < Date < Time |
Variable of data type: < Floating point number < Date < Time |
PPPI_OPTIONAL_PARAMETER |
Optional parameter transfer |
< Parameter transfer not optional< Parameter transfer optional |
If you want to display the variable value in the PI sheet or cockpit, you must define an output field. For more information, see
Type 0: Definition of Output Fields for Variable Values .