Mitsubishi Electric R16MTCPU Programming Manual page 167

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

• Conversion of the input value specified with (S2) is executed according to the search/conversion method specified with
(S1), using the scaling conversion data of device (S3) or later. The conversion result is stored in the device specified with
(D).
• The setting method of (S1) is the same as 16-bit integer type scaling. (Page 160 16-bit integer type scaling: SCL)
• The device No. specified with (S3) should be an even number. Set the point data in the specified device as follows.
Offset
Name
+0
Number of points (N)
+1
Unusable
+2
Point 0
X
+3
+4
Y
+5
+6
Point 1
X
+7
+8
Y
+9
+10
Point 2
X
+11
+12
Y
+13
+(4N-2)
Point (N-1)
X
+(4N-1)
+(4N)
Y
+(4N+1)
Set the point data corresponding to the input value in ascending order. (Positive conversion: X
X
, Inverse conversion: Y
N-1
• When the conversion result to be stored in the device specified with (D) is not an integer value, its fractional portion is
rounded down.
Operation error
An operation error will occur, and the conversion of input value will not be executed if:
• (S1) is set to other than 0 to 3.
• (S2), (S3), and (D) are not even-numbered devices.
• The number of points at the point table specified with (S3) is outside the range of 2 to 2000.
• Point table specified with (S3) is outside the device range.
• In sequential search ((S1) is 0 or 1.), the point corresponding to the input value (Positive conversion: X
conversion: Y
to Y
) is not in ascending order.
0
N-1
• The conversion result is outside the range of -2147483648 to 2147483647.
Description
Set the number of points for the scaling conversion data.
Set 0.
Set the point data of (X
, Y
) to (X
0
0
0
0
1
1
2
2
N-1
N-1
< Y
<.....< Y
0
1
, Y
) so that the device No. is in consecutive order.
N-1
N-1
)
N-1
4 OPERATION CONTROL PROGRAMS
Range
2 to 2000
0
-2147483648
to
2147483647
4
< X
<.....<
0
1
to X
, Inverse
0
N-1
165
4.8 Data Control

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents