673
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.4 FNC259 – SCL / Scaling (Coordinate by Point Data)
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC276
Ex-Device
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
Point 1
X coordinate R1 K0
Y coordinate R2 K0
Point 2
X coordinate R3 K10
Y coordinate R4 K50
Point 3
X coordinate R5 K30
Y coordinate R6 K100
Point 4
X coordinate R7 K40
Y coordinate R8 K45
Point 5
X coordinate R9 K50
Y coordinate R10 K30
Point 6
X coordinate R11 K60
Y coordinate R12 K0
M8000
R0 D10
FNC259
SCL
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)