2 - 31 2 - 31
MELSEC-Q/QnA
2 INSTRUCTION TABLES
Table 2.22 Data Processing Instructions (Continued)
Category
Instruction
Symbols
Symbol Processing Details
Execution
Condition
Number of
Basic Steps
Subset
See for
Description
SORT
SORT S2 D1S1 n D2
•
S2: Number of comparisons made
during one run
•
D1: Device to turn ON when sort is
completed
•
D2: For system use
• Sorts data of n-points from device
designated by (S1) in 16-bit units.
(n x (n-1)/2 scans required)
Sort
DSORT
DSORT S2 D1S1 n D2
•
S2: Number of comparisons made
during one run
•
D1: Device to turn ON when sort is
completed
•
D2: For system use
• Sorts data of 2 n-points from device
designated by (S1) in 32-bit units.
(n x (n+1)/2 scans required)
67-80
WSUM
WSUM nSD
WSUMP
WSUMP nSD
• Adds 16 bit BIN data of n points from the
device specified by (S), and stores it in
the device specified by (D).
7-83
DWSUM
DWSUM nSD
Total value
calcula-
tions
DWSUMP
DWSUMP nSD
• Adds 32 bit BIN data of n points from the
device specified by (S), and stores it in
the device specified by (D).
4
7-85
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com