Delta DVP-ES3 — 6.13.2 Explanation of Data Processing Instructions

Chapter 6 Applied Instructions Symbol S : First device where the original data is stored m 1 : Number of rows of data 6_ m 2 : Number of columns of data D : First device where the sorted data is stored n : Reference value for sorting the data Explanation 1. This instruction stores the data to be sorted in the m1 Ч m2 registers starting from the register specified by D . If S and D specify the same register, the sorted data is the same as the original data in the register specified by S . 2. The operand m 1 must be between 1 – 32. The operand m 2 must be between 1 – 6. The operand n must be between 1 – m 2 . 3. When SM604 is OFF, the instruction sorts the data in ascending order.

When SM604 is ON, the instruction sorts the data in descending order. 4. It is suggested that you use the SORTP or DSORTP pulse type instruction instead of sorting repeatedly. 5. Only the 32-bit instruction can use the 32-bit counter, but not the device E. 6-355 API Instruction code Operand Function 1205 D SORT P S, m1, m2, D, n Sorting data Device X Y M S T C HC D FR SM SR E K 16# “$” F S  m1    m2    D  n    BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S      m1      m2      D      n      Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 ES3