EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 842

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
840
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
Processing details
These instructions search for the maximum value in the (n) points of single-precision real number block data in the device
starting from the one specified by (s), and store the maximum value in the device specified by (d). The instructions store the
location of the first maximum value by the number of points from (s) in the device specified by (d)+2 and the number of
maximum values in the device specified by (d)+3.
The start of the block data in the device specified by (s) is counted as the 1st point when the search result (location) is
counted.
When (n) is 0, the processing is not performed.
Operation error
(d), (d)+1: Maximum value
(d)+2: Location
(d)+3: Number of maximum values
Error code
(SD0)
Description
3402H The block data in the device specified by (s) includes a value other than single-precision real number.
1.2345
123.45
-1.2345
-12.345
-123.45
(s)+1, (s)
(s)+3, (s)+2
(s)+5, (s)+4
(d)+1
(d)+2
(d)+3
(s)+7, (s)+6
(s)+9, (s)+8
(n)
123.45
2
1
(d)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals