544
8 APPLICATION INSTRUCTION
8.9 Real Number Instruction
Processing details
• These instructions search for the minimum value in the (n) point(s) of single-precision real number block data in the device
starting from the one specified by (s), and store the minimum value in the device areas specified by (d) and (d)+1. These
instructions also store the location of the first minimum value from (s) in the device specified by (d)+2 and the number of
minimum values in the device specified by (d)+3.
• The start of the block data in the device specified by (s) is counted as 1st point when the location is counted.
• The following values are stored in (d).
• When (n) is 0, the processing is not performed.
Operation error
(d)+1, (d): Minimum value
(d)+2: Position
(d)+3: Number of data
Data type
Description
(d)
Single-precision real number
Minimum value
(d)+1
(d)+2
16-bit data
Minimum value position
(d)+3
16-bit data
Number of minimum values
Error code
(SD0/SD8067)
Description
2820H
The device areas specified by (s) exceed the corresponding device range.
The device areas specified by (d) exceed the corresponding device range.
3402H
The block data in the device areas 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)
(d)+2
(d)+3
(s)+7, (s)+6
(s)+9, (s)+8
(n)
-123.45
2
1
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......