Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 927

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions search the (n) points of 32-bit binary data in the device specified by (s) for the maximum value, and store
the maximum value in the devices specified by (d) and (d)+1. Each instruction searches data starting from the device
specified by (s) and detects first the maximum value in the xth point from (s), and stores x in (d)+2 and the number of
maximum values in (d)+3.
(s)+1, (s)
54321000 (BIN)
(s)+3, (s)+2
4321000 (BIN)
(n)
(s)+5, (s)+4
3254000 (BIN)
(s)+7, (s)+6
54321000 (BIN)
(s)+9, (s)+8
12345678 (BIN)
(d), (d)+1: Maximum value
(d)+2: Location
(d)+3: Number of maximum values
Operation error
There is no operation error.
(d)
54321000 (BIN)
(d)+1
(d)+2
1
2
(d)+3
7 APPLICATION INSTRUCTIONS
7.20 Data Processing Instructions
7
925

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents