Show TOC

 Example: Message Characteristics - Value Assignment Using Variables Locate this document in the navigation structure

Let us assume that in your plant, the material quantities produced are determined using an automatic weighing system. You want to obtain these values from the weighing system, have them displayed in the PI sheet, and report them to process management using a process message.

To implement the first two steps, you have defined:

  • A function module that obtains the required data from the weighing system

  • A dynamic function call that enables you to start the function module within the PI sheet

(For more information on these steps, see the section on dynamic function calls.)

To report the values obtained via the dynamic function call, you need to define a data request. The values in question can be transferred to the data request using the variable names defined for the import parameters in the function call.

The following graphic shows how the process data request could be structured if the message you want to send belongs to the category PI_PROD, and the variables MAT_WEIGHT and UNIT have been defined for the material quantity and the unit of measure in the dynamic function call.

 ( )