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 #148 background imageLoading...
Page #148 background image
8: ADVANCED INSTRUCTIONS
USERS MANUAL 8-3
Programming Advanced Instructions Using Program Loader
Repeat operation can be used with some advanced instructions. When repeat is designated for a source or destination oper-
and, consecutive operands as many as the repeat cycles are processed starting with the designated operand. Details of
repeat operation are described in following chapters. Repeat operation can be programmed using the program loader,
shown below.
Example: Program the MOV (move) instruction
with 5 repeat cycles for destination operand D1.
Note: To enter a decimal or hexadecimal constant for a source operand, press the LOD/10 or OUT/16 key followed by the
constant value.
Revising Advanced Instructions Using Program Loader
I0
MOV S1
D10
D1 R
D50
REP
5
1 S1
MOV
D1:
First, program the input condition for the advanced instruction pressing the LOD,
I, 0, and keys. Then program the MOV (move) instruction pressing the keys
shown below.
ADV
1
BPS
1
BPS
1 S1: D 10
MOV
D1 D 50
Program data registers D10 and D50 for source operand S1 and destination oper-
and D1. The cursor can be moved using the and keys.
OR
E
D
5
CC=
0
1
BPS
0
OR
E
D
1 S1: D 10
MOV
D1 D 50 -R
R=
With the cursor placed at the operand to designate repeat operation, press the
REP (repeat) key. The display changes as shown on the right.
On the right of the operand to repeat, “–R” is displayed.
REP
B
1 S1: D 10
MOV
D1: D 50 -R
R 5
Move down the cursor to the bottom line, and enter the quantity of repeat cycles,
which can be 1 through 31.
5
CC=
0 LOD I 0
1 (MOV )
5 END
6 END
When programming of all operands and repeat cycles is complete, return to the
normal editor screen.
0 LOD I 0
1 (MOV )
5 END
6 END
Place the cursor at the advanced instruction you want to revise using the and
keys.
With the cursor placed at the advanced instruction, press the key.
The editor screen for the advanced instruction will be displayed with the pro-
grammed operands.
To exit after revising is complete, press the key.
1 S1 D 10
MOV
D1: D 50 -R
R= 5

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