In the Analog tab you can define the signals to be calculated. Proceed as follows:
-
Enter a meaningful name for each signal in the Name column, which refers to the source vector and the calculated value type.
-
In the Vector column select the desired vector signal. Only vector signals are offered, which have been defined in the Groups section of the I/O Manager.
-
Define the range of vector elements supposed to be subject to calculation in the columns First index and Last index. There, you have different options:
-
Select “First” and “Last”, if you want to include all vector elements in the calculation (default).
-
Enter static index values (integer numbers from 0 to x), if you only want to process a part of the vector, i.e. apply the calculation beginning from and/or up to a specific vector element.
-
Select analog signals which are dedicated to providing index values. Thus, the range of vector elements for calculation can be altered dynamically.
-
-
Finally, select the requested calculation function in the Function column.
-
Make sure, that the signals are set “active” and close the dialog with <OK>.
The following example explains the application of the module.