M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.11 Special Function Instructions
-1
ASIN, ASINP: SIN
operation on floating-point data (single precision)
Setting
Bit devices
data
X
Y
M
L
F
S
D
△ : This is not available with ST.
[Instruction symbol] [Execution condition]
ASIN
ASINP
Setting data
Setting data
SIN value for which the SIN
S
device where SIN value is stored.
D
The first number of the device to store the operation result.
Functions
ASIN
Returns the arcsine angle of the SIN value designated by (S) and stores the operation result in the word device designated
by (D).
S
+
1
S
SIN -1 (
32-bit floating-point real
number
SIN values between -1.0 to 1.0 can be designated by (S).
The angle (operation result) stored at (D) is stored in radian units. For conversion between degrees and radian values, refer
to the RAD and DEG instructions.
When setting input values from programming tools, rounding errors may occur.
For precautions when setting input values from programming tools, refer to "6.3.4 Single/Double-Precision Real Number
Data".
IB-1501667-B
Usable devices
B SB
T SM V
T
C
○
○
○
○
Command
Command
Meaning
-1
(arcsine) value is obtained or the first number of the
D+1
D
)
32-bit floating-point real
number
Con-
Word devices
stant
D
R/ZR W SW SD
Z
○
○
○
○
○
△
○
○
○
○
○
△
366
Digit
Pointer
designa-
Index
tion
E
P
○
○
indicates the sign "ASIN".
S
D
P
S
D
Data type
Real number