Mitsubishi Electric MELSEC-Q/L Programming Manual page 677

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

• 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.
Setting item (n indicates the number of coordinates specified by (S2).)
Number of coordinate points
X coordinate
Y coordinate
Y
Operation error
Output value: (D)
Point 1
Point 2
• 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).
Point 1
Point 2
Point n
Point 1
Point 2
Point n
Operable range
Input value: (S1)
Point n-1
Point n
Device assignment
(S2)+1, (S2)
(S2)+3, (S2)+2
(S2)+5, (S2)+4
(S2)+2n+1, (S2)+2n
(S2)+2n+3, (S2)+2n+2
(S2)+2n+5, (S2)+2n+4
(S2)+4n+1, (S2)+4n
Operation error
X
7 APPLICATION INSTRUCTIONS
7.13 Data Control Instructions
7
675

Advertisement

Table of Contents
loading

Table of Contents