3:
M
OVE
I
NSTRUCTIONS
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
3
‐
13
NSET
(N
Data
Set)
Applicable
CPU
Modules
Valid
Devices
For
the
valid
device
address
range,
see
pages
and
(
Basic
Vol.).
Special
internal
relays
cannot
be
designated
as
D1.
When
T
(timer)
or
C
(counter)
is
used
as
S1,
the
timer/counter
current
value
(TC
or
CC)
is
read
out.
When
T
(timer)
or
C
(counter)
is
used
as
D1,
the
data
is
written
in
as
a
preset
value
(TP
or
CP).
When
F
(float)
data
type
is
selected,
only
data
register
and
constant
can
be
designated
as
S1,
and
only
data
register
can
be
designated
as
D1.
When
F
(float)
data
type
is
selected
and
S1
does
not
comply
with
the
normal
floating
‐
point
format,
a
user
program
execution
error
will
result,
turning
on
special
internal
relay
M8004
and
ERR
LED
on
the
CPU
module.
Make
sure
that
the
last
destination
data
determined
by
D1+N
‐
1
(word
or
integer
data
type)
or
D1+2N
‐
2
(double
‐
word,
long,
or
float
data
type)
is
within
the
valid
device
range.
If
the
derived
destination
device
is
out
of
the
valid
device
range,
a
user
program
execution
error
will
result,
turning
on
special
internal
relay
M8004
and
ERROR
LED
on
the
CPU
module.
Valid
Data
Types
Example:
NSET(F)
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
S1
(Source
1)
First
device
address
to
move
X
X
X
X
X
X
X
X
—
D1
(Destination
1)
First
device
address
to
move
to
—
X
X
X
X
X
—
—
W
(word)
X
I
(integer)
X
D
(double
word)
X
L
(long)
X
F
(float)
X
S1,
S2,
S3, ... ,
Sn
D1,
D2,
D3, ... ,
Dn
When
input
is
on,
N
blocks
of
16
‐
or
32
‐
bit
data
in
devices
designated
by
S1,
S2,
S3, ... ,
Sn
are
moved
to
N
blocks
of
destinations,
starting
with
device
designated
by
D1.
This
instruction
is
available
on
upgraded
CPU
modules
with
system
pro
‐
gram
version
200
or
higher.
NSET(*)
S1
*****
S2
*****
Sn
*****
.....
D1
*****
First
16
‐
/32
‐
bit
data
S1
Second
16
‐
/32
‐
bit
data
S2
Third
16
‐
/32
‐
bit
data
S3
Nth
16
‐
/32
‐
bit
data
Sn
N
blocks
of
16
‐
/32
‐
bit
data
First
16
‐
/32
‐
bit
data
D1
Second
16
‐
/32
‐
bit
data
D1+1
or
D1+2
Third
16
‐
/32
‐
bit
data
D1+2
or
D1+4
Nth
16
‐
/32
‐
bit
data
D1+N–1
or
D1+2N–2
N
blocks
of
16
‐
/32
‐
bit
data
N
Data
Set
When
a
bit
device
such
as
I
(input),
Q
(output),
M
(internal
relay),
or
R
(shift
register)
is
designated
as
the
source
or
destination,
16
points
(word
or
integer
data
type)
or
32
points
(double
‐
word
or
long
data
type)
are
used.
When
a
word
device
such
as
T
(timer),
C
(counter),
or
D
(data
register)
is
designated
as
the
source
or
destination,
1
point
(word
or
integer
data
type)
or
2
points
(double
‐
word,
long,
or
float
data
type)
are
used.
D1
D20
Five
constants
0.51,
2.34,
7.89,
3.33,
and
10.0
D20
through
D29
When
input
I0
is
turned
on,
5
constants
designated
by
source
devices
S1
through
S5
are
moved
to
10
data
registers
starting
with
D20
designated
by
destination
device
D1.
2.34
0.51
7.89
S1
0.51
S4
3.33
I0
NSET(F)
3.33
10.0
2.34
D22
∙
D23
0.51
D20
∙
D21
7.89
D24
∙
D25
3.33
D26
∙
D27
10.0
D28
∙
D29
S2
2.34
S3
7.89
S5
10.0
SOTU
Содержание 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 ...