12:
C
OORDINATE
C
ONVERSION
I
NSTRUCTIONS
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
12
‐
3
D1
(Destination
to
store
results)
The
conversion
result
of
the
Y
value
is
stored
to
the
destination.
Valid
Data
Types
Data
Conversion
Error
The
data
conversion
error
is
±0.5.
CVYTX
(Convert
Y
to
X)
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.
When
T
(timer)
or
C
(counter)
is
used
as
S2,
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)
which
can
be
0
through
65535.
S1
(Format
number)
Select
a
format
number
0
through
5
(all
‐
in
‐
one
type
CPU)
or
0
through
29
(slim
type
CPU)
which
have
been
set
using
the
XYFS
instruc
‐
tion.
When
an
XYFS
instruction
with
the
corresponding
format
number
is
not
programmed,
or
when
XYFS
and
CVYTX
instructions
of
the
same
format
number
have
different
data
type
designations,
a
user
program
execution
error
will
result,
turning
on
special
internal
relay
M8004
and
the
ERR
LED
on
the
CPU
module.
Data
Type
Word
Integer
S2
(X
value)
0
to
65535
0
to
65535
D1
(Y
value)
0
to
65535
–32768
to
32767
Valid
Coordinates
W
(word)
X
I
(integer)
X
D
(double
word)
—
L
(long)
—
F
(float)
—
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)
Format
number
— — — — — — —
0
to
5
(all
‐
in
‐
one
CPU)
0
to
29
(slim
CPU)
—
S2
(Source
2)
Y
value
X
X
X
X
X
X
X
0
to
65535
–32768
to
32767
—
D1
(Destination
1)
Destination
to
store
results
—
X
X
X
X
X
—
—
Y
0
65535
65535
X
Y
0
32767
–32768
X
65535
When
a
bit
device
such
as
I
(input),
Q
(output),
M
(internal
relay),
or
R
(shift
register)
is
designated
as
S2
or
D1,
16
points
are
used.
When
a
word
device
such
as
T
(timer),
C
(counter),
or
D
(data
register)
is
designated
as
S2
or
D1,
1
point
is
used.
When
input
is
on,
the
Y
value
designated
by
device
S2
is
converted
into
corre
‐
sponding
X
value
according
to
the
linear
relationship
defined
in
the
XYFS
instruction.
Device
S1
selects
a
format
from
a
maximum
of
6
(all
‐
in
‐
one
CPU)
or
30
(slim
CPU)
XY
conversion
formats.
The
conversion
result
is
set
to
the
device
designated
by
D1.
CVYTX(*)
S1
*
S2
*****
D1
*****
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 ...