3 - 21 3 - 21
MELSEC-Q
3 SPECIFICATIONS
3.4.6 Averaging processing setting (buffer memory address 9: Un\G9)
(1) When selecting sampling processing or av eraging processing, write the setting to
buffer memory address 9 (Un\G9).
(2) When averaging processing is selected, se lect average time or average number
of times.
(3) By default, sampling processing is set f or all channels.
(4) In the case of the Q64AD module, b4 to b7 and b12 to b15 (CH5 to CH8) are
invalid.
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
Time/number of times specification
1 : Average time
0 : Average number of times
Averaging processing channel specification
1 : Averaging processing
0 : Sampling processing
CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
To average channels 1 and 5 for the set number of times and channels 2 and 7 for the set amoun t of time,
and to sample-process other channels, store 5342H (21314) in buffer-memory address 9 (Un\G9).
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
5342H (21314)
0100110100001010
2435
CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
Example