EasyManuals Logo

IDEC OpenNet series User Manual

IDEC OpenNet series
427 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 #171 background imageLoading...
Page #171 background image
11: BINARY ARITHMETIC INSTRUCTIONS
11-6 OPENNET CONTROLLER USERS MANUAL
Repeat Source and Destination Operands
• Data Type: Word
When S1 (source) and D1 (destination) are designated to repeat, different results are set to 3 operands starting with D1.
• Data Type: Double Word
When S1 (source) and D1 (destination) are designated to repeat, different results are set to 3 operands starting with
D1·D1+1.
Repeat All Source and Destination Operands
• Data Type: Word
When all operands are designated to repeat, different results are set to 3 operands starting with D1.
• Data Type: Double Word
When all operands are designated to repeat, different results are set to 3 operands starting with D1·D1+1.
Note: Special internal relay M8003 (carry/borrow) is turned on when a carry or borrow occurs in the last repeat operation.
When a user program execution error occurs in any repeat operation, special internal relay M8004 (user program execution
error) and the ERROR LED are turned on and maintained while operation for other instructions is continued. For the
advanced instruction which has caused a user program execution error, results are not set to any destination.
I1
REP
3
S1 R
D10
D1 R
D30
15
D11
10
D10
20
D12
S1 (Repeat = 3) D1 (Repeat = 3)
S2
D20
S2 (Repeat = 0)
+
+
+
40
D31
35
D30
45
D32
25
D20
25
D20
25
D20
SOTU
ADD(W)
I1
REP
3
S1 R
D10
D1 R
D30
D12·D13
D10·D11
D14·D15
S1 (Repeat = 3) D1 (Repeat = 3)
S2
D20
S2 (Repeat = 0)
+
+
+
D32·D33
D30·D31
D34·D35
D20·D21
D20·D21
D20·D21
SOTU
ADD(D)
I1
REP
3
S1 R
D10
D1 R
D30
15
D11
10
D10
20
D12
S1 (Repeat = 3) D1 (Repeat = 3)
S2 R
D20
S2 (Repeat = 3)
+
+
+
50
D31
35
D30
65
D32
35
D21
25
D20
45
D22
SOTU
ADD(W)
I1
REP
3
S1 R
D10
D1 R
D30
D12·D13
D10·D11
D14·D15
S1 (Repeat = 3) D1 (Repeat = 3)
S2 R
D20
S2 (Repeat = 3)
+
+
+
D32·D33
D30·D31
D34·D35
D22·D23
D20·D21
D24·D25
SOTU
ADD(D)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

IDEC OpenNet series Specifications

General IconGeneral
BrandIDEC
ModelOpenNet series
CategoryController
LanguageEnglish

Related product manuals