EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 59

Mitsubishi Electric MELSEC-Q/L
1084 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...
2 INSTRUCTION TABLES
2.5 Application Instructions
57
2
Sort SORT
S2: Number of comparisons to be
made during a single run
D1: Device to be turned ON at the
completion of sort
D2: For system use
Sorts data of n points from
device designated by (S1) in
16-bit units. (n (n-1)/2 scans
required)
6 Page 444
DSORT
S2: Number of comparisons to be
made during a single run
D1: Device to be turned ON at the
completion of sort
D2: For system use
Sorts data of 2n points from
device designated by (S1) in
32-bit units. (n (n-1)/2 scans
required)
Tota l v a l ue
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 Page 448
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).
Page 449
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 Page 450
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
Check code CCD Performs addition of the data
stored in the devices
designated by (S) to (S)+n-1
and calculates the horizontal
parity, and stores the added
data in the device designated
by (D) and the horizontal
parity in the device
designated by (D)+1.
4 Page 452
CCDP
CRC
operation
CRC Generates the CRC value of
n points of 8-bit data starting
from the device designated by
(S) and stores it in the device
designated by (D).
4 Page 455
CRCP
Category Instruction
symbol
Symbol Processing details Execution
condition
Number
of basic
steps
Subset Reference
SORT S2 D1S1
n
D2
DSORT S1
n
S2 D1 D2
WSUM nSD
WSUMP nSD
DWSUM nSD
DWSUMP nSD
MEAN SDn
MEANP SDn
DMEAN SDn
DMEANP SDn
CCD nSD
CCDP nSD
CRC nSD
CRCP nSD

Table of Contents

Related product manuals