Mitsubishi MELSEC-Q/L Programming Manual page 384

Table of Contents

Advertisement

MEAN, MEANP, DMEAN, DMEANP
Program Example
(1) The following program stores the average value of 16-bit data stored from D0 to D2 into D10, when M0 is turned on.
[Ladder Mode]
[Operation]
D0
105
(BIN)
D1
555
(BIN)
D2
990
(BIN)
(2) The following program stores the average value of 32-bit data stored from D0 to D5 into D10 and D11, when M0 is turned
on.
[Ladder Mode]
[Operation]
D1,D0
623541
(BIN)
D3,D2
4753647
(BIN)
D5,D4
926342
(BIN)
382
[List Mode]
Step
D10
550
(BIN)
[List Mode]
Step
D11,D10
2101176
(BIN)
Instruction
Device
Instruction
Device

Advertisement

Table of Contents
loading

Table of Contents