EasyManuals Logo
Home>Delta>Controller>DVP-SS2

Delta DVP-SS2 User Manual

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
Page #543 background imageLoading...
Page #543 background image
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-422
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
128 D
POW P
Floating point power
operation
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
DPOW, DPOWP: 13
steps
S
1
*
*
*
S
2
*
*
*
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
: Base S
2
: Exponent D: Operation result
Explanations:
1. Perform power operation on binary floating value S
1
and S
2
and save the result in D.
POW [S
1
+1, S
1
]^[ S
2
+1, S
2
] = D
2. Only a positive number is valid for S. Register D has to be 32-bit format. Operation is conducted
in floating point value, so the value in S
1
and S
2
needs to be converted into floating value before
power operation.
3. Example of power operation:
When S
1
S2
= D, D = ? Assume S
1
= 5, S
2
= 3, D = 5
3
=125
4. Flags: M1020 (Zero flag), M1021 (Borrow flag) and M1022 (Carry flag).
If absolute value of the result is larger than max. floating value, carry flag M1022 = ON.
If absolute value of the result is smaller than min. floating value, borrow flag M1021 = ON.
If the conversion result is 0, zero flag M1020 = ON.
Program Example:
1. When M0 = ON, convert (D1, D0) and (D3, D2) to binary floating value and save the result in
register (D11, D10) and (D13, D12) individually.
2. When M1 = ON, perform power operation with (D11, D10) as base and (D13, D12) as exponent.
The value is saved in register (D21, D20) in binary floating format.
3. When M2 = ON, convert the value in (D21, D20) into decimal floating point value and save the
result in (D31, D30). (At this time, D31 indicates powers of 10 for D30)
M0
RST M1081
M1
D10 D12
M2
DEBCD D20 D30
D2 D12
D20DPOW
DFLT
DFLT
D0 D10

Table of Contents

Other manuals for Delta DVP-SS2

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-SS2 and is the answer not in the manual?

Delta DVP-SS2 Specifications

General IconGeneral
BrandDelta
ModelDVP-SS2
CategoryController
LanguageEnglish

Related product manuals