Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-91
MAX(P),DMAX(P)
1
2
3
4
6
6
7
8
7.5 Data processing instructions
7.5.10 Maximum value search for 16- and 32-bit data (MAX(P),DMAX(P))
(2) The following program searches for the maximum value from the32-bit data at D0 to D7, and
stores it at D100 to D103 when X20 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
-3235 (BIN)
8744740D101, D100
3
1
D102
D103
3786213 (BIN)
D1, D0
8744740 (BIN)
7141821 (BIN)
D3, D2
D5, D4
D7, D6