Mitsubishi Electric MELSEC FX3U Programming Manual page 715

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
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)
Input value(D0)=7
FNC259
R0
D0
SCL
Point 3
(30,100)
Point 4
Point 2
(40,45)
(10,50)
Point 5
(50,30)
Point 6
(60,0)
29 Data Table Operation – FNC250 to FNC269
29.4 FNC259 – SCL / Scaling (Coordinate by Point Data)
D10
END
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
X
Point 3
Y coordinate
X coordinate
Point 4
Y coordinate
X coordinate
Point 5
Y coordinate
X coordinate
Point 6
Y coordinate
21
22
23
Setting
Device
contents
R0
K6
24
R1
K0
R2
K0
R3
K10
R4
K50
R5
K30
25
R6
K100
R7
K40
R8
K45
R9
K50
R10
K30
R11
K60
26
R12
K0
27
28
29
30
713

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents