9: M
OVE
I
NSTRUCTIONS
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
9-3
Repeat Bit Operands
The MOV (move) instruction moves 16-bit data. When a bit operand such as input, output, internal relay, or shift register is
designated as the source or destination operand, 16 bits starting with the one designated by S1 or D1 are the target data. If
a repeat operation is designated for a bit operand, the target data increases in 16-bit increments.
Overlapped Operands by Repeat
If the repeat operation is designated for both the source and destination and if a portion of the source and destination areas
overlap each other, then the source data in the overlapped area is also changed.
111
D11
110
D10
112
D12
M20 through M27, M30 through M37
M0 through M7, M10 through M17
M40 through M47, M50 through M57
Source (Repeat = 0)
Destination (Repeat = 3)
I10
REP
3
S1 –
D10
D1 R
M0
MOV(W)
2
D11
1
D10
3
D12
4
D13
D14
D15
2
D11
1
D10
1
D12
2
D13
1
D14
2
D15
Before Execution
Source:
D10 through D13 (Repeat = 4)
Destination: D12 through D15 (Repeat = 4)
I12
REP
4
S1 R
D10
D1 R
D12
MOV(W)
SOTU
After Execution
Summary of Contents for FC4A-C10R2
Page 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Page 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Page 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Page 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Page 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Page 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Page 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Page 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Page 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Page 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Page 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Page 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Page 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...