FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Setting the conversion setting data table for scaling
Set item
Number of coordinate points
X coordinate
Y coordinate
*1.
When coordinates are specified using three points as shown in the points 4, 5 and 6, the output value can be
set to an intermediate value.
In this example, the output value (intermediate value) is specified by the Y coordinate of the point 5.
If the X coordinate is same at three points or more, the value at the second point is output also.
*2.
When coordinates are specified using two points as shown in the points 8 and 9, the output value is the Y
coordinate at the next point.
In this example, the output value is specified by the Y coordinate of the point 9.
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is stored in
D8067.
• When the Xn data is not set in the ascending order in the data table (error code: K6706)
The data table is searched from the low-order side of the device numbers in the data table in the operation.
Accordingly, even if only some Xn data is set in the ascending order in the data table, the instruction is executed
without operation error up to the area of the data table in which the Xn data is set in the ascending order.
• When
S
1
• When the value exceeds the 32-bit data range in the middle of operation (error code: K6706)
In this case, verify that the distance between points is not "65535" or more.
If the distance is "65535" or more, reduce the distance between points.
684
Setting device and setting contents
When R0 is specified in
S
2
Point 1
S
+1
2
Point 2
S
+2
2
Point 3
S
+3
2
Point 4
S
+4
2
Point 5
S
+5
2
Point 6
S
+6
2
Point 7
S
+7
2
Point 8
S
+8
2
Point 9
S
+9
2
Point 10
S
+10
2
Point 1
S
+11
2
Point 2
S
+12
2
Point 3
S
+13
2
Point 4
S
+14
2
Point 5
S
+15
2
Point 6
S
+16
2
Point 7
S
+17
2
Point 8
S
+18
2
Point 9
S
+19
2
Point 10
S
+20
2
is outside the data table (error code: K6706)
29 Data Table Operation – FNC250 to FNC269
29.7 FNC269 – SCL2 / Scaling 2 (Coordinate by X/Y Data)
Setting
S
2
contents
R0
K10
R1
K5
R2
K20
R3
K50
R4
K200
R5
K200
R6
K200
R7
K250
R8
K350
R9
K350
R10
K400
R11
K7
R12
K30
R13
K100
R14
K25
R15
K70
R16
K250
R17
K90
R18
K90
R19
K30
R20
K7
Remarks
Refer to *1.
Refer to *2.
Refer to *1.
Refer to *2.