Mitsubishi — 5.6 Application Instructions

5 Categories and Use of Basic Application Instructions API 260 Operands: S : Source device (32-bit) D : Destination device (16-bit) Explanations: RMOV instruction sends the data in 32-bit device S to 16-bit device D . Sign bit (MSB) of source device will be copied to MSB of destination device. Program Example: When X24 = ON, the data in D6 and D7 will be sent to D4. X24 b31 b16 b15 b0 D7, D6 D4 b0 b15 When X24 = ON, b31 (MSB) of D7 ( S ) will be sent to b15 (MSB) of D4 ( D ). In addition, b0~b14 of D6 will also be sent to b0~b14 of D4 and b15 ~ b30 will be ignored.

DVP-PM Operation Instruction 5-144 Mnemonic Operands Function Controllers 20PM 10PM RMOV 32-bit→16-bit Conversion P Type OP Bit Devices Word Devices Program Steps X Y M S K H KnX KnY KnM KnS T C D V Z RMOV, RMOVP: 5 steps S * * * * * * * * * * * D * * * * * * * * RMOV D6 D4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1