732
Table Data Processing Instructions Section 3-17
Applicable Program Areas
Operands C and C+1: Control words
C specifies the number of words in the range, bit 15 of C+1 indicates whether
the data will be treated as signed binary or unsigned binary, and bit 14 of C+1
indicates whether or not to output the PLC memory address of the word that
contains the minimum value to IR00.
Note C and C+1 must be in the same data area.
The following table shows the possible values of C.
R1: First word in range
R1 specifies the first word in the search range. The words from R1 to R1+(C–
1) are searched for the minimum value. (C is the number of words specified in
C.)
Note R1 and R1+C–1 must be in the same data area.
Operand Specifications
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
C+1 Data type Index Register output
0000 Unsigned binary No
4000 Unsigned binary Yes
8000 Signed binary No
C000 Signed binary Yes
15 0
C
15 014
0
C+1
13
00 0000 0000 0000
Output selection
Data type
0: Unsigned binary data
1: Signed binary data
0: Does not output address to IR00.
1: Outputs address to IR00.
Number of words in range
R1
R1+(C–1)
15 0
---to
Search range
Area C R1 D
CIO Area CIO 0000 to
CIO 6142
CIO 0000 to CIO 6143
Work Area W000 to W510 W000 to W511
Holding Bit Area H000 to H510 H000 to H511