Delta DVP-ES3 — 6.3.2 Explanation of Data Conversion Instructions

Chapter 6 Applied Instructions The parameters above are substituted for y, k, x, and b in the equation y = kx+b to get the operation equation as follows: y=kx+b=D=k S 1 +b=SlopeЧ S 1 + Offset = SlopeЧ S 1 + Minimum destination value–Minimum source valueЧSlope=SlopeЧ( S 1 –Minimum source value) + Minimum destination value =( S 1 –Minimum source value)Ч(Maximum destination value–Minimum destination value)ч(Maximum source value–Minimum source value) + Minimum destination value 11. If S 1 is larger than the maximum source value, the maximum source value is the value in S 1 . If S 1 is less than the minimum source value, the minimum source value is the value in S 1 .

The output curve is shown below. 6_ Example 1 1. Suppose the value in S 1 is 500, the maximum source value in D0 is 3,000, the minimum source value in D1 is 200, the maximum destination value in D2 is 500, and the minimum destination value in D3 is 30. When M0 is ON, the SCLP instruction calculates the scale value and stores it in D10. 2. The operation equation: D10=[(500–200)Ч(500–30)]ч(3,000–200)+30=80.35 80.35 is rounded off to the nearest whole digit, and becomes 80. 80 is stored in D10. 6-113