Delta AS Series Programming Manual page 858

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
1516
FPOW
Device
X
Y
M
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol
Explanation
1.
This instruction raises the single-precision floating-point number in S
the single-precision floating-point operation result in D.
2.
D=POW[S
+1,S
]^[S
1
1
3.
For PLC with firmware V1.10.00 or previous versions, the value in S
in S
can be either a positive or a negative number.
2
4.
For PLC with firmware V1.10.10 or later versions, if the value in S
either a positive or a negative number. If the value in S
number either positive or negative.
5.
Suppose the values in S
6.
If the absolute value of the operation result is larger than the value that can be represented by floating-point
numbers, the value in D is 16#7F7FFFFF, and SM602 is ON.
7.
If the absolute value of the operation result is less than the value that can be represented by floating-point
numbers, the value in D is 16#FF800000, and SM601 is ON.
8.
If the operation result stored in D is 0, SM600 is ON.
Operand
P
S
, S
1
2
S
T
C
HC
Pulse instruction
: Source value
S
1
: Exponent value
S
2
Device where the operation result is
D :
stored
+1,S
]
2
2
and S
are 5 and 3 respectively: D=5
1
2
Ch ap te r 6 Ap pl ie d Instruc ti ons
, D
Power of a floating-point number
D
FR
SM
SR
16-bit instruction
AS
-
to the power of the value in S
1
only can be a positive number, but the value
1
is a positive number, the value in S
1
is a negative number, the value in S
1
3
=125.
Function
E
K
16#
"$"
F
32-bit instruction
AS
, and stores
2
can be
2
should be an integer
2
6 - 5 7 9
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents