666
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.4 FNC259 – SCL / Scaling (Coordinate by Point Data)
Explanation of function and operation
1. 16-bit operation (SCL and SCLP)
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 (DSCL and DSCLP)
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)
Point 1
X coordinate
+1
Y coordinate
+2
Point 2
X coordinate
+3
Y coordinate
+4
Point 3
X coordinate
+5
Y coordinate
+6
Point 4
X coordinate
+7
Y coordinate
+8
Point 5
X coordinate
+9
Y coordinate
+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,
]
Point 1
X coordinate
[
+3,
+2]
Y coordinate
[
+5,
+4]
Point 2
X coordinate
[
+7,
+6]
Y coordinate
[
+9,
+8]
Point 3
X coordinate
[
+11,
+10]
Y coordinate
[
+13,
+12]
Point 4
X coordinate
[
+15,
+14]
Y coordinate
[
+17,
+16]
Point 5
X coordinate
[
+19,
+18]
Y coordinate
[
+21,
+20]
S
1
D
S
2
FNC259
SCL
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
FNC259
DSCL
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