Mitsubishi Electronics FX3G User Manual

Page of 964
683
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.7 FNC269 – SCL2 / Scaling 2 (Coordinate by X/Y Data)
21
FNC160
-F
NC1
69
R
eal
 T
ime C
lock
 
C
ontrol
22
FNC17
0-F
NC
179
E
xternal D
evice
23
FNC
180
Alternate 
Instructions
24
FN
C181-
FNC18
9
O
thers
25
FNC190
-F
NC1
99
Bl
oc
k D
ata
 
Op
er
ation
26
FNC20
0-F
NC209
C
har
ac
te
r S
trin
Con
tro
l
27
FNC2
10-
FNC21
9
Dat
Operati
on 3
28
FNC220
-F
NC2
49
Da
ta 
C
omp
ari
son
29
FNC25
0-F
N
C
269
D
ata T
abl
Operation
30
FNC2
70-
FNC276
Ex
-Dev
ice
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
Operation
Conversion setting data table for scaling
Set item
Device
Setting 
contents
Number of coordinate points
R0
K6
X coordinate
Point 1
R1
K0
Point 2
R2
K10
Point 3
R3
K30
Point 4
R4
K40
Point 5
R5
K50
Point 6
R6
K60
Y coordinate
Point 1
R7
K0
Point 2
R8
K50
Point 3
R9
K100
Point 4
R10
K45
Point 5
R11
K30
Point 6
R12
K0
M8000
R0
D10
FNC 269
SCL2
END
D0
Input value(D0)=7
Output value
(D10)=35
Point 1
(0,0)
X
Y
Point 2
(10,50)
Point 3
(30,100)
Point 4
(40,45)
Point 5
(50,30)
Point 6
(60,0)