Mitsubishi FX3U Series Programming Manual page 682

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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, check whether the distance between points is not "65535" or more.
If the distance is "65535" or more, reduce the distance between points.
Program example
In the program example shown below, the value input to D0 is processed by scaling based on the conversion
table for scaling set in R0 and later, and output to D10.
Program
M8000
Operation
Y
Output value
(D10)=35
Point 1
(0,0)
680
is outside the data table (error code: K6706)
FNC269
D0
SCL2
Point 3
(30,100)
Point 4
Point 2
(40,45)
(10,50)
Input value(D0)=7
29 Data Table Operation – FNC250 to FNC269
29.7 FNC269 – SCL2 / Scaling 2 (Coordinate by X/Y Data)
R0
D10
END
Conversion setting data table for scaling
Number of coordinate
points
Point 5
X coordinate
(50,30)
X
Point 6
(60,0)
Y coordinate
Set item
Device
R0
Point 1
R1
Point 2
R2
Point 3
R3
Point 4
R4
Point 5
R5
Point 6
R6
Point 1
R7
Point 2
R8
Point 3
R9
Point 4
R10
Point 5
R11
Point 6
R12
Setting
contents
K6
K0
K10
K30
K40
K50
K60
K0
K50
K100
K45
K30
K0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents