677
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.7 FNC269 – SCL2 / Scaling 2 (Coordinate by X/Y Data)
21
FN
C
160-FN
C
169
R
eal
Ti
m
e
C
loc
k
C
ont
ro
l
22
FN
C
170
-F
N
C
17
9
E
xt
e
rnal
D
evi
ce
23
FN
C
180
Su
b
st.
I
n
str
. I
n
fo
24
FN
C
181-FN
C
189
O
ther
s
25
FN
C
190-FN
C
19
9
B
loc
k D
a
ta
O
per
at
io
n
26
FN
C
200-FN
C
209
C
har
act
e
r St
ring
C
ont
ro
l
27
F
N
C2
10
-F
NC
21
9
Da
ta
O
per
at
ion 3
28
FN
C
220-FN
C
24
9
Da
ta
Co
m
p
a
ris
o
n
29
FN
C
250-FN
C
269
Da
ta
T
a
b
le
O
per
at
io
n
30
FN
C
27
0-F
N
C
274
Ex
-D
ev
ic
e
In
ve
rte
r C
o
mm
s
Explanation of function and operation
1. 16-bit operation (SCL2 and SCL2P)
The input value specified in
is processed by scaling for the specified conversion characteristics, and
stored to a device number specified in
. Conversion for scaling is executed based on the data table
stored in a device specified in
and later.
If the output data is not an integer, however, a number in the first decimal place is rounded.
→
For the method to set the conversion table for scaling, refer to the next page.
2. 32-bit operation (DSCL2 and DSCL2P)
The input value specified in [
+1,
] is processed by scaling for the specified conversion
characteristics, and stored to a device number specified in [
+1,
]. Conversion for scaling is
executed based on the data table stored in a device specified in [
+1,
] and later.
If the output data is not an integer, however, a number in the first decimal place is rounded.
Conversion setting data table for scaling
Set item
Device assignment in
setting data table
Number of coordinate points
(“5” in the case shown in the left
figure)
X coordinate
Point 1
+1
Point 2
+2
Point 3
+3
Point 4
+4
Point 5
+5
Y coordinate
Point 1
+6
Point 2
+7
Point 3
+8
Point 4
+9
Point 5
+10
Conversion setting data table for scaling
Set item
Device assignment in
setting data table
Number of coordinate points
(“5” in the case shown in the left
figure)
[
+1,
]
X coordinate
Point 1
[
+3,
+2]
Point 2
[
+5,
+4]
Point 3
[
+7,
+6]
Point 4
[
+9,
+8]
Point 5
[
+11,
+10]
Y coordinate
Point 1
[
+13,
+12]
Point 2
[
+15,
+14]
Point 3
[
+17,
+16]
Point 4
[
+19,
+18]
Point 5
[
+21,
+20]
S
1
D
S
2
FNC269
SCL2
Operation
error
Output
value
( )
Point 2
X
Y
Operation is enabled.
Command
input
S
1
S
2
D
Operation
error
Point 5
Point 3
Point 4
Point 1
D
Input value ( )
S
1
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
1
S
1
D
D
S
2
S
2
FNC269
DSCL2
X
Y
Command
input
S
1
S
2
D
Point 2
Point 5
Point 3
Point 4
Point 1
Output
value
( )
D
Operation
error
Operation
error
Operation is enabled.
Input value ( )
S
1
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2
S
2