![background image](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114570.webp)
568
8 APPLICATION INSTRUCTION
8.12 Data Control Instruction
Processing details
• These instructions process the scaling conversion data (in 32-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 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
Setting item ("n" indicates the number of coordinate points
specified by (s2).)
Device assignment
Number of coordinate points
(s2)+1, (s2)
Point 1
X coordinate
(s2)+3, (s2)+2
Y coordinate
(s2)+5, (s2)+4
Point 2
X coordinate
(s2)+7, (s2)+6
Y coordinate
(s2)+9, (s2)+8
Point n
X coordinate
(s2)+4n-1, (s2)+4n-2
Y coordinate
(s2)+4n+1, (s2)+4n
In the case of the conversion characteristics for scaling shown in the figure below, set each value as shown in the following data table.
Setting item
Setting device and setting contents
Remarks
When R0 is specified in (s2)
Setting details
Number of coordinate points
(s2)+1, (s2)
R1, R0
K10
Point 1
X coordinate
(s2)+3, (s2)+2
R3, R2
K5
Y coordinate
(s2)+5, (s2)+4
R5, R4
K7
Point 2
X coordinate
(s2)+7, (s2)+6
R7, R6
K20
Y coordinate
(s2)+9, (s2)+8
R9, R8
K30
Point 3
X coordinate
(s2)+11, (s2)+10
R11, R10
K50
Y coordinate
(s2)+13, (s2)+12
R13, R12
K100
Y
X
Output value (d)
Input value (s1)
Point 2
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: ......