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.
Содержание DVP-PLC
Страница 1: ...PLC PLC...
Страница 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Страница 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Страница 250: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 38 X0 DIV D0 D10 D20 D0 D10 K4Y0 DIV...
Страница 270: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 58 RST M0 X0 RST T0 RST Y0 FMOV K0 D10 K5...
Страница 337: ...7 Application Instructions API 50 99 DVP PLC APPLICATION MANUAL 7 53 X10 STMR T10 K50 Y0 Y3 X10 Y1 Y2 5 sec 5 sec...
Страница 458: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 56 or relay itself See 2 3 for more information...
Страница 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Страница 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...