Function Block Properties Dialog Box - Storage & Weight Arrays Tab Overview (MAVE)
The Moving Average (MAVE) instruction calculates a time average value for the In signal.
Use the
Storage Array
tab to select the tag for the moving average buffer and weight array buffer for the selected MAVE function block..The following table describes the parameters available on the
Storage Array
tab:Parameter | Description |
Storage Array | Select the tag for the moving average array. This array must be at least as large as the NumberOfSamples parameter. |
Weight Array (optional) | Select the tag for the weighted average array. This array must be at least as large as the NumberOfSamples parameter. Element [0] is used for the newest sample; element [n] is used for the oldest sample. |
New Tag | Click the Storage Array box or the Weight Array box to select the array, then click New Tag to create a new tag for the selected array. |
Weight Array Values table | Displays the values in the weight array. |
Status | Displays read-only status information for blocks containing status bits. If none of the status bits are set, an OK message appears in this field. Otherwise, a list of the status bits that are set appears here. This list is comprised of the parameter names associated with the status bits, and typically explain which parameters were configured with invalid values. |
Execution Order Number | Displays the block's execution number if the routine is in a verified state. If the routine is not yet verified, a Routine not verified message displays. Note that this item is read-only. |
Never display description in a routine | Select this check box if you do not want the description to display in the routine. |
OK | Click this button to add the selected item in the instruction list to the routine and close the Function Block Properties dialog box. |
Cancel | Click this button to cancel any edits you have made and close the Function Block Properties dialog box. |
Apply | Click this button to accept your changes and continue editing in the Function Block Properties dialog box. |
Provide Feedback