Sin Operation On Floating-Point Data (Double Precision) (Sind(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.12.2
SIN operation on floating-point data (Double precision)
(SIND(P))
SIND(P)
SIND
SINDP
Setting
Data
S
D
Function
(1) The SIN (sine) value of the angle specified by
device specified by
(2) Angles designated at
For conversion between degrees and radian values, see the RADD and DEGD instructions.
(3) When the operation results in -0 or an underflow, the result is processed as 0.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The value of the specified device is not in the following range:
0,2
• The value of the designated device is
• The result exceeds the following range (Operation results in an overflow):
1024
2
Command
Command
: Angle data of which the SIN (sine) value is obtained or head number of the devices where the angle data is
S
stored (real number)
: Head number of the devices where the operation result will be stored (real number)
D
Internal Devices
R, ZR
Bit
Word
––
––
.
D
S
S
S
+3
+2
+1
SIN (
64-bit floating-point
real number
are set in radian units (degrees
S
-1022
| value of specified device | < 2
| Operation result |
High
Basic
performance
SIND
SINDP
J
\
U
\G
Bit
Word
––
––
is calculated and its result is stored into the
S
S
D
D
+3
+2
)
64-bit floating-point
real number
1024
0.
SIND(P)
Process
Redundant
Universal
LCPU
S
D
S
D
Constants
Zn
Other
E
––
––
––
D
D
+1
/ 180).
(Error code: 4140)
(Error code: 4140)
(Error code: 4141)
7-251
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents