AH500 Motion Control Module Manual S : Source; D : Destination When the instruction is executed, the value in S is transferred to D . When the instruction is not executed, the value in D is unchanged. If an operation result gotten is a 32-bit value, users can only move the operation result by means of the instruction DMOV. Explanation If users want to move a 16-bit value, they have to use the instruction Example MOV. 1. When X0.0 is OFF, the value in D0 is unchanged. When X0.0 is ON, the value K10 is transferred to the data register D0. 2. When X0.1 is OFF, the value in D10 is unchanged. When X0.1 is ON, the value in K2M4 is transferred to the data register D10.
If users want to move a 32-bit value, they have to use the instruction DMOV. When X0.2 is OFF, the values in (D31, D30) and (D41, D40) are unchanged. When X0.2 is ON, the value in (D21, D20) is transferred to (D31, D30), and the value in (D51, D50) is transferred to (D41, D40). X0.0 X0.1 X0.2 DMOV DMOV 5-30 API Instruction code Operand Function 12 D MOV P S, D Transferring a value Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S D Pulse instruction 16-bit instruction (5 steps ) 32-bit instruction (6 steps ) 0 MOV K10 D0 1 MOV K2M4 D10 D20 D30 D50 D40