EasyManua.ls Logo

Omron CJ2 CPU UNIT SOFTWARE - Page 531

Omron CJ2 CPU UNIT SOFTWARE
670 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A-47
Appendices
CJ2 CPU Unit Software User’s Manual
A-1 Instruction Functions
App
A-1-15 Table Data Processing Instructions
FIND MAXI-
MUM FLOAT-
ING
MAXF
@MAXF
176 Treats the number of data items specified by C as a table of single-
precision floating-point data (double-word data) beginning from
the first word in the range specified by R1, and outputs the maxi-
mum value in the table to D+1 and D.
Output Required
FIND DOU-
BLE MAXI-
MUM
FLOATING
MAXD
@MAXD
178 Treats the number of data items specified by C as a table of dou-
ble-precision floating-point data (double-word data) beginning
from the first word in the range specified by R1, and outputs the
maximum value in the table to D+1 and D.
Output Required
FIND MINI-
MUM
MIN
@MIN
183 Output Required
DOUBLE
FIND MINI-
MUM
MINL
@MINL
175 Treats the number of data items specified by C as double-word
table data beginning from the first word in the range specified by
R1, and outputs the minimum value in the table to D+1 and D.
Output Required
FIND MINI-
MUM FLOAT-
ING
MINF
@MINF
177 Treats the number of data items specified by C as a table of single-
precision floating-point data (double-word data) beginning from
the first word in the range specified by R1, and outputs the mini-
mum value in the table to D+1 and D.
Output Required
FIND DOU-
BLE MINI-
MUM
FLOATING
MIND
@MIND
179 Treats the number of data items specified by C as a table of dou-
ble-precision floating-point data (double-word data) beginning
from the first word in the range specified by R1, and outputs the
minimum value in the table to D+1 and D.
Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
MAXF(176)
C
R1
D
C: 1st control word
R1: 1st word in
range
D: 1st destination
word
MAXD(178)
C
R1
D
C: 1st control word
R1: 1st word in
range
D: 1st destination
word
MIN(183)
C
R1
D
C: 1st control word
R1: 1st word in
range
D: Destination
word
R1
R1+(W1)
Finds the minimum value in the range.
Internal I/O
memory address
C words
Min. value
MINL(175)
C
R1
D
C: 1st control word
R1: 1st word in
range
D: 1st destination
word
MINF(177)
C
R1
D
C: 1st control word
R1: 1st word in
range
D: 1st destination
word
MIND(179)
C
R1
D
C: 1st control word
R1: 1st word in
range
D: 1st destination
word

Table of Contents

Related product manuals