FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
17-5
17: C
OORDINATE
C
ONVERSION
I
NSTRUCTIONS
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.
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.
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)
8000
(2000)
(5000)
Y
1
2
---X
=
X
2Y
=
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...