Delta AH500 — 6.2.2 Explanation of Arithmetic Instructions

Chapter 6 Applied Instructions API 0115 Symbol: D : Destination device Word/Double word Explanation: 1. One is added to the value in D . 2. Only the instruction DINC can use the 32-bit counter. 3. When the 16-bit operation is performed, 32,767 plus 1 equals -32,768. When the 32-bit operation is performed, 2,147,483,647 plus 1 equals -2,147,483,648. Example: When X0.0 is switched from OFF to ON, the value in D0 increases by one. 6-67 Instruction code Operand Function D INC P D Adding one to the binary number Device X Y M S T C HC D L SM SR E PR K 16# “$” DF D           Pulse instruction 16-bit instruction (3 steps) 32-bit instruction (3 steps) AH500 AH500 AH500