EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 878

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
876
7 APPLICATION INSTRUCTIONS
7.12 Data Control Instructions
Processing details
These instructions scale the scaling conversion data (16-bit data) in the device specified by (s2) on the basis of the input
value in the device specified by (s1), and stores the operation result in the device specified by (d). 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 first decimal place is rounded off.
Set the X coordinate data of the scaling conversion data in ascending order.
Set the value in (s1) within the range of the scaling conversion data (device value in (s2)).
If two or more points indicate the same X coordinate, the Y coordinate value of the largest point number is output.
Specify a value from 1 to 65535 for the number of coordinate points of the scaling conversion data.
Precautions
When the scaling conversion data is sorted in ascending order, the search method varies depending on the status of SM755
and therefore the processing speed also varies. For details, refer to the SCL(P)(_U) instruction.
Page 869 SCL(P)(_U)
Operation error
Setting item (n is 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
Error code
(SD0)
Description
3405H The X-coordinate data is not sorted in ascending order.
The input value specified by (s1) is out of the range of the specified scaling conversion data.
The number of coordinate points starting from the device specified by (s2) is out of the range, 1 to 65535.
Y
X
(d)
(s1)
Point 2
Point 3
Point n-1
Point n
Point 1
Operable range Operation errorOperation error

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals