Mitsubishi Electric MELSEC FX3U Programming Manual page 714

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

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
Point 1
Y coordinate
X coordinate
Point 2
Y coordinate
X coordinate
Point 3
Y coordinate
X coordinate
Point 4
Y coordinate
X coordinate
Point 5
Y coordinate
X coordinate
Point 6
Y coordinate
X coordinate
Point 7
Y coordinate
X coordinate
Point 8
Y coordinate
X coordinate
Point 9
Y coordinate
X coordinate
Point 10
Y coordinate
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 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, check whether the distance between points is not "65535" or more.
If the distance is "65535" or more, reduce the distance between points.
712
Setting device and setting contents
When R0 is specified
in
S
2
S
2
S
+1
2
S
+2
2
+3
S
2
+4
S
2
S
+5
2
+6
S
2
S
+7
2
S
+8
2
+9
S
2
S
+10
2
S
+11
2
+12
S
2
S
+13
2
+14
S
2
+15
S
2
S
+16
2
+17
S
2
S
+18
2
S
+19
2
+20
S
2
is outside the data table (error code: K6706)
29 Data Table Operation – FNC250 to FNC269
29.4 FNC259 – SCL / Scaling (Coordinate by Point Data)
Setting
contents
R0
K10
R1
K5
R2
K7
R3
K20
R4
K30
R5
K50
R6
K100
R7
K200
When coordinates are specified using three points
R8
K25
in this way, the output value can be set to an
intermediate value.
R9
K200
In this example, the output value (intermediate
R10
K70
value) is specified by the Y coordinate of the point 5.
If the X coordinate is the same at three points or
R11
K200
more, the value at the second point is also output.
R12
K250
R13
K250
R14
K90
R15
K350
When coordinates are specified using two points in
this way, the output value is the Y coordinate at the
R16
K90
next point.
R17
K350
In this example, the output value is specified by the
Y coordinate of the point 9.
R18
K30
R19
K400
R20
K7
Remarks

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents