Mitsubishi MELSEC Q Series Programming Manual page 65

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Category
SORT
· S2: Number of comparisons to be
SORT
made during a single run
· D1: Device to be turned ON at the
completion of sort
· D2: For system use
Sort
DSORT
· S2: Number of comparisons to be
made during a single run
DSORT
· D1: Device to be turned ON at the
completion of sort
· D2: For system use
WSUM
WSUMP
Total value
calculations
DWSUM
DWSUMP
MEAN
MEANP
Calculation
of averages
DMEAN
DMEANP
Table 2.22 Data Processing Instructions (Continued)
Symbol
S1 n
S2 D1
D2
• Sorts data of n points from device
designated by (S1) in 16-bit units.
(n x (n-1)/2 scans required)
S1 n
S2 D1 D2
• Sorts data of 2n points from device
designated by (S1) in 32-bit units.
(n x (n-1)/2 scans required)
• Adds 16 bit BIN data of n points from the
WSUM
S D
n
device specified by (S), and stores it in
the device specified by (D).
WSUMP
S D
n
• Adds 32 bit BIN data of n points from the
DWSUM
S D
n
device specified by (S), and stores it in
the device specified by (D).
DWSUMP
S D
n
• Calculates the mean of n-point devices
MEAN
S D n
(in 16-bit units) starting from the device
specified by (S), and then stores the
MEANP
S D n
result into the device specified by (D).
• Calculates the mean of n-point devices
DMEAN
S D n
(in 32-bit units) starting from the device
specified by (S), and then stores the
DMEANP S D n
result into the device specified by (D).
Processing Details
Execution
Condition
6
-
7-95
7-99
4
-
7-101
4
-
7-103
2-37
1
2
4
4
2
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents