Chapter 16 PLC Function ApplicationsMS300 (High Speed Model)
16-76
API
SIN
Binary floating point number SIN operation
130
D P
Bit device Word device
16-bit command
- - - -
32-bit command (9 STEP)
DSIN Continuous
execution type
DSINP Pulse
execution typ
Flag signal: none
X Y M K H KnX KnY KnM T C D
S
* *
*
D
*
Notes on operand usage:
Please refer to the function specifications table for each device in series
for the scope of device usage
S: the designated source value. D: the SIN value result.
S is the designated source in radians.
The value in radians (RAD) is equal to (angle ×π/180).
The SIN obtained from the source value designated by S is stored in D.
The following figure displays the relationship between the arc and SIN results:
R
S
S: Radian
R: Result (SIN value)
-2
3
2
-2 2
3
2
2
2
-
1
-1
0
-
When X0=On, the SIN value of the designated binary floating point number (D1,
D0) in radians (RAD) will be stored in (D11, D10), with the content consisting of a
binary floating point number.
X0
DSIN D0 D10