Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-104
MEAN(P),DMEAN(P)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns on, and an
error code is stored into SD0.
The value specified by n is other than 0 to 32767. (Error code: 4100)
The range of the n-point devices starting from the device specified by exceeds the
range of the devices specified by . (Error code: 4101)
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] [List Mode]
[Operation]
(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] [List Mode]
[Operation]
S
D
Step
Instruction
Device
(BIN)
(BIN)
(BIN)
D1
D10
D0
D2
550
(BIN)
105
555
990
Step
Instruction
Device
(BIN)
(BIN)
(BIN)
D11,D10
D1,D0
D3,D2
D5,D4
2101176
(BIN)
623541
4753647
926342