599
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Table Data Processing Instructions
3
MINL
MINL
Applicable Program Areas
Operands
z Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
DOUBLE FIND MINIMUM MINL @MINL 175
Treats the specified number of data items as dou-
ble word table data and outputs the minimum
value in the table.
Symbol
MINL
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 UDINT 2
R1 First word in range UDINT Variable
D First destination word UDINT 2
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
MINL
C
R1
D
C
0
15
C+1
03478
15 12 11
00000000000000
Table length: 0001 to FFFF hex
(W indicates the contents of C.)
Always 0.
Output selection
0: Does not output address to IR0.
1: Outputs address to IR0.
Data type
0: Unsigned
1: Signed
R1
R1+1
R1+2
R1+3
to
R1+(2W−2)
R1+(2W−1)
Lower 16 bits of value 1
Upper 16 bits of value 1
Lower 16 bits of value 2
Upper 16 bits of value 2
to
Lower 16 bits of value n
Upper 16 bits of value n
0
15