EasyManuals Logo
Home>Mitsubishi>Controller>FX3U Series

Mitsubishi FX3U Series Programming Manual

Mitsubishi FX3U Series
944 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
Page #541 background imageLoading...
Page #541 background image
539
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
19 Data Operation 2 – FNC140 to FNC149
19.7 FNC149 – SORT2 / Sort Tabulated Data 2
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High-Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
Related devices
For the instruction execution complete flag use method, refer to Subsection 6.5.2.
Related instruction
Cautions
Do not change the contents of operands and data during operation.
To execute SORT2 instruction again, set the command input to OFF once, then ON again.
Limitation in number of SORT2 instructions
Up to two SORT2 instructions can be simultaneously driven in a program.
Writing during RUN is disabled for a circuit block including SORT2 instruction.
When the same device is specified in and
The source data is overwritten with the data acquired by sorting.
Pay close attention not to change the contents of until execution of SORT2 instruction is completed.
Ensure that the sorted data does not overlap with the source data.
Note that the 32-bit values [m1+1, m1] and [n+1, n] are valid when D or R is specified as "m1" or "n" in a 32-bit
instruction.
In the case of "DSORT2 D0 D50 K4 D100 R0", "m1" is [D51, D50], and "n" is [R1, R0].
Device Name Description
M8029 Instruction execution complete Turns ON when data sorting is completed.
M8165 Descending order
Sorts data in the descending order when set to ON.
Sorts data in the ascending order when set to OFF.
Instruction Description
SORT (FNC 69)
Sort tabulated data
This instruction sorts a data table consisting of data (lines) and group data (columns) based on a specified
group data (column) sorted by line in ascending order. This instruction stores the group data (columns) in
serial devices.
S D
S
Source Data
Sorted Data
Source Data Source Data
Source Data
Sorted Data
Sorted DataSorted Data
Sorted Data
Source Data
D10 D10D30 D30
D40
D2 D22 D20
D10 D10
D10
D30 D30
D55D35D30
D50 D70
D20
D40

Table of Contents

Other manuals for Mitsubishi FX3U Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX3U Series and is the answer not in the manual?

Mitsubishi FX3U Series Specifications

General IconGeneral
BrandMitsubishi
ModelFX3U Series
CategoryController
LanguageEnglish

Related product manuals