EasyManua.ls Logo

Delta DVP-20PM

Delta DVP-20PM
580 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 Applied Instructions and Basic Usage
D
S
1
Source value
Maximum source value
Minimum source value
Destination value
Maximum destination value
Minimum destination value
Example 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 X0 is ON, the
instruction SCLP is executed, and a scale is stored in D10.
Equation: D10=[(500–200)×(500–30)]÷(3,000–200)+30=80.35
80.35 is rounded to the nearest integer, and becomes 80. 80 is stored in D10.
X0
SCLP
K500
D0
D10
X0
MOV
MOV
MOV
MOV
K3000
K200
K500
K30
D0
D1
D2
D3
Source value
Maximum
source value=3000
Minimum
source value=200
Destination value
Maximum destination
value=500
Minimum destination
value=30
D
S
1
0
=500
Example 2
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 30,
and the minimum destination value in D3 is 500. When X0 is ON, the instruction
SCLP is executed, and a scale is stored in D10.
Eequation: D10=[(500–200)×(30–500)]÷(3,000–200)+500=449.64
449.64 is rounded to the nearest integer, and becomes 450. 450 is stored in
D10.
DVP-20PM Application Manual
5-137

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals