---
title: Moving Window
slug: manufacturing-connect-edge-v2/moving-window
docTags: 
createdAt: 2024-08-08T21:47:55.581Z
---

The **Moving Window&#x20;**&#x70;rocessors perform calculations over a sliding or moving window of data from your PLC device.

# Moving Window Overview

Single inputs are to be provided with the **events&#xA0;**&#x74;ype connection and then the respective functions are calculated as the names suggest.

Use one of the following processors for your inputs:

- **Moving Average&#xA0;**&#x67;ives you the average of the inputs values in the Flow.
- **Moving Maximum&#xA0;**&#x67;ives you the maximum value among the inputs in the Flow.
- **Moving Minimum&#xA0;**&#x67;ives you the minimum value among the inputs in the Flow.

The following information describes these processors:

- For **Field Name**, you can enter the field name for which you want to apply the function. The field name must be available in all the inputs. For example, **value&#xA0;**, **deviceID**, or **success**.
- For **Processing Type**, you can select from **float**, **signed&#xA0;**(signed integer) or **unsigned&#xA0;**(unsigned integer).
- For **Window Size**, enter the number of values you want the function to consider.
- Connect the input to the function using the **events&#xA0;**&#x63;onnection.
- Connect the function to the output using the **events&#xA0;**&#x63;onnection.

# Moving Window Parameters

| **Parameters**  | **Details**                                                                                                                                                                         |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Processing Type | This parameter refers to the data type of the value being processed. &#xD;                                                                                                          |
| Window Size     | This parameter determines the size of the window in which calculations are performed. The window size represents the number of seconds over which the calculations are carried out. |
| Field Name      | This parameter is usually left unchanged. It is used if the incoming data is of message type, and/or if a non-default "value" field name is being used.                             |

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/xG4ZXhzoUPuQ3faPIXJi9_image.png "Moving Average parameters")

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/bpokzA6dTut7adorvaJCs_image.png "Moving Maximum parameter")

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/WcJ7oByqw35Z5dAF_QaR4_image.png "Moving Minimum parameters")

:::hint{type="info"}
**Note:&#x20;**&#x57;hen creating an analytics flow with *Moving Window&#x20;*&#x70;rocessor, refer the [Use the Moving Window Processor Function](docId\:HoRWZl5vFVoxY3d0FssNF) guide for more details.
:::

