Mitsubishi — 5.6 Application Instructions

5 Categories and Use of Basic Application Instructions Operands: S : Start of source devices D : Start of destination devices n : Number of data to be moved Explanations: 1. The program copies a specified block of devices to another destination. Contents in n registers starting from S will be moved to n registers starting from D . If n exceeds the actual number of available source devices, only the devices that fall within the valid range will be used 2. When BMOV is used as 16-bit instruction, Z device cannot be adopted; when BMOV is used as 32-bit instruction, V device cannot be adopted. 3. When specifying the bit device of KnX(Y/M/S), the starting No.

should be a multiple of 16 in octal or decimal format. For example, K1X0, K4Y20 (octal); K1M0, K4S16 (decimal). 4. Range of n : 1 ~ 512. Program example 1: When X20 = ON, the contents in registers D0 ~ D3 will be moved to the 4 registers D20 ~ D23 X20 K4 D20 D22 D21 n=4 D23 Program example 2: Assume the bit devices KnX, KnY, KnM and KnS are designated for moving, the number of digits of S and D has to be the same, i.e. their n has to be the same.

M1000 Y0 Y1 Y2 Y3 Y4 Y6 Y5 n=3 Y7 Y10 Y11 Y12 Y13 DVP-PM Operation Instruction 5-30 API Mnemonic Operands Function Controllers 20PM 10PM 15 BMOV P Block Move Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F BMOV, BMOVP: 7 steps S * * * * * * * D * * * * * * n * * * * * BMOV D0 D20 D0 D1 D2 D3 BMOV K1M0 K1Y0 K3 M0 M1 M2 M3 M4 M5 M6 M7 M8 M9 M10 M11