564
SCL2, SCL2P, DSCL2, DSCL2P
F
unct
i
on
SCL2(P)
(1) This instruction executes scaling for the scaling conversion data (16-bit data units) specified by with the input value
specified by , and then stores the operation result into the devices specified by .
The scaling conversion is executed based on the scaling conversion data stored in the device specified by and up.
(2) If the value does not result in an integer, this instruction rounds the value to the whole number.
(3) Set the X coordinate of the scaling conversion data in ascending order.
(4) Set the input value within the range of the scaling conversion data (within the range of devices).
(5) If some specified points have same X coordinates, the Y coordinate data of the highest point number will be output.
DSCL2(P)
(1) This instruction executes scaling for the scaling conversion data (32-bit data units) specified by with the input value
specified , and then stores the operation result into the devices specified by .
The scaling conversion is executed based on the scaling conversion data stored in the device specified by and up.
(2) If the value does not result in an integer, this instruction rounds the value to the whole number.
(3) Set the X coordinate of the scaling conversion data in ascending order.
(4) Set the input value within the range of the scaling conversion data (within the range of and +1 devices).
(5) If some specified points have same X coordinates, the Y coordinate data of the highest point number will be output.
(6) 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. The number of searches
determines the processing speed. Fewer number of searches make the processing run faster.
For details, refer to Page 560, Section 7.13.4.
S2
S1
D
S2
Scaling conversion data component
Setting item
Device assignment
Number of coordinate points
X coordinate
Y coordinate
Point 1
Point 2
Point n
Point 1
Point 2
Point n
S2
S2
+1
S2
+2
S2
+n
S2
+n+1
S2
+n+2
S2
+2n
Y
Output
value
D
Input value
S1
Point 2
Point 3
Point n 1
Point n
Point 1
X
Operable range
Operation error
Operation error
n indicates the number of coordinates
specified by (S2).
S1
S2
S2
S1
D
S2
Scaling conversion data component
Setting item
Device assignment
Number of coordinate points
X coordinate
Y coordinate
Point 1
Point 2
Point n
Point 1
Point 2
Point n
S2
,
+2n+5
S2
+2n+4
S2
,
+2n+3
S2
+2n+2
S2
,
+2n+1
S2
+2n
S2
,
+5
S2
+4
S2
,
+3
S2
+2
S2
,
+1
S2
S2
,
+4n+1
S2
+4n
n indicates the number of coordinates
specified by (S2).
Y
Operation
error
D
Input value
S1
Point 2
Point n 1
Point n
Point 1
X
Operable range
Operation error
Output
value
S1
S2
S2