EasyManua.ls Logo

LS Industrial Systems XBC-DR10E - Page 376

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-259 Ve r. 1
6.35.2 ASIN, ASINP
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)
ASIN(P)
S
O
O
O
-
O
O
O
-
-
-
-
O
O
O
O
O
2~4 - - -
D
O
O
O
-
O
-
-
-
-
-
-
-
O
O
O
O
Operand Description Data Size
S Device number where SIN value for Arc Sine operation is saved LREAL
D Device number to save operation result in LREAL
[Flag setting)]
Flag Description Device number
Error Set when S value is not in between -1.0 and 1.0 F110
1) ASIN (Arc Sine)
(1) Performs Arc SIN operation of data value in specified area S to save in D. Data type of S and D is Double
real. Internal operation will be processed after conversion to Double real data.
(2) Output value is of radian. Refer to DEG, for the conversion from radian to degree.
(3) If S’s value is 0.8660…(
23
), operation result is. 1.0471... ( π/3 rad = 60°)
2) Program Example
P00001
P00000
ASIN M0008 M0000
DEG M0000 M0004
Performes ASIN operation of value in M0008, M0009 and saves them in the M0000, M0001.
And then it converts the Radian value in the M0000, M0001 into the Degree value and saves them in the M0004,
M0005.
ASIN
ASINP
S
D
ASINP
ASIN
S
D

Table of Contents

Related product manuals