![background image](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114573.webp)
8 APPLICATION INSTRUCTION
8.12 Data Control Instruction
571
8
Processing details
• These instructions process the scaling conversion data (in 16-bit data units) specified by (s2) by scaling it based on the
input value specified by (s1), and store the operation result in the device number specified by (d). The scaling conversion is
performed based on the scaling conversion data stored in the device specified by (s2) and later.
• 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 value of (s2)).
• 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 65535.
• Setting example of the conversion table for scaling
Setting item ("n" indicates the number of coordinate points specified by (s2).)
Device assignment
Number of coordinate points
(s2)
X coordinate
Point 1
(s2)+1
Point 2
(s2)+2
Point n
(s2)+n
Y coordinate
Point 1
(s2)+n+1
Point 2
(s2)+n+2
Point n
(s2)+2n
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
X
Output value (d)
Input value (s1)
Point 2
Point 3
Point n-1
Point n
Point 1
Operation range
Operation error
Operation error
X
Y
Point 1 (5, 7)
Point 10 (400, 7)
Point 2
Point 3
(50, 100)
Point 4 (200, 25)
Point 5
(200, 70)
Point 6 (200, 250)
Point 7
(250, 90)
Point 8 (350, 90)
Point 9
(350, 30)
(20, 30)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......