FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
Caution
• When a device number is exceeded, "n" is handled as a smaller value in the possible range.
• Note that the 32-bit value [n+1, n] is valid when D or R is specified as "n" in a 32-bit instruction.
In the case of "DMEAN D0 D100 R0", "n" is [R1, R0].
Error
When "n" is any value outside the range from "1" to "64", an operation error (M8067) is caused.
Program example
The data of D0, D1 and D2 are summed, divided by "3", and then stored to D10.
X000
FNC 45
MEAN
324
Series
S
D
n
D 0
D 10
K 3
12 Data Operation – FNC 40 to FNC 49
(D 0) + (D 1) + (D 2)
3
12.6 FNC 45 – MEAN / Mean
(D 10)