Mitsubishi MELSEC iQ-F FX5 series Programming Manual page 490

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Y
Operation error
Output value (d)
Point 1
• If the operation result is not an integer, the number in the first decimal place is rounded off.
• Set the X coordinate data of the scaling conversion data in the ascending order.
• Set (s1) within the scaling conversion data range (device values of (s2) and (s2)+1).
• If the same X coordinate is specified by multiple points, the Y coordinate value of the point whose number is the largest is
output.
• Set the number of coordinate points for the scaling conversion data within the range of 1 to 4294967295.
• Setting example of the conversion table for scaling
In the case of the conversion characteristics for scaling shown in the figure below, set each value as shown in the following data table.
Y
Point 3
(50, 100)
Point 2
(20, 30)
Point 1 (5, 7)
Setting item
Number of coordinate points
Point 1
X coordinate
Y coordinate
Point 2
X coordinate
Y coordinate
Point 3
X coordinate
Y coordinate
Point 4
X coordinate
Y coordinate
Point 5
X coordinate
Y coordinate
Point 6
X coordinate
Y coordinate
Point 7
X coordinate
Y coordinate
Point 8
X coordinate
Y coordinate
Point 9
X coordinate
Y coordinate
Point 10
X coordinate
Y coordinate
7 APPLICATION INSTRUCTION
488
7.10 Data control instruction
Operation range
Input value (s1)
Point n-1
Point 2
Point 6 (200, 250)
Point 5
(200, 70)
Point 4 (200, 25)
Setting device and setting contents
When R0 is specified in (s2)
(s2)+1, (s2)
R1, R0
(s2)+3, (s2)+2
R3, R2
(s2)+5, (s2)+4
R5, R4
(s2)+7, (s2)+6
R7, R6
(s2)+9, (s2)+8
R9, R8
(s2)+11, (s2)+10
R11, R10
(s2)+13, (s2)+12
R13, R12
(s2)+15, (s2)+14
R15, R14
(s2)+17, (s2)+16
R17, R16
(s2)+19, (s2)+18
R19, R18
(s2)+21, (s2)+20
R21, R20
(s2)+23, (s2)+22
R23, R22
(s2)+25, (s2)+24
R25, R24
(s2)+27, (s2)+26
R27, R26
(s2)+29, (s2)+28
R29, R28
(s2)+31, (s2)+30
R31, R30
(s2)+33, (s2)+32
R33, R32
(s2)+35, (s2)+34
R35, R34
(s2)+37, (s2)+36
R37, R36
(s2)+39, (s2)+38
R39, R38
(s2)+41, (s2)+40
R41, R40
Operation error
X
Point n
Point 7
(250, 90)
Point 8 (350, 90)
Point 9
(350, 30)
Setting details
K10
K5
K7
K20
K30
K50
K100
K200
K25
K200
K70
K200
K250
K250
K90
K350
K90
K350
K30
K400
K7
Point 10 (400, 7)
X
Remarks
When coordinates are specified using three points in this way,
the output value can be set to an intermediate value.
In this example, the output value (intermediate value) is
specified by the Y coordinate of the point 5.
Even if the X coordinate is the same at three points or more, the
value at the second point is output.
When coordinates are specified using two points in this way, the
output value is the Y coordinate at the next point.
In this example, the output value is specified by the Y
coordinate of the point 9.

Advertisement

Table of Contents
loading

Table of Contents