MOV instruction in Mitsubishi plc programming

Mitsubishi PLC—MOV instruction
Instruction format:
MOV S D

S Transfer data or data storage word device address
D The address of the word software of the data transfer destination

Instruction interpretation: When the driving condition is established, the binary data of the original address S is transmitted to the final address D.
Instruction function: an instruction to read and write operations on a word component, or to reset and set a bit component

Example: Data writing to word components
MOV K25D10
Note: Write K25 to D10
MOV KO DO
Note: Clearing DO will also write KO to DO
MOV KOK2YO
Note: Turn off the Y7-Y0 output
Example: Setting/resetting the bit device
MOV K1K2Y0
Note: Set “1” to YO
K1 binary digit 0000 0001
K2Y0 is YO-Y7
MOV K25K2MO
Note: Set MO, M3, M4 to “1”
The binary number of K25 is 0001001
K2MO bit M0-M7
Example: 32-bit transfer operation
DMOV D10D2
annotation:
D10 is transferred to D20
D11 is transferred to D21