Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 848

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

Advertisement

Processing details
• These instructions search for the minimum value in the (n) points of double-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 minimum value by the number of points from (s) in the device specified by (d)+4 and the number of
minimum values in the device specified by (d)+5.
• 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.
(s)+3 ∙∙∙ (s)
(s)+7 ∙∙∙ (s)+4
(s)+11 ∙∙∙ (s)+8
(s)+15 ∙∙∙ (s)+12
(s)+19 ∙∙∙ (s)+16
(d), (d)+1, (d)+2, (d)+3: Minimum value
(d)+4: Location
(d)+5: Number of minimum values
• When (n) is 0, the processing is not performed.
Operation error
Error code
Description
(SD0)
3402H
The block data in the device specified by (s) includes a value other than double-precision real number.
7 APPLICATION INSTRUCTIONS
846
7.9 Real Number Instructions
1.2345
123.45
-1.2345
(n)
-12.345
-123.45
(d)
(d)+1
-123.45
(d)+2
(d)+3
(d)+4
5
(d)+5
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents