Move (MOV)
MOV
MOV
Move
Source
N7:66
0<
Dest
N7:14
6<
Fixed SLC
SLC
SLC
5/01
5/02
5/03
•
•
•
•
Output Instruction
Updates to the Math Register, S:13 and S:14
Move and logical instructions do not affect the math register.
Entering Mask Values
TIP
This output instruction moves the source value to the destination location. As
long as the rung remains true, the instruction moves the data each scan.
Entering Parameters
Enter the following parameters when programming this instruction.
• Source is the address or constant of the data you want to move
• Destination is the address where the instruction moves the data
SLC
SLC
5/04
5/05
•
•
TIP
Updates to Arithmetic Status Bits
The arithmetic status bits are found in Word 0, bits 0 to 3 in the controller
status file. After an instruction is executed, the arithmetic status bits in the
status file are updated.
When entering constants, you can use 'b' or 'h' to
change the radix of your entry. For example, instead
of entering -1 as a constant, you could enter
1111111111111111b or FFFFh.
If you wish to move one word of data without
affecting the arithmetic bits, use a copy (COP)
instruction with a length of 1 word instead of the
MOV instruction.
Publication 1747-RM001G-EN-P - November 2008
Data Handling Instructions
5-17