Mitsubishi — Chapter 7 Application Instructions API 50-88

7 Application Instructions API 50-99 3. Example of sorting one-dimensional data: If X0 is ON, the data specified will be sorted. After the data is sorted, M1092 will be ON. Owing to the fact that m 1 and m 2 are set to K1, one-dimensional data will be sorted. 5 values will be sorted (D100=K5). The values in D0~D4 are shown below. (a) The values in D0~D4 are shown below. (b) The sorting result is stored in D50~D54. DVP-PLC APPLICATION MANUAL 7-73 Data source D0 D1 D2 D3 D4 Data 75 65 98 60 79 Sorting result D50 D51 D52 D53 D54 Data 60 65 75 79 98