IDEC FC4A-C10R2 User Manual page 221

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

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.
MOV(W)
S1 –
D10
I10
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.
MOV(W)
SOTU
I12
Before Execution
Source (Repeat = 0)
D1 R
REP
M0
3
S1 R
D1 R
REP
D10
D12
4
1
D10
D11
2
D12
3
4
D13
D14
D15
« FC4A M
110
D10
D11
111
112
D12
Source:
D10 through D13 (Repeat = 4)
Destination: D12 through D15 (Repeat = 4)
After Execution
1
D10
D11
2
D12
1
2
D13
1
D14
D15
2
S
U
'
M
ICRO
MART
SER
S
ANUAL
9: M
OVE
Destination (Repeat = 3)
M0 through M7, M10 through M17
M20 through M27, M30 through M37
M40 through M47, M50 through M57
»
I
NSTRUCTIONS
9-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents