Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 120

Table of Contents

Advertisement

2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
FIND MAXIMUM
MAX(182)
MAX
@MAX
182
C: 1st control
word
R1: 1st word in
range
D: Destination
word
DOUBLE FIND
MAXL(174)
MAXIMUM
MAXL
@MAXL
174
(CJ2 only)
C: First control
word
S: First word in
range
D: First
destination word
FIND MAXIMUM
MAXF(176)
FLOATING
MAXF
@MAXF
176
(CJ2 only)
C: First control
word
S: First word in
range
D: First
destination word
FIND DOUBLE
MAXD(178)
MAXIMUM
FLOATING
MAXD
@MAXD
178
C: First control
(CJ2 only)
word
S: First word in
range
D: First
destination word
FIND MINIMUM
MIN(183)
MIN
@MIN
183
C: 1st control
word
R1: 1st word in
range
D: Destination
word
84
Finds the maximum value in the range.
C
R1
R1
D
R1+(W −1)
Treats the specified number of data items as double word table data and
outputs the maximum value in the table.
C
S
D
Treats the specified number of data items as a table of single-precision
floating-point data and outputs the maximum value in the table.
C
S
D
Treats the specified number of data items as a table of double-precision
floating-point data and outputs the maximum value in the table.
C
S
D
Finds the minimum value in the range.
C
R1
R1
D
R1+(W −1)
Function
Internal I/O
memory address
C words
Max.
value
Internal I/O
memory address
C words
Min. value
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
586
Required
Output
590
Required
Output
593
Required
Output
595
Required
Output
586
Required

Advertisement

Table of Contents
loading

Table of Contents