Mitsubishi — 5.6 Descriptions of the Applied Instructions

Chapter 5 Applied Instructions Explanation  D : Destination device  If the instruction used is not a pulse instruction, the value in D used by the instruction increases by one whenever the instruction is executed.  Generally, the pulse instructions INCP and DINCP are used.  If a 16-bit operation is performed, 32,767 plus 1 equals -32,768. If a 32-bit operation is performed, 2,147,483,647 plus 1 equals -2,147,483,648.  When X0.0 is turned from OFF to ON, the value in D0 increases by one.

X0.0 Example INCP D0 5-43 API Instruction code Operand Function Adding one to a binary number 24 D INC 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)   