Special Function Instructions - Mitsubishi Electric M800VW Series Programming Manual

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions

8.11 Special Function Instructions

8.11 Special Function Instructions
SIN, SINP: 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]
SIN
SINP
 Setting data
Setting data
Angle data for which the SIN (sine) value is obtained or the first number of the de-
S
vice where angle data is stored.
D
The first number of the device to store the operation result.
 Functions
SIN
 Returns the SIN (sine) value of the angle designated by (S) and stores the operation result in the device number desig-
nated by (D).
S
+
1
SIN(
32-bit floating-point real number
 Angles designated by (S) are set in radian units (degrees x π / 180). 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
S
D+1
)
32-bit floating-point real number
Con-
Word devices
stant
D
R/ZR W SW SD
Z
D
354
Digit
Pointer
designa-
Index
tion
E
P
indicates the sign "SIN".
S
D
P
S
D
Data type
Real number

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents