603
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Table Data Processing Instructions
3
MIND
MIND
Applicable Program Areas
Operands
z Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
FIND DOUBLE MINIMUM
FLOATING
MIND @MIND 179
Treats the specified number of data items as a
table of double-precision floating-point data and
outputs the minimum value in the table.
Symbol
MIND
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
C First control word DWORD 2
R1 First word in range LREAL Variable
D First destination word LREAL 4
C: First control word R1: First word in range
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
C
OK OK OK OK OK OK OK OK OK OK
OK
--- --- OK --- --- --- ---R1
---
D
C: First control word
R1: First word in range
D: First destination word
MIND
C
R1
D
C
0
15
C+1
03478
15 12 1114
000000000000000
Table length: 0001 to FFFF hex
(W indicates the contents of C.)
Always 0.
Always 0.
Output selection
0: Does not output address to IR0.
1: Outputs address to IR0.
R1
R1+1
R1+2
R1+3
R1+4
R1+5
R1+6
R1+7
to
R1+(4W−4)
R1+(4W−3)
R1+(4W−2)
R1+(4W−1)
Lowest 16 bits of value 1
Lower 16 bits of value 1
Upper 16 bits of value 1
Highest 16 bits of value 1
Lowest 16 bits of value 2
Lower 16 bits of value 2
Upper 16 bits of value 2
Highest 16 bits of value 2
to
Lowest 16 bits of value n
Lower 16 bits of value n
Upper 16 bits of value n
Highest 16 bits of value n
0
15