Chapter 6: Instructions
139
Instruction
Mnemonic
Duplicate Word, Duplicate the
Same Word
Range
Bit
■
Word
MOV
FMOV
MOV: Copy a block of words
FMOV: Fill a block of words with
the same value
Double words
Ladder
MOV: Copy Ns words from Sr to D.
FMOV: Repeatedly copy the value V, Ns times to words starting at
register address D.
Description
1. MOV: Copy a total of Ns registers from registers starting at Sr word into registers starting at
D. This instruction is used for mass duplication of blocks of registers.
2. FMOV: Copy the constant number V, Ns times into registers starting at D. This instruction is
useful for initializing the internal and external memory of certain areas when initializing a
program.
3. This operation will occur on every scan for which the input condition is true (On). To perform
the operation only on a change of input condition, use the rising/falling edge contact.
MOV
D =
Sr =
Ns =
FMOV
D =
Ns =
V =
R
R
Sr
...... 1 0 1 0 1 0 1 0
Sr+1
...... 0 0 0 0 1 1 1 1
Sr+2
...... 1 1 1 1 0 0 0 0
Ns=3
D
...... 1 0 1 0 1 0 1 0
D+1
...... 0 0 0 0 1 1 1 1
D+2
...... 1 1 1 1 0 0 0 0
...... 1 0 1 0 1 0 1 0
Ns=4
D
...... 1 0 1 0 1 0 1 0
D+1
...... 1 0 1 0 1 0 1 0
D+2
...... 1 0 1 0 1 0 1 0
D+3
...... 1 0 1 0 1 0 1 0
V value
MOV
FMOV
Summary of Contents for D320 PLC
Page 1: ...D320 PLC User s Manual...
Page 18: ...6 D320 PLC User s Manual...
Page 28: ...16 D320 PLC User s Manual...
Page 34: ...22 D320 PLC User s Manual...
Page 78: ...66 D320 PLC User s Manual...
Page 176: ...164 D320 PLC User s Manual...
Page 210: ...198 D320 PLC User s Manual...
Page 258: ...246 D320 PLC User s Manual...