![IDEC OpenNet series Скачать руководство пользователя страница 151](http://html.mh-extra.com/html/idec/opennet-series/opennet-series_user-manual_617384151.webp)
9: M
OVE
I
NSTRUCTIONS
9-4
O
PEN
N
ET
C
ONTROLLER
U
SER
’
S
M
ANUAL
• Data Type: Double Word
Repeat Bit Operands
The MOV (move) instruction moves 16-bit data (word or integer data type) or 32-bit data (double-word or integer data
type). When a bit operand such as input, output, internal relay, or shift register is designated as the source or destination
operand, 16 or 32 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- or 32-bit increments, depending on the selected data type.
• Data Type: Word
• Data Type: Double Word
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
111
D21
110
D20
112
D22
Source (Repeat = 3)
Destination (Repeat = 3)
I6
REP
3
S1 R
D10
D1 R
D20
MOV(D)
113
D13
113
D23
114
D14
115
D15
114
D24
115
D25
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)
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)
I11
REP
3
S1 –
D10
D1 R
M0
MOV(D)
114
D14
113
D13
115
D15
M80 through M87, M90 through M97
M60 through M67, M70 through M77
M100 through M107, M110 through M117
2
D11
1
D10
3
D12
4
D13
D14
D15
2
D11
1
D10
1
D12
2
D13
3
D14
4
D15
2
D11
1
D10
1
D12
2
D13
1
D14
2
D15
Before Execution
1st 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
2nd Execution
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]