EasyManua.ls Logo

Delta DVP-PLC

Delta DVP-PLC
586 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...
10 Application Instructions API 200-249
DVP-PLC Application Manual
10-4
= slope × (S
1
– min. source value) + min. destination value = (S
1
– min. source value) × (max. destination
value – min. destination value) ÷ (max. source value – min. source value) + min. destination value
7. If S1 > max. source value, S1 = max. source value
If S1 < min. source value, S1 = min. source value
When all the input values and parameters are set, the output curve is shown as the figure:
D
1
Min. destination value
Max. Destination value
Destination valu
e
Source value
Max.
source value
Min.
source value
Program Example 1:
1. Assume S
1
= 500, max. source value D0 = 3,000, min. source value D1 = 200, max. destination value D2 = 500,
and min. destination value D3 = 30. When X0 = On, SCLP instruction will be executed and obtain the proportional
value at D10.
2. Equation: D10 = [(500 – 200) × (500 – 30)] ÷ (3,000 – 200) + 30 = 80.35. Round off the result into an integer D10
= 80.
X0
SCLP K500 D0 D10
X0
MOV
MOV
MOV
MOV
K3000
K200
K500
K30
D0
D1
D2
D3
D
S
1
0
=500
=30
=500
Source value
Destination value

Table of Contents

Related product manuals