Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 573

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

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.
Setting item ("n" indicates the number of coordinate points specified by (s2).)
Number of coordinate points
X coordinate
Point 1
Point 2
Point n
Y coordinate
Point 1
Point 2
Point n
Y
Point 2
Output value (d)
Point 1
Input value (s1)
Operation error
Operation range
• 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
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)
Point 3
Point n-1
Point n
X
Operation error
Point 6 (200, 250)
Point 7
Point 5
(250, 90)
(200, 70)
Point 9
(350, 30)
Point 4 (200, 25)
Device assignment
(s2)
(s2)+1
(s2)+2
(s2)+n
(s2)+n+1
(s2)+n+2
(s2)+2n
Point 8 (350, 90)
Point 10 (400, 7)
X
8 APPLICATION INSTRUCTION
8.12 Data Control Instruction
8
571

Hide quick links:

Advertisement

loading