AH500 Motion Control Module Manual S : Source; D : Destination; n : Length The instruction is used to transfer the values in registers to new registers. The values in the n registers starting from S are transferred to the n registers starting from D . If n is not in the range available, only the values in registers available will be transferred. n is in the range of 1 to 512. Explanation Example 1 When X2.0 is ON, the values in D0~D3 are transferred to D20~D23. X2.0 K4 D20 D21 n=4 D23 D22 If users specify KnM and KnS, n in KnM must be the same as n in KnS.
Example 2 M1000 S0 S2 S1 S3 S4 S6 S5 n=3 S7 S8 S10 S9 S11 5-32 API Instruction code Operand Function 15 BMOV P S, D, n Transferring values Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S D n Pulse instruction 16-bit instruction (7steps) 32-bit instruction – BMOV D0 D20 D0 D1 D2 D3 BMOV K1M0 K1S0 K3 M0 M1 M2 M3 M4 M5 M6 M7 M8 M9 M10 M11