Delta C2000 series User Manual page 530

Classical field oriented control ac motor drive
Hide thumbs Also See for C2000 series:
Table of Contents

Advertisement

API
SIN
130
D
Bit Devices
X
Y
M
S
D
Operands:
Please refer to the specifications of each model for the
range of operands.
S: Source device (0°≦S<360°) D: Operation result
Explanation
The value in S can be set as radian.
Radian mode. RAD = degree ×π/180.
SIN instruction performs sine operation on S and stores the result in D.
See the figure below for the relation between the radian and the operation result:
-2
Example
When X0 = ON, DSIN instruction conducts sine operation on binary
floating value in (D1, D0) and stores the SIN value in (D11, D10) in binary floating format.
D 11
P
Word Devices
K
H
KnX KnY KnM
R
1
3
-
0
-
-2
2
2
2
-1
D 1
D 0
RAD value(degree x
SIN value
D 10
Binary floating point
Chapter 16 PLC Function C2000 Series
Sine
16-bit command (5 STEPS)
T
C
D
32-bit command
DSIN
Flag signal: none
S: Radian
R: Result (SIN value)
S
3
2
2
/ 180)
16-83
DSINP

Advertisement

Table of Contents
loading

Table of Contents