58
Category
Inst
ructi
on Sym
b
o
l
Symbol
Processing Details
Execution
Condition
Nu
mber o
f Ba
sic S
tep
s
Sub
set
See f
o
r Des
cr
iptio
n
Search
MAX
• Searches the data of n points from the
device designated by (S) in 16-bit units,
and stores the maximum value at the
device designated by (D).
4
-
MAXP
MIN
• Searches the data of n points from the
device designated by (S) in 16-bit units,
and stores the minimum value at the
device designated by (D).
MINP
DMAX
• Searches the data of 2n points from the
device designated by (S) in 32-bit units,
and stores the maximum value at the
device designated by (D).
4
-
DMAXP
DMIN
• Searches the data of 2n points from the
device designated by (S) in 32-bit units,
and stores the minimum value at the
device designated by (D).
DMINP
Sort
SORT
• Sorts data of n points from device
designated by (S1) in 16-bit units.
(n x (n-1)/2 scans required)
6
-
DSORT
• Sorts data of 2n points from device
designated by (S1) in 32-bit units.
(n x (n-1)/2 scans required)
Total value
calculations
WSUM
• Adds 16 bit BIN data of n points from
the device specified by (S), and stores
it in the device specified by (D).
4
-
WSUMP
DWSUM
• Adds 32 bit BIN data of n points from
the device specified by (S), and stores
it in the device specified by (D).
DWSUMP
Calculation
of averages
MEAN
• Calculates the mean of n-point devices
(in 16-bit units) starting from the device
specified by (S), and then stores the
result into the device specified by (D).
4
-
MEANP
DMEAN
• Calculates the mean of n-point devices
(in 32-bit units) starting from the device
specified by (S), and then stores the
result into the device specified by (D).
DMEANP
MAX
n
S
D
MAXP
n
S
D
MIN
n
S
D
MINP
n
S
D
DMAX
n
S
D
DMAXP
n
S
D
DMIN
n
S
D
DMINP
n
S
D
SOR
T
S2 D1
S1 n
D2
·
S2
: Nu
m
ber o
f
co
m
pariso
n
s to be
m
a
d
e
d
uri
ng
a si
ng
le ru
n
·
D1
:
D
evice to be tur
n
e
d
O
N at t
h
e
co
m
pletio
n
o
f
sort
·
D2
: For s
y
ste
m
use
DSOR
T
S1 n
·
S2
: Nu
m
ber o
f
co
m
pariso
n
s to be
m
a
d
e
d
uri
ng
a si
ng
le ru
n
·
D1
:
D
evice to be tur
n
e
d
O
N at t
h
e
co
m
pletio
n
o
f
sort
·
D2
: For s
y
ste
m
use
S2 D1 D2
WSUM
n
S
D
WSUMP
n
S
D
DWSUM
n
S
D
DWSUMP
n
S
D
MEAN
S D n
MEANP
S D n
DMEAN
S D n
DMEANP S D n