Data Control; 16-Bit Integer Type Scaling: Scl - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

4.8

Data Control

16-bit integer type scaling: SCL

Format
SCL(S1), (S2), (S3), (D)
Setting data
■Usable data
: Usable
Setting
Usable Data
data
Bit
device
(S1)
(S2)
(S3)
(D)
■Description, data type of result
Setting data
Description
(S1)
Data which specifies the search/conversion method
0: Positive conversion by sequential search
1: Inverse conversion by sequential search
2: Positive conversion by binary search
3: Inverse conversion by binary search
(S2)
Input value for positive/inverse conversion
(S3)
Start device No. which stores the scaling conversion data
(D)
Device No. which stores the conversion result
Processing details
• 16-bit integer type scaling calculates the output value from the set input value based on the scaling conversion data where
a maximum of 4000 points data ((X
corresponding to the input value in ascending order. (Positive conversion: X
<.....< Y
)
N-1
• The method for output value calculation is either positive conversion (Input value: point X, Output value: point Y) or inverse
conversion (Input value: point Y, Output value: point X) and is specified with (S1). Each of the calculation methods is as
follows.
4 OPERATION CONTROL PROGRAMS
160
4.8 Data Control
Number of basic steps
15
Word device
16-bit
32-bit
64-bit
integer
integer
floating
type
type (L)
point
type (F)
, Y
) to (X
0
0
Usable steps
F/FS
Constant
16-bit
32-bit
64-bit
integer
integer
floating
type
type
point
(K/H)
(K/H, L)
type (K)
, Y
), N: the number of points) are defined. Set the point data
N-1
N-1
G
Calculation
Bit
expression
conditional
expression
Data type of result
< X
<.....< X
, Inverse conversion: Y
0
1
N-1
Comparison
conditional
expression
< Y
0
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents