FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
29.7
FNC269 – SCL2 / Scaling 2 (Coordinate by X/Y Data)
Outline
This instruction executes scaling of the input value using a specified data table, and outputs the result.
SCL (FNC259) is also available with a different data table configuration for scaling.
SCL2 instruction is supported in the FX
1. Instruction format
FNC 269
D
SCL2
2. Set data
Operand Type
S
1
S
2
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
1
S
2
D
Explanation of function and operation
1. 16-bit operation (SCL2 and SCL2P)
The input value specified in
device number specified in
specified in
S
2
If the output data is not an integer, however, the number in the first decimal place is rounded.
Command
input
FNC 269
SCL2
Y
Output
value
(
)
D
Point 1
Operation
error
682
3UC
Mnemonic
16-bit Instruction
SCL2
P
7 steps
SCL2P
Input value used in scaling or device number storing the input value
Head device number storing the conversion table used in scaling
Device number storing the output value controlled by scaling
Digit Specification
S
is processed by scaling for the specified conversion characteristics, and stored to a
1
. Conversion for scaling is executed based on the data table stored in a device
D
and later.
→ For the method to set the conversion table for scaling, refer to the next page.
S
S
1
2
Point 2
Point 5
Point 3
Point 4
Input value (
S
)
1
Operation is enabled.
29.7 FNC269 – SCL2 / Scaling 2 (Coordinate by X/Y Data)
Series Ver. 1.30 or later.
→ For SCL (FNC259) instruction, refer to Section 29.4.
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
Conversion setting data table for scaling
D
Number of coordinate points
("5" in the case shown in the left
figure)
X coordinate
X
Operation
error
Y coordinate
29 Data Table Operation – FNC250 to FNC269
Mnemonic
32-bit Instruction
DSCL2
13 steps
DSCL2P
Con-
Real
Index
stant
Number
V
Z Modify K
H
Device assignment in
Set item
S
Point 1
S
Point 2
S
Point 3
S
Point 4
S
Point 5
S
Point 1
S
Point 2
S
Point 3
S
Point 4
S
Point 5
S
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Data Type
16- or 32-bit binary
Others
Charac-
Pointer
ter String
E
" "
P
setting data table
2
+1
2
+2
2
+3
2
+4
2
+5
2
+6
2
+7
2
+8
2
+9
2
+10
2