Delta DVP-ES2 User Manual Page 570

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 569
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming
3-454
API
Mnemonic Operands Function
202
SCAL P
Proportional
calculation
Controllers
ES2/EX2 SS2 SA2
SE
SX2
Bit Devices Word devices Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
S
1
* * *
S
2
* * *
S
3
* * *
D *
SCAL,SCLAP: 9 steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
S
1
: Source value S
2
: Slope (unit: 0.001) S
3
: Offset D: Operation result
Range of operands S
1
, S
2
, S
3
: -32768~32767.
Explanations:
1. SCAL instruction performs a proportional calculation according to the internal slope equation.
2. Operation equation in the instruction: D = (S
1
× S
2
) ÷ 1000 + S
3
3. Users have to obtain S
2
and S
3
(decimals are rounded up into 16-bit integers) by using the
slope and offset equations below.
Slope equation: S
2
= [(max. destination value – min. destination value) ÷ (max. source value –
min. source value)] × 1,000
Offset equation: S
3
= min. destination value – min. source value × S
2
÷ 1,000
4. The output curve is shown as the figure:
D
Min. destination value
Max. Destination value
Destination value
Source value
Max.
source value
Min.
source value
Page view 569
1 2 ... 565 566 567 568 569 570 571 572 573 574 575 ... 701 702

Comments to this Manuals

No comments