EasyManua.ls Logo

Delta DVP-SS2

Delta DVP-SS2
1006 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...
3. Instruction Set
3-461
API
Mnemonic Operands Function
Controllers
ES2/EX2
/EC5
SS2
SA2
SE
SX2
202 SCAL P
Proportional
calculation
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
SCAL,SCLAP: 9 steps
S
1
*
*
*
S
2
*
*
*
S
3
*
*
*
D
*
PULSE
16-bit
32-bit
ES2/
EX2/
EC5
SS2
SA2/
SE
SX2
ES2/
EX2/
EC5
SS2
SA2/
SE
SX2
ES2/
EX2/
EC5
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:
SCAL instruction performs a proportional calculation according to the internal slope equation.
Operation equation in the instruction: D = (S
1
× S
2
) ÷ 1000 + S
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
The output curve is shown as the figure:
D
Min. destination value
Max. Destination value
Destination value
Source value
Max.
s
ource value
Min.
source value

Table of Contents

Other manuals for Delta DVP-SS2

Related product manuals