Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
486
18 Applied Instructions (Floating Point)
18.21 DASIN / Floating Point Arc Sine
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
18.21 DASIN / Floating Point Arc Sine
Outline
This instruction executes SIN
-1
 operation.
→ As for handling of floating decimal point, refer to FX Structured Programming Manual [Device &
Common].
1. Format and operation, execution form
2. Set data
3. Applicable devices
Function and operation explanation
1. 32-bit operation (DASIN/DASINP)
The angle is determined from the SIN value specified by 
, and the operation result is stored in the device 
specified by 
. In the device specified by 
, real number can be directly specified.
• The SIN value specified by 
 can be set in a range of -1.0 to 1.0.
• The angle (operation result) to be stored in the device specified by 
 stores the value of radian (-
π/2 to 
π/2). As for conversion from radian to angle or vice versa, refer to DRAD instruction or DDEG instruction.
→ As for DRAD instruction, refer to section 18.24.
→ As for DDEG instruction, refer to section 18.25.
FX
3U(C)
FX
3G(C)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(S)
Instruction 
name
Operation
Execution 
form
Expression in each language
Structured ladder/FBD
ST
DASIN
32 bits
Continuous
DASIN(EN, s, d);
DASINP
32 bits
Pulse
DASINP(EN, s, d);
Variable
Description
Data type
Input
variable
EN
Execution condition
Bit
Head device for storing the SIN value for SIN
-1
 (reverse sine) operation.
FLOAT(Single  
Precision)
Output
variable
ENO
Execution state
Bit
Head device for storing the operation result.
FLOAT(Single  
Precision)
Operand 
type
Bit Devices
Word Devices
Others
System user
Digit designation
System 
user
Special 
unit
Index
Cons
tant
Real 
Number
Character 
String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C D
R
U
\G
V Z Modifier K H
E
"
"
P
z z
z
z
z
z z
z
z
DASIN
EN
ENO
d
s
DASINP
EN
ENO
d
s
Command
input
DASIN
EN
ENO
d
s
+1
Binary floating decimal
point (real number)
+1
Binary floating decimal
point (real number)
SIN
-1
d
s
s
d
Head device for storing
the SIN value for SIN
-1
 operation
Device for storing 
the operation result