Delta DVP-ES3 — 6.13.2 Explanation of Data Processing Instructions

DVP-ES3 Series Programming Manual Explanation 1. This instruction compares n signed decimal values in the registers starting from the register specified by S 1 with the signed decimal value in the register specified by S 2 , and stores the comparison results in the registers D – D +4. 2. The operand n must be between 1 – 256. 3. Only the 32-bit instructions can use the 32-bit counter, but not the device E. Example 1. When M0 is ON, the instruction compares the values in D10 – D19 with the value in D0, and stores the comparison results in D50 – D54. When the equal value does not exist in D10 – D19, the values in D50 – D52 are 0. 2.

The instruction stores the data number of the minimum value in D53, and stores the data number of the maximum value in D54. If there is more than one minimum value or maximum value, the instruction stores the data number _6 that is bigger. 6-344 Device Description D Number of equal values D+1 Data number of the first equal value D+2 Data number of the last equal value D+3 Data number of the minimum value D+4 Data number of the maximum value