IDEC MICROSmart FC6A Series Ladder Programming Manual page 133

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

Repeat Operation in the Move Instructions
Repeat Source Device
When the S1 (source) is set to repeat, as many devices as the repeat cycles, starting with the device designated by S1, are moved
to the destination. As a result, only the last of the source devices is moved to the destination.
• Data Type: Word
MOV(W)
S1 R
D10
I1
• Data Type: Double Word
MOV(D)
S1 R
D10
I2
Repeat Destination Device
When the D1 (destination) is designated to repeat, the source device designated by S1 is moved to all destination devices as many
times as the repeat cycles, starting with the destination designated by D1.
• Data Type: Word
MOV(W)
S1 –
D10
I3
• Data Type: Double Word
MOV(D)
S1 –
D10
I4
Repeat Source and Destination Devices
When both S1 (source) and D1 (destination) are set to repeat, as many devices as the repeat cycles, starting with the device
designated by S1, are moved to the same quantity of devices starting with the device designated by D1.
Note: The BMOV (block move) instruction has the same effect as the MOV instruction with both the source and destination designated to repeat.
• Data Type: Word
MOV(W)
S1 R
D10
I5
D1 –
REP
D20
3
D1 –
REP
D20
3
D1 R
REP
D20
3
D1 R
REP
D20
3
D1 R
REP
D20
3
FC6A S
MICROS
L
ERIES
MART
Source (Repeat = 3)
110
D10
111
D11
D12
112
Source (Repeat = 3)
110
D10
D11
111
D12
112
113
D13
114
D14
D15
115
Source (Repeat = 0)
110
D10
D11
111
112
D12
Source (Repeat = 0)
D10
110
111
D11
112
D12
D13
113
114
D14
115
D15
Source (Repeat = 3)
D10
110
111
D11
112
D12
P
M
ADDER
ROGRAMMING
ANUAL
5: M
OVE
Destination (Repeat = 0)
112
D20
D21
D22
Destination (Repeat = 0)
114
D20
D21
115
D22
D23
D24
D25
Destination (Repeat = 3)
110
D20
D21
110
110
D22
Destination (Repeat = 3)
D20
110
111
D21
110
D22
D23
111
110
D24
111
D25
Destination (Repeat = 3)
D20
110
111
D21
112
D22
FC9Y-B1726
I
NSTRUCTIONS
5-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents