EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 677

Mitsubishi Electric MELSEC-Q/L
1084 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...
7 APPLICATION INSTRUCTIONS
7.13 Data Control Instructions
675
7
If the value does not result in an integer, this instruction rounds the value to the whole number.
Set the X coordinate of the scaling conversion data in ascending order.
Set the input value (S1) within the range of the scaling conversion data (within the range of (S2) devices).
If some specified points have same X coordinates, the Y coordinate data of the highest point number will be output.
DSCL2(P)
This instruction executes scaling for the scaling conversion data (32-bit data units) specified by (S2) with the input value
specified by (S1), and then stores the operation result into the devices specified by (D). The scaling conversion is executed
based on the scaling conversion data stored in the device specified by (S2) and up.
If the value does not result in an integer, this instruction rounds the value to the whole number.
Set the X coordinate of the scaling conversion data in ascending order.
Set the input value (S1) within the range of the scaling conversion data (within the range of (S2) and (S2)+1 devices).
If some specified points have same X coordinates, the Y coordinate data of the highest point number will be output.
Specify the number of coordinate points of scaling conversion data from 1 to 32767.
When the coordinates of the scaling conversion data are set in ascending order, the searching methods
change from one to the other depending on the SM750 status. Therefore, the processing speed also change.
For details, refer to Page 670 Scaling (coordinate data by point).
Setting item (n indicates the number of coordinates specified by (S2).) Device assignment
Number of coordinate points (S2)+1, (S2)
X coordinate Point 1 (S2)+3, (S2)+2
Point 2 (S2)+5, (S2)+4

Point n (S2)+2n+1, (S2)+2n
Y coordinate Point 1 (S2)+2n+3, (S2)+2n+2
Point 2 (S2)+2n+5, (S2)+2n+4

Point n (S2)+4n+1, (S2)+4n
Y
Operation error
Input value: (S1)
Point 2
Point n-1
Point n
Point 1
X
Operable range Operation error
Output value: (D)

Table of Contents

Related product manuals