Chapter 6 Instruction Details
XBC E-Type Main Unit 6-259 Ve r. 1
6.35.2 ASIN, ASINP
Instruction
Step
P M K F L T C S Z D.x
R.x
U N D R
ASIN(P)
2~4 - - -
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…(
), 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.