FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
7-7
7: B
INARY
A
RITHMETIC
I
NSTRUCTIONS
Repeat Source and Destination Devices
• Data Type: Word and Integer
When S1 (source) and D1 (destination) are assigned to repeat, different results are set to 3 devices starting with D1.
• Data Type: Double Word, Long, and Float
When S1 (source) and D1 (destination) are assigned to repeat, different results are set to 3 devices starting with D1·D1+1.
Repeat All Source and Destination Devices
• Data Type: Word and Integer
When all devices are assigned to repeat, different results are set to 3 devices starting with D1.
• Data Type: Double Word, Long, and Float
When all devices are assigned to repeat, different results are set to 3 devices 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 ERR LED are turned on and
maintained while operations for other instructions continues.
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)
D12·D13
D10·D11
D14·D15
)
3
=
t
a
e
p
e
R
(
1
D
)
3
=
t
a
e
p
e
R
(
1
S
S2 (Repeat = 0)
+
+
+
D32·D33
D30·D31
D34·D35
D20·D21
D20·D21
D20·D21
I1
REP
3
S1 R
D10
D1 R
D30
S2 –
D20
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)
D12·D13
D10·D11
D14·D15
)
3
=
t
a
e
p
e
R
(
1
D
)
3
=
t
a
e
p
e
R
(
1
S
S2 (Repeat = 3)
+
+
+
D32·D33
D30·D31
D34·D35
D22·D23
D20·D21
D24·D25
I1
REP
3
S1 R
D10
D1 R
D30
S2 R
D20
SOTU
ADD(D)
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1726 7 FC6A SERIES Ladder Programming Manual ...
Page 8: ...Preface 7 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 32: ...1 OPERATION BASICS 1 20 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 96: ...3 INSTRUCTIONS REFERENCE 3 18 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 130: ...4 BASIC INSTRUCTIONS 4 34 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 192: ...9 SHIFT ROTATE INSTRUCTIONS 9 12 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 272: ...12 DISPLAY INSTRUCTIONS 12 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 284: ...14 REFRESH INSTRUCTIONS 14 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 502: ...25 DATA LOG INSTRUCTIONS 25 22 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 546: ...26 SCRIPT 26 44 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 598: ...APPENDIX A 14 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...