Delta AH500 — 6.4.2 Explanation of Data Transfer Instructions

AH500 Programming Manual API 0303 Symbol: S : Data source Word/Double word D : Data destination Word/Double word Explanation: 1. The instruction is used to invert all bits in S , i.e. 0 becomes 1, and 1 becomes 0. The inversion result is stored in D . If the data in S is the constant, the constant will be converted into the binary value. 2. Only the 32-bit instructions can use the 32-bit counter. Example 1: When X0.0 is ON, all bit in D1 are inverted, and the conversion result is stored in Y0.0~Y0.15. b 0 b 1 b 2 b 3 b 15 D1 Sign bit (0: P ositive sign; 1:

Negative sign ) Y0 Inversion result 6-120 Instruction code Operand Function D CML P S, D Inverting the data Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S             D           Pulse instruction 16-bit instruction (5 steps) 32-bit instruction (5 steps) AH500 AH500 AH500 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1