10 Application Instructions API 200-249
DVP-PLC Application Manual
10-2
D
1
0
=500
Slope=168
Destination value
Source value
Offset=-4
Program Example 2:
1. Assume
S
1
= 500,
S
2
= -168,
S
3
= 534. When X10 = On, SCAL instruction will be executed and obtain the
proportional value at D10.
2. Equation: D0 = (500 × -168) ÷ 1,000 + 534 = 450
X10
SCAL
K500
K-168
K534
D10
Offset=534
D
S =500
1
0
Slope=-168
Destination value
Source value
Remarks:
1. This instruction is applicable for known slope and offset. If slope and offset are unknown, use SCLP instruction for
the calculation.
2.
S
2
has to be within the range -32,768 ~ 32,767. If
S
2
falls without the range, use SCLP instruction for the
calculation.
3. When using the slope equation, please be aware that the max. source value must
> min. source value, but it is
not necessary that max. destination value > min. destination value.
4. If the value of
D
> 32,767,
D
= 32,767; if the value of
D
< -32,768,
D
= -32,768.
5. Only ES_V6.2, SA/SX_V1.6, SC_V1.4, EH2/SV_V1.0 and versions above support this instruction. EH series
MPU does not support this instruction.
Summary of Contents for DVP-PLC
Page 1: ...PLC PLC...
Page 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Page 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Page 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Page 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...