Arcsine : Asin - Mitsubishi Electric Melsec Q Series Programming Manual

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 OPERATION CONTROL PROGRAMS

5.6.4 Arcsine : ASIN

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(S)
[Setting data]
Setting data
[Functions]
[Errors]
[Program examples]
ASIN(S)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
SIN value data on which SIN
(S)
-1
(1) SIN
(arcsine) operation is performed on the SIN value data specified with (S) to
find an angle.
(2) The SIN value specified with (S) must be within the range
(3) The operation result is in an angle (degree) unit.
(4) If (S) is an integer type, it is converted into a floating-point type before operation is
performed.
(1) An operation error will occur if:
• (S) is outside the range -1.0 to 1.0; or
• (S) is an indirectly specified device and its device number is outside the range.
(1) Program which performs the SIN
result to #0F
#0F = ASIN(D0)
#3
#2
#0F
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
Description
-1
(arcsine) operation
will be performed
-1
(arcsine) operation of D0 and substitutes the
#1
#0
90.0
5 - 30
F/FS
Number of basic steps
Bit
64-bit
Calculation
conditional
floating
expression
expression
point
type (K)
Data type of result
Floating-point type
-
1.0 to 1.0.
D0
1
G
2
Comparison
conditional
expression
: Usable

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents