Mitsubishi — 5.2 Structure of an Applied Instruction

Chapter 5 Applied Instructions Continuity instruction X0.1 Whenever X0.1 is ON, the instruction MOV is executed once. MOV is a continuity instruction. When the contacts X0.0 and X0.1 are OFF, the instructions are not executed, and the values in the destation operands are not changed.  Operand 1. A word device can consist of bit devices. Applied instructions can use KnM and KnS. Values can be stored in KnM and KnS. 2. Data registers, timers, counters, and index registers can be used as general operands. 3. A data register is a 16-bit register. If users want to use a 32-bit data register, they have to specify two consecutive data registers. 4.

If a 32-bit instruction uses D0 as an operand, the 32-bit data register composed of D1 and D0 will be used. D1 occupies the high 16 bits, and D0 occupy the low 16 bits. Timers and the 16-bit counters C0~C199 can be used in the same way. 5. If the 32-bit counters C240~C255 are used as data registers, they can be operands used by 32-bit instructions.  SM/SR devices are like M/D devices. Owing to the fact that SM/SR devices are like M/D devices, users can refer to M / D columns.  X/Y devices Xn.n (X0.0~X15.15) and Yn.n (Y0.0~Y15.15) are bit devices. If an instruction supports D devices, it will also support Xn and Yn. The usage of Xn/Yn is the same as the usage of D devices.  Operand type 1.

X devices, Y devices, M devices, and S devices can only be turned ON or OFF. They are bit devices. 2. 16-bit (or 32-bit) T devices, C device, D devices, V devices, and Z devices are word devices. 3. If Kn is added to the front of an M/S device, a word device will be formed. For example, K2M0 represents a device composed of the eight bit devices M0~M7. When X0.0 is ON, the values of M0~M7 are moved to bit 0~bit 7 in D10, and bit 8~bit 15 are set to 0. X0.0 5-11 MOV D10 D12 Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S           D         Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S           D         MOV K2M0 D10