0
END
//Scaling conversion data set
D3000=K4 //Number of point=4
D3001=K0 //Unusable area
//Set the point 0 to 3
D3002L=K-100000L //Point 0
D3004L=K-70000L //(X0, Y0)=(-100000, -70000)
D3006L=K-40000L //Point 1
D3008L=K-60000L //(X1, Y1)=(-40000, -60000)
D3010L=K-20000L //Point 2
D3012L=K-30000L //(X2, Y2)=(-20000, -30000)
D3014L=K0L //Point 3
D3016L=K-10000L //(X3, Y3)=(0, -10000)
X
Y
-65000
32-bit scaling
X0 //Standby until X0 turns ON
[F10]
[G10]
[F20]
Point 2
Point 1
Point 0
Point 3
-40000-80000
-40000
-80000
-64166.666...
D3107D3106
K-64166
Output value = -70000 +
(-60000 - (-70000))
(-40000 - (-100000))
(-65000 - (-100000))
×
= -64166.666...
//Positive conversion execution (Output value is
stored in D3106L)
DSCL K0,K-65000,D3000,D3106L
A fractional portion is rounded down.
The output value is calculated from the setting value of Point 0 and 1
since the input value "-65000" is between Point 0 and 1.