Show TOC
Set up dynamic
function calls
1. Enter the name of the function module you want to call in
the PI sheet.
If required, you can
display the function module.
To do so, choose Fct.module.
2. If required, enter the text to be displayed on the
pushbutton for the function module in the PI sheet,
If you do not enter
a text here, the short text of the function module is displayed.
3. If it should be possible to call the function not only when
maintaining the PI sheet but also when displaying it, set the
Allow function in display mode
indicator.
4. Specify how the value is to be assigned in the function
module for the following import parameters:
- For all required parameters of the function
module
- For all optional parameters for which you do
not want to use the default value defined in the function module
5. Enter the name and type of the variable whose value is to be
transferred to the function module for the following changing
parameters:
- For all required parameters of the function
module
- For all optional parameters if you do not want
to use the default value defined in the function module and want to pass the
changed parameter value to the PI sheet after carrying out the
function
Note:
The variable must
meet the following requirements:
- It must have been defined in one of the
preceding process instructions and must be valid for the same PI sheet or the
entire process order.
- It must have the same data type as the
parameter.
6. If you want to display the value transferred back by the
changing parameter, also enter the short text to be displayed before the
value.
7. Define the name and data type of the variable to which the
value is to be transferred for every export parameter of the function
module.
8. If you want to display the value in the PI sheet, also enter
a short text to be displayed before the value.