12:
C
OORDINATE
C
ONVERSION
I
NSTRUCTIONS
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
12
‐
5
Example:
Linear
Conversion
The
following
example
demonstrates
setting
up
two
coordinate
points
to
define
the
linear
relationship
between
X
and
Y.
The
two
points
are
(X0,
Y0)
=
(0,
0)
and
(X1,
Y1)
=
(8000,
4000).
Once
these
are
set,
there
is
an
X
to
Y
conversion,
as
well
as
a
Y
to
X
conversion.
M8120
is
the
initialize
pulse
special
internal
relay.
At
startup,
XYFS
specifies
two
points.
When
input
I0
is
on,
CVXTY
converts
the
value
in
D10
and
stores
the
result
in
D20.
When
input
I1
is
on,
CVYTX
converts
the
value
in
D11
and
stores
the
result
in
D21.
M8120
XYFS(I)
Y1
4000
END
I0
CVXTY(I)
D1
D20
I1
CVYTX(I)
S1
D21
S1
0
X0
0
Y0
0
X1
8000
S1
0
S2
D10
S1
0
S2
D11
(X0,
Y0)
(X1,
Y1)
X
Y
0
D10
D21
D20
(1000)
D11
(2500)
The
graph
shows
the
linear
relationship
that
is
defined
by
the
two
points:
If
the
value
in
data
register
D10
is
2000,
the
value
assigned
to
D20
is
1000.
For
Y
to
X
conversion,
the
following
equation
is
used:
If
the
value
in
data
register
D11
is
2500,
the
value
assigned
to
D21
is
5000.
Y
1
2
---X
=
X
2Y
=
8000
(2000)
(5000)
Содержание 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 ...