AH500 Motion Control Module Manual Explanation D : Destination device If the instruction used is not a pulse instruction, the value in D used by the instruction decreases by one whenever the instruction is executed. Generally, the pulse instructions DECP and DDECP are used. If a 16-bit operation is performed, -32,768 minus 1 leaves 32,767. If a 32-bit operation is performed, -2,147,483,648 minus 1 leaves 2,147,483,647. When X0.0 is turned from OFF to ON, the value in D0 decreases by one.
X0.0 Example 5-44 API Instruction code Operand Function Subtracting one from a binary number 25 D DEC P D Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z D Pulse instruction 16-bit instruction (3 steps) 32-bit instruction (3 steps) DECP D0