Delta Electronics — 6.13.2 Explanation of Data Processing Instructions

AS Series Programming Manual Example 1. Suppose SM604 is OFF. When X0.0 switches from OFF to ON, the instruction sorts the data in ascending order. 2. The data which to be sorted is as in the following table. _6 6-350 Column Row m2 columns of data Column Column 1 2 3 4 5 Student Chinese English Math Physics Row number m1 rows of data (D0) 1 (D5) 90 (D10) 75 (D15) 66 (D20) 79 1 (D1) 2 (D6) 55 (D11) 65 (D16) 54 (D21) 63 2 (D2) 3 (D7) 80 (D12) 98 (D17) 89 (D22) 90 3 (D3) 4 (D8) 70 (D13) 60 (D18) 99 (D23) 50 4 (D4) 5 (D9) 95 (D14) 79 (D19) 75 (D24) 69 5