8:
D
ATA
C
ONVERSION
I
NSTRUCTIONS
8
‐
16
FC5A
MicroSmart
User’s
Manual FC9Y
‐
B1273
DECO
(Decode)
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.
Special
internal
relays
cannot
be
designated
as
D1.
Valid
values
for
the
offset
designated
by
source
device
S1
are
0
through
255.
Make
sure
that
the
offset
designated
by
S1
and
the
last
bit
of
destination
data
determined
by
the
sum
of
S1
and
D1
are
within
the
valid
value
range.
If
the
offset
or
destination
data
is
out
of
the
valid
range,
a
user
program
execution
error
will
result,
turning
on
special
internal
relay
M8004
and
the
ERR
LED
on
the
CPU
module.
Since
the
DECO
instruction
is
executed
in
each
scan
while
input
is
on,
a
pulse
input
from
a
SOTU
or
SOTD
instruction
should
be
used
as
required.
Examples:
DECO
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)
Offset
X
X
X
X
— —
X
0
‐
255
—
D1
(Destination
1)
First
bit
to
count
offset
—
X
X
— —
X
—
—
When
input
is
on,
the
values
contained
in
devices
designated
by
S1
and
D1
are
added
to
determine
the
destination,
and
the
bit
so
determined
is
turned
on.
DECO
S1
*****
D1
*****
D1
M104
S1
D20
I0
DECO
M117
M100
M137
M120
M157
M140
M177
M160
M197
M180
M217
M200
When
input
I0
is
on,
the
destination
bit
is
determined
by
adding
the
value
contained
in
data
register
D20
designated
by
device
S1
to
internal
relay
M104
designated
by
destina
‐
tion
device
D1.
Since
19th
bit
from
internal
relay
M104
is
internal
relay
M127,
the
bit
so
determined
is
turned
on.
19
D20
First
bit
ON
D1
D30
S1
D10
I1
DECO
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
D30
D31
D32
D33
D34
D35
When
input
I1
is
on,
the
destination
bit
is
determined
by
adding
the
value
contained
in
data
register
D10
designated
by
device
S1
to
data
register
D30
designated
by
destination
device
D1.
Since
39th
bit
from
data
register
D30
bit
0
is
data
register
D32
bit
7,
the
bit
so
deter
‐
mined
is
turned
on.
ON
39
D10
Summary of Contents for MICROSmart FC5A Series
Page 1: ...FC5A SERIES FC9Y B1273 1 User s Manual Advanced Volume ...
Page 2: ......
Page 8: ...Preface 6 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 14: ...TABLE OF CONTENTS vi FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 52: ...4 DATA COMPARISON INSTRUCTIONS 4 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 72: ...5 Binary Arithmetic Instructions 5 20 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 88: ...7 SHIFT ROTATE INSTRUCTIONS 7 12 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 112: ...8 DATA CONVERSION INSTRUCTIONS 8 24 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 138: ...11 PROGRAM BRANCHING INSTRUCTIONS 11 14 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 178: ...13 PULSE INSTRUCTIONS 13 32 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 202: ...14 PID INSTRUCTION 14 24 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 206: ...15 DUAL TEACHING TIMER INSTRUCTIONS 15 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 214: ...16 INTELLIGENT MODULE ACCESS INSTRUCTIONS 16 8 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 248: ...21 COMPUTER LINK COMMUNICATION 21 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 272: ...23 MODBUS TCP COMMUNICATION 23 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 332: ...25 EXPANSION RS232C RS485 COMMUNICATION 25 16 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 341: ...NOTE FC5A MICROSMART USER S MANUAL FC9Y B1273 1 ...
Page 342: ...NOTE 2 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...