■Searching the maximum value of 16-bit/32-bit data
Instruction symbol
Description
MAX
This instruction searches the data of (n) points from the device specified by (s) in 16-bit units, and
stores the maximum value in the device specified by (d).
MAXP
MAX_U
MAXP_U
DMAX
This instruction searches the data of (n) points from the device specified by (s) in 32-bit units, and
stores the maximum value in the device specified by (d).
DMAXP
DMAX_U
DMAXP_U
■Searching the minimum value of 16-bit/32-bit data
Instruction symbol
Description
MIN
This instruction searches the data of (n) points from the device specified by (s) in 16-bit units, and
stores the minimum value in the device specified by (d).
MINP
MIN_U
MINP_U
DMIN
This instruction searches the data of (n) points from the device specified by (s) in 32-bit units, and
stores the minimum value in the device specified by (d).
DMINP
DMIN_U
DMINP_U
■Sorting 16-bit data
Instruction symbol
Description
SORTTBL
In the data table (sorting source) having ((m1)(m2)) points specified by (s), sorts the data lines in
the ascending order based on the group data in the column number (n), and stores the result in the
SORTTBL_U
data table (sorting result) having ((m1)(m2)) points specified by (d).
■16-bit/32-bit data alignment 2
Instruction symbol
Description
SORTTBL2
In the data table (sorting source) of 16-bit binary data having (m1m2) points specified by (s), sorts
the data lines in the ascending order based on the group data in the column number (n), and stores
SORTTBL2_U
the result in the data table (sorting result) of 16-bit binary data having ((m1)(m2)) points specified
by (d).
DSORTTBL2
In the data table (sorting source) of 32-bit binary data having (m1m2) points specified by (s), sorts
the data lines in the ascending order based on the group data in the column number (n), and stores
DSORTTBL2_U
the result in the data table (sorting result) of 32-bit binary data having ((m1)(m2)) points specified
by (d).
■Adding 16-bit data
Instruction symbol
Description
WSUM
These instructions add the (n) points of 16-bit binary data in the device starting from the one
specified by (s), and store the result in the device specified by (d).
WSUM_U
WSUMP
WSUMP_U
■Adding 32-bit data
Instruction symbol
Description
DWSUM
These instructions add the (n) points of 32-bit binary data in the device starting from the one
specified by (s), and store the result in the device specified by (d).
DWSUM_U
DWSUMP
DWSUMP_U
Reference
Page 555
Page 556
Reference
Page 557
Page 558
Reference
Page 559
Reference
Page 562
Page 565
Reference
Page 568
Reference
Page 569
2 CPU MODULE INSTRUCTION
2.3 Application instruction
2
73