IDEC MICROSmart FC6A Series Ladder Programming Manual page 132

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

Advertisement

5: M
I
OVE
NSTRUCTIONS
Examples: MOV
Data Type: Word
MOV(W)
S1 –
I2
12345
D10
M0 through M7, M10 through M17
Data in the source data register is converted into 16-bit binary data, and the ON/
OFF statuses of the 16 bits are moved to internal relays M0 through M7 and M10
through M17. M0 is the LSB (least significant bit). M17 is the MSB (most significant
bit).
Data Type: Word
MOV(W)
I0
Data move operation for integer data is the same as for word data.
Data Type: Double Word
MOV(D)
I0
Data move operation for the long data type is the same as for the double-word data type.
Data Type: Word
MOV(W)
I1
Data Type: Double Word
MOV(D)
I1
Double-word Data Move in Data Registers
When a data register, timer, or counter is selected as a double-word device, the upper-word data is loaded from or stored to the
first device selected. The lower-word data is loaded from or stored to the subsequent device.
Double-word Destination Device: Data Register
MOV(D)
305419896
I1
5-2
D1 –
REP
D10
M0
S1 –
D1 –
REP
810
D2
S1 –
D1 –
REP
810
D2
S1 –
D1 –
REP
D10
D2
S1 –
D1 –
REP
D10
D2
S1 –
D1 –
REP
D0
FC6A S
MICROS
ERIES
D10 → M0
When input I2 is on, data in data register D10 assigned by source device S1 is moved to
16 internal relays starting with M0 assigned by destination device D1.
810 → D2
When input I0 is on, constant 810 assigned by source
device S1 is moved to data register D2 assigned by
destination device D1.
810 → D2·D3
When input I0 is on, constant 810 assigned by source
device S1 is moved to data registers D2 and D3 assigned
by destination device D1.
D10 → D2
When input I1 is on, data in data register D10 assigned
by source device S1 is moved to data register D2
assigned by destination device D1.
D10·D11 → D2·D3
When input I1 is on, data in data registers D10 and D11
assigned by source device S1 is moved to data registers
D2 and D3 assigned by destination device D1.
Double-word
Source Data
305419896
(12345678h)
L
P
MART
ADDER
ROGRAMMING
MSB
0
0
1
1
0
0
0
0
M17
M10
Data Move to Data Registers
4660
(1234h)
22136
(5678h)
M
FC9Y-B1726
ANUAL
LSB
0
0
1
1
1
0
0
1
M7
M0
D0
D1
D2
810
810
D0
D1
D2
0
0
810
810
D3
D0
D1
D2
930
930
D10
D0
D1
D2
D3
D10
Double-
word
D11
Data
High Word D0
Low Word D1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents