FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
18.21 FNC133 – ASIN / Floating Point Arc Sine
Outline
This instruction executes SIN
1. Instruction format
FNC 133
D
ASIN
P
2. Set data
Operand Type
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
D
Explanation of function and operation
1. 32-bit operation (DASIN and DASINP)
An angle is obtained from the sine value stored in [
A real number can be directly specified as
Command
input
FNC133
DASIN
+1
S
−1
SIN
Binary floating point
(real number)
• The sine value stored in [
• The angle (operation result) stored in [
For conversion between radians and degrees, refer to the RAD (FNC136) and DEG (FNC137) instructions.
Error
An operation error is caused in the following case; The error flag M8067 turns ON, and the error code is stored in
D8067.
• When a value specified in
−1
(arc sine) operation.
Mnemonic
16-bit Instruction
−
−
Head device number storing a sine value used in SIN
Head device number storing the operation result
Digit Specification
S
S
D
S
D
Binary floating point
(real number)
] can be set ranging from −1.0 to +1.0.
S
+1,
S
D
is outside the range from −1.0 to +1.0 (error code: K6706)
S
18.21 FNC133 – ASIN / Floating Point Arc Sine
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
32-bit Instruction
9 steps
Description
−1
(arc sine) operation.
Word Devices
Special
System User
Unit
V
S
+1,
S
], and stored to [
.
+1
D
] is expressed in radians (from −π/2 to π/2).
+1,
D
→ For the RAD (FNC136) instruction, refer to Section 18.24.
→ For the DEG (FNC137) instruction, refer to Section 18.25.
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
Continuous
DASIN
Operation
Pulse (Single)
DASINP
Operation
Data Type
Real number (binary)
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K H
E
" "
D
+1,
D
].
11
12
13
14
Pointer
15
P
16
17
18
19
20
523