3:
M
OVE
I
NSTRUCTIONS
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
3
‐
15
XCHG
(Exchange)
Applicable
CPU
Modules
Valid
Devices
For
the
valid
device
address
range,
see
pages
and
(
Basic
Vol.).
Internal
relays
M0
through
M2557
can
be
designated
as
D1
or
D2.
Special
internal
relays
cannot
be
designated
as
D1
or
D2.
Valid
Data
Types
Examples:
XCHG
•
Data
Type:
Word
•
Data
Type:
Double
Word
FC5A
‐
C10R2/C/D
FC5A
‐
C16R2/C/D
FC5A
‐
C24R2/C/D
FC5A
‐
D16RK1/RS1
FC5A
‐
D32K3/S3
FC5A
‐
D12K1E/S1E
X
X
X
X
X
X
Device
Function
I
Q
M
R
T
C
D
Constant
Repeat
D1
(Destination
1)
First
device
address
to
exchange
—
X
s
X
— —
X
—
—
D2
(Destination
2)
First
device
address
to
exchange
—
X
X
— —
X
—
—
W
(word)
X
I
(integer)
—
D
(double
word)
X
L
(long)
—
F
(float)
—
Word
data
type:
D1
D2
Double
‐
word
data
type:
D1
∙
D1+1
D2,
D2+1
When
input
is
on,
the
16
‐
or
32
‐
bit
data
in
devices
designated
by
D1
and
D2
are
exchanged
with
each
other.
This
instruction
is
available
on
upgraded
CPU
modules
with
system
program
version
210
or
higher.
XCHG(*)
D1
*****
D2
*****
When
a
bit
device
such
as
Q
(output),
M
(internal
relay),
or
R
(shift
register)
is
designated
as
the
desti
‐
nation,
16
points
(word
data
type)
or
32
points
(double
‐
word
data
type)
are
used.
When
a
word
device
such
as
D
(data
register)
is
designated
as
the
destination,
1
point
(word
data
type)
or
2
points
(double
‐
word
data
type)
are
used.
D21
D24
When
input
I0
is
turned
on,
data
of
data
registers
D20
and
D24
designated
by
devices
D1
and
D2
are
exchanged
with
each
other.
I0
XCHG(W)
D2
D24
D1
D21
SOTU
D22
1000
D21
D23
Before
Exchange
After
Exchange
2000
D24
D22
2000
D21
D23
1000
D24
Before
Exchange
After
Exchange
D31
∙
D32
D37
∙
D38
When
input
I1
is
turned
on,
data
of
data
registers
D31
∙
D32
and
D37
∙
D38
designated
by
devices
D1
and
D2
are
exchanged
with
each
other.
I1
XCHG(D)
D2
D37
D1
D31
SOTU
1234567890
D31
∙
D32
D33
∙
D34
D35
∙
D36
9876543
D31
∙
D32
D33
∙
D34
D35
∙
D36
9876543
D37
∙
D38
1234567890
D37
∙
D38
Содержание MICROSmart FC5A Series
Страница 1: ...FC5A SERIES FC9Y B1273 1 User s Manual Advanced Volume ...
Страница 2: ......
Страница 8: ...Preface 6 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 14: ...TABLE OF CONTENTS vi FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 52: ...4 DATA COMPARISON INSTRUCTIONS 4 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 72: ...5 Binary Arithmetic Instructions 5 20 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 88: ...7 SHIFT ROTATE INSTRUCTIONS 7 12 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 112: ...8 DATA CONVERSION INSTRUCTIONS 8 24 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 138: ...11 PROGRAM BRANCHING INSTRUCTIONS 11 14 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 178: ...13 PULSE INSTRUCTIONS 13 32 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 202: ...14 PID INSTRUCTION 14 24 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 206: ...15 DUAL TEACHING TIMER INSTRUCTIONS 15 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 214: ...16 INTELLIGENT MODULE ACCESS INSTRUCTIONS 16 8 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 248: ...21 COMPUTER LINK COMMUNICATION 21 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 272: ...23 MODBUS TCP COMMUNICATION 23 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 332: ...25 EXPANSION RS232C RS485 COMMUNICATION 25 16 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 341: ...NOTE FC5A MICROSMART USER S MANUAL FC9Y B1273 1 ...
Страница 342: ...NOTE 2 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...