Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 878

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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.
Setting item (n is the number of coordinate points specified
by (s2).)
Number of coordinate points
X
Point 1
coordinate
Point 2
Point n
Y
Point 1
coordinate
Point 2
Point n
Y
Point 2
(d)
Point 1
Operation error
• 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
Error code
Description
(SD0)
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.
7 APPLICATION INSTRUCTIONS
876
7.12 Data Control Instructions
Point 3
Point n-1
Point n
(s1)
Operable range
Operation error
Device assignment
(s2)
(s2)+1
(s2)+2
(s2)+n
(s2)+n+1
(s2)+n+2
(s2)+2n
X

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents