EasyManua.ls Logo

LS Industrial Systems XBC-DR10E - Page 387

LS Industrial Systems XBC-DR10E
542 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...
Chapter 6 Instruction Details
XBC E-Type Main Unit 6-270 Ve r. 1
6.35.13 EXPT, EXPTP
Instruction
Area Available
Step
Flag
P M K F L T C S Z D.x
R.x
Con
st
U N D R
Error
(F110)
Zero
(F111)
Carry
(F112)
EXPT(P)
S
O
O
O
-
O
O
O
-
-
-
-
O
O
O
O
O
2~4 O - -
D
O
O
O
-
O
-
-
-
-
-
-
-
O
O
O
O
Operand Description Data Size
S1 The base number for operation LREAL
S2
The exponential number for operation
D Device number to save operation result in LREAL
1) EXPT (Exponential operation)
(1) Performs Exponential operation of data in specified area S1 and S2 to save in D. Data type of S and D
is of double real.
(2) When S1 is 1.5 and S2 is 3, operation result is 3.375 (1.5
3
).
2) Program Example
P00001
EXPT M0000 M0004 M0008
Performs exponential operation with data in M0000, M0001, M0004 and M0005 and saves them in M0008,
M0009.
EXPT
EXPTP
S
D
EXPTP
EXPT
S
D

Table of Contents

Related product manuals