Delta AH500 Programming Manual page 270

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
x=Source value (S
1
b=Offset =Minimum destination value–Minimum source value×Slope
The parameters above are being substituted for y, k, x, and b in the equation y=kx+b, and the
operation equation in the instruction is obtained.
y=kx+b=D=kS
+b=Slope×S
1
source value×Slope=Slope×(S
=(S
–Minimum source value)×(Maximum destination value–Minimum destination
1
value)÷(Maximum source value–Minimum source value)+Minimum destination value
9.
If S
is larger than the maximum source value, the maximum source value will be the value in
1
S
. If S
is less than the minimum source value, the minimum source value will be the value in
1
1
S
. After the input values and the parameters are set, the output curve is as shown below.
1
Example 1:
1.
Suppose the value in S
source value in D1 is 200, the maximum destination value in D2 is 500, and the minimum
destination value in D3 is 30. When X0.0 is ON, the instruction SCLP is executed, and the
scale value is stored 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 - 1 0 2
)
+Offset=Slope×S
1
–Minimum source value)+Minimum destination value
1
is 500, the maximum source value in D0 is 3,000, the minimum
1
+Minimum destination value–Minimum
1

Advertisement

Table of Contents
loading

Table of Contents