2:
A
DVANCED
I
NSTRUCTIONS
2
‐
10
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
Double
‐
word
Devices
in
Data
Registers
When
the
double
‐
word
data
type
is
selected
for
the
source
or
destination
device,
the
data
is
loaded
from
or
stored
to
two
consecutive
data
registers.
The
order
of
the
two
devices
depends
on
the
device
type.
When
a
data
register,
timer,
or
counter
is
selected
as
a
double
‐
word
device,
the
high
‐
word
data
is
loaded
from
or
stored
to
the
first
device
selected.
The
low
‐
word
data
is
loaded
from
or
stored
to
the
subsequent
device.
Example:
When
data
register
D10
is
designated
as
a
double
‐
word
source
device
and
data
register
D20
is
designated
as
a
double
‐
word
destination
device,
the
data
is
loaded
from
or
stored
to
two
consecutive
data
registers
as
illustrated
below.
Note:
The
above
example
is
the
default
setting
of
the
FC5A
MicroSmart.
The
order
of
two
devices
can
be
selected
on
CPU
modules
with
system
program
version
110
or
higher.
See
page
(
Basic
Vol.).
Discontinuity
of
Device
Areas
Each
device
area
is
discrete
and
does
not
continue,
for
example,
from
input
to
output
or
from
output
to
internal
relay.
In
addition,
special
internal
relays
M8000
through
M8157
(all
‐
in
‐
one
type
CPU)
or
M8317
(slim
type
CPU)
are
in
a
separate
area
from
internal
relays
M0
through
M2557.
Data
registers
D0
through
D1999,
expansion
data
registers
D2000
through
D7999
(slim
type
CPU
only),
and
special
data
registers
D8000
through
D8199
(all
‐
in
‐
one
type
CPU)
or
D8499
(slim
type
CPU)
are
in
separate
areas
and
do
not
continue
with
each
other.
Advanced
instructions
execute
operation
only
on
the
available
devices
in
the
valid
area.
If
a
user
program
syntax
error
is
found
during
programming,
WindLDR
rejects
the
program
instruction
and
shows
an
error
message.
NOP
(No
Operation)
Details
of
all
other
advanced
instructions
are
described
in
the
following
chapters.
305419896
Double
‐
word
Data
High
Word
D10
(12345678h)
Source
Device
4660
(1234h)
Low
Word
D11
22136
(5678h)
High
Word
D20
4660
(1234h)
Low
Word
D21
22136
(5678h)
Destination
Device
The
internal
relay
ends
at
M2557.
Since
the
MOV
(move)
instruction
reads
16
internal
relays,
the
last
internal
relay
exceeds
the
valid
range,
resulting
in
a
user
program
syntax
error.
M8125
REP
S1
–
M2550
D1
–
D0
MOV(W)
This
program
results
in
a
user
program
syntax
error.
The
destination
of
the
DIV
(division)
instruction
requires
two
data
registers
D1999
and
D2000.
Since
D2000
exceeds
the
valid
range,
a
user
program
syntax
error
occurs.
I0
REP
S1
–
D100
S2
–
D200
DIV(W)
D1
–
D1999
The
MOV
(move)
instruction
sets
data
of
data
register
D0
to
16
outputs
Q610
through
Q627
in
the
first
repeat
cycle.
The
destination
of
the
second
cycle
is
the
next
16
outputs
Q630
through
Q647,
which
are
invalid,
resulting
in
a
user
pro
‐
gram
syntax
error.
For
details
about
repeat
operations
of
each
advanced
instruction,
see
the
fol
‐
lowing
chapters.
M8125
REP
2
S1
–
D0
D1
R
Q610
MOV(W)
No
operation
is
executed
by
the
NOP
instruction.
The
NOP
instruction
may
serve
as
a
place
holder.
Another
use
would
be
to
add
a
delay
to
the
CPU
scan
time,
in
order
to
simulate
communication
with
a
machine
or
application,
for
debugging
purposes.
The
NOP
instruction
does
not
require
an
input
and
device.
NOP
Содержание 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 ...