722
FX
3G
/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)
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, the 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, the 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
FNC 269
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
FNC 269
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