EasyManuals Logo
Home>IDEC>Controller>MICRO3

IDEC MICRO3 User Manual

IDEC MICRO3
235 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #153 background imageLoading...
Page #153 background image
9: MOVE INSTRUCTIONS
9-2 USERS MANUAL
Repeat Operation in the Move Instructions
When the S1 (source) is designated with repeat, operands as many as the repeat cycles starting with the operand designated
by S1 are moved to the destination. As a result, only the last of the source operands is moved to the destination.
When the D1 (destination) is designated to repeat, the source operand designated by S1 is moved to all destination oper-
ands as many as the repeat cycles starting with the destination designated by D1.
When both S1 (source) and D1 (destination) are designated to repeat, operands as many as the repeat cycles starting with
the operand designated by S1 are moved to the same quantity of operands starting with the operand designated by D1.
The MOV (move) instruction moves 16-bit word data. When a bit operand such as input, output, internal relay, or shift reg-
ister 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.
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.
I2
MOV REP
3
S1 R
D10
D1
D20
111
D11
110
D10
112
D12
D21
112
D20
D22
Source (Repeat = 3) Destination (Repeat = 0)
I3
MOV REP
3
S1
D10
D1 R
D20
111
D11
110
D10
112
D12
110
D21
110
D20
110
D22
Source (Repeat = 0) Destination (Repeat = 3)
I4
MOV REP
3
S1 R
D10
D1 R
D20
111
D11
110
D10
112
D12
111
D21
110
D20
112
D22
Source (Repeat = 3) Destination (Repeat = 3)
I5
MOV REP
3
S1
D10
D1 R
M0
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)
I6
MOV REP
4
S1 R
D10
D1 R
D12
2
D11
1
D10
3
D12
4
D13
D14
D15
2
D11
1
D10
1
D12
2
D13
D14
D15
2
D11
1
D10
1
D12
2
D13
1
D14
2
D15
Before execution Results
Source: D10 through D13 (Repeat = 4)
Destination: D12 through D15 (Repeat = 4)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICRO3 and is the answer not in the manual?

IDEC MICRO3 Specifications

General IconGeneral
BrandIDEC
ModelMICRO3
CategoryController
LanguageEnglish

Related product manuals