217 Publication 1763-RM001C-EN-P - October 2009
Chapter
12
Move Instructions
The move instructions modify and move words.
MOV - Move
Instruction Type: output
The MOV instruction is used to move data from the source to the
destination. As long as the rung remains true, the instruction moves the
data each scan.
Using the MOV Instruction
When using the MOV instruction, observe the following:
• Source and Destination can be different data sizes. The source is
converted to the destination size when the instruction executes. If
the signed value of the Source does not fit in the Destination, the
overflow is handled as follows:
– If the Math Overflow Selection Bit is clear, a saturated result is
stored in the Destination. If the Source is positive, the Destination
is 32767 (word). If the result is negative, the Destination is -32768.
– If the Math Overflow Selection Bit is set, the unsigned truncated
value of the Source is stored in the Destination.
• Source can be a constant or an address.
Instruction Used to: Page
MOV - Move Move the source value to the destination. 217
MVM - Masked Move Move data from a source location to a selected
portion of the destination.
219
MOV
Move
Source N7:0
0<
Dest N7:1
0<
MOV
Execution Time for the MOV Instruction
Controller Data Size When Rung Is:
True False
MicroLogix 1100 word 9.18 μs 0.87 μs
long word 9.21 μs 0.87 μs
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive