Delta AH500 — 6.4.2 Explanation of Data Transfer Instructions

AH500 Programming Manual API 0304 Symbol: S : Data source Word D : Data destination Word n : Data length Word Explanation: 1. n pieces of data in devices starting from the device specified by S are transferred to the devices starting from the device specified by D . 2. The operand n should be within the range between 1 and 256. 3. In order to prevent the error which results from the overlap between the source devices and the destination devices, the data is transferred in the following way. When the device number of S is larger than the device number of D , the data is transferred in the order from  to  .

When the device number of S is less than the device number of D , the data is transferred in the order from  to  . Example 1: When X0.0 is ON, the data in D0~D3 is transferred to D20~D23. 6-122 Instruction code Operand Function BMOV P S, D, n Transferring all data Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S          D          n            Pulse instruction 16-bit instruction (7 steps) 32-bit instruction AH500 AH500 - 1 D20 D19 2 D21 D20 3 D22 D21 D20 D19 2 D21 D20 3 D22 D21 1 D19 D20 2 D20 D21 3 D21 D22 D19 D20 2 D20 D21 3 D21 D22