The Average statement is one of the dynamic control icons.
It calculates the average of multiple analog inputs. It has two inputs by default, but the user can add up to inputs n (recommended limit 32) in the slot sheet view, selecting the Add Slot function of the context menu.
Fig. 16. Wire-sheet Icon
Fig. 17. Property Sheet
Fig. 18. Slot Sheet
Table 11. Inputs
Inputs |
Type |
Functional description |
In A |
numeric |
Analog input value. None of the inputs have mandatory connections. |
In B |
numeric |
Analog input value |
In n |
user defined |
Add up to n (recommended limit 32) inputs in the slot sheet |
In Enabled |
boolean |
If the input “In Enabled” is set to false disabled in the slot sheet, the output “Out” will be disabled and is set to the value “0”. |
Table 12. Outputs
Outputs |
Type |
Functional description |
Out |
numeric |
Average value of inputs |
No parameters.