EasyManua.ls Logo

Delta DVP-20PM

Delta DVP-20PM
580 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-110
API
Applicable model
20PM
130
D
D
SIN
P
P
Sine of a binary floating-point value
Bit device Word device
X Y M S F H KnX KnY KnM KnS T C D V Z
S
D
Note: 0
o
Degree 360
0
Please refer to specifications for more information about device
ranges.
F represents a floating-point value. There is a decimal point in a
floating-point value.
Only the 32-bit instructions DSIN and DSINP are valid.
16-bit instruction
32-bit instruction (6 steps)
DSIN
Continuity
instruction
DSINP
Pulse
instruction
Flags
Ox O100
M1808 M1968 Zero flag
M1760 M1920 Radian/Degree flag
Please refer to the additional remark below.
Explanation
Whether the source value in S
is a radian or a degree depends on the state of
a radian/degree flag.
S: Source value; D: Sine value
If a radian/degree flag is OFF, the source value in S is a radian.
Radian=Degree×π /180.
If a radian/degree flag is ON, the source value in S is a degree.
(0
o
Degree 360
0
)
If an operation result is 0, a zero flag will be ON.
The sine of the source value in S is stored in D.
The relation between radians and sine values is shown below.
R
S
S: Radian
R: Sine value
-2
3
2
-2 2
3
2
2
2
-
1
-1
0
-
Example 1
A radian/degree flag is reset to OFF. The binary floating-point value in (D1, D0)
is a radian. When X0 is ON, the sine of the binary floating-point value in (D1,
D0) is stored in (D11, D10).
M100
2
RST
Radian/Degree flag
X0
DSIN
D0 D10
D 1 D 0
S
D
D 11 D 10
Sine value
Binary floating-point value
Radian Degree 180)(
X
/
Binary floating-point value

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals