5 - 14                  5 - 14 
MELSEC-Q
5   DETAILS AND SETTING OF FUNCTIONS 
 
5.7 Movement Averaging Function 
The movement averaging function averages the values of the sampling pulse 
number, which were imported in the count cycle (refer to Section 5.1.4), by the 
specified number of times to calculate the average value. This function is used 
when variations occur in the values of the sampling pulse number. 
The following shows the outline of movement averaging function operation. 
 
Movement averaging processing performed when the setting number is four 
times. 
 
Buffer memory
Count cycle
Sampling pulse
number
1)
2)
3) 4)
5)
6)
7)
8) 9)
10) 11)
12)
Time
First strage
1) +2) +3) +4) 
4
Second storage
2) +3) +4) +5)
4
Third storage
3) +4) +5) +6)
4
Data transition in buffer memory
First storage
Second storage
Third storage
0
Sampling pulse
number
*: From a counter reset or immediately after an operating condition setting request until
   reaching the number of movement averaging processing, averaging processing is 
   performed by that number.
 
 
Buffer memory address 
Item  Read value/Setting value 
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 
Sampling pulse number  0 to 32767  0  32  64  96  128  160  192  224 
Movement averaging 
processing selection 
0: Sampling processing 
1: Movement averaging 
processing 
4  36  68  100 132 164 196 228 
Number of movement 
averaging processing 
2 to 60  5  37  69  101  133  165  197  229 
 
POINT 
 
•  If the setting value is other than the above values, a movement averaging setting 
range outside error (error code: 300) occurs. To clear the error, turn ON the error 
reset request (Y8 to YF) of the corresponding channel. After this, set a correct 
value and then turn ON the operating condition setting request flag (Y1). 
•  The settings are reflected on the module by turning ON the operating condition 
setting request flag (Y1) after setting the values to the buffer memory.