Delta AH500 — 6.13.2 Explanation of Data Processing Instructions

AH500 Programming Manual 6.13.2 Explanation of Data Processing Instructions Symbol: S 1 : Initial device involved in the comparison Word/Double word S 2 : Compared data Word/Double word D : Initial device in which the comparison result is stored Word/Double word n : Data length Word/Double word Explanation: 1. n singed decimal values in the registers starting from the register specified by S 1 are compared with the singed decimal value in the register specified by S 2 , and the comparison results are stored in the registers D ~ D +4. 2. The operand n used in the 16-bit instruction should be within the range between 1 and 256.

The operand n used in the 32-bit instruction should be within the range between 1 and 128. 3. Only the 32-bit instructions can use the 32-bit counter. 6-262 API Instruction code Operand Function 1200 D SER P S , S , D, n 1 2 Searching the data Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S 1          S 2             D         n             Pulse instruction 16-bit instruction (9 steps) 32-bit instruction (9 steps) AH500 AH500 AH500 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