EasyManuals Logo
Home>Delta>Controller>DVP-SS2

Delta DVP-SS2 User Manual

Delta DVP-SS2
1006 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
Page #547 background imageLoading...
Page #547 background image
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-426
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
131 D
COS P
Cosine
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
DCOS, DCOSP: 9 steps
S
*
*
*
D
*
PULSE
16-bit
32-bit
ES2/EX2/
EC5
SS2
SA2
SE
SX2
ES2/EX2/
EC5
SS2
SA2
SE
SX2
ES2/EX2/
EC5
SS2
SA2
SE
SX2
Operands:
S: Source device (0°≦S<360°) D: Operation result
Explanations:
1. COS instruction performs cosine operation on S and stores the result in D.
2. The value in S can be set as radian or degree by flag M1018.
3. M1018 = OFF, radian mode. RAD = degree ×π/180.
4. M1018 = ON, degree mode. Degree range: 0°≦degree<360°.
5. Flag: M1018 (Flag for Radian/Degree)
6. See the figure below for the relation between the radian and the operation result:
R
S
-2
3
2
-2 2
3
2
2
2
-
1
-1
0
-
S: Radian
R: Result (COS value)
7. If operation result in D is 0, Zero flag M1020 = ON.
Program Example 1:
M1018 = OFF, radian mode.
When X0 = ON, DCOS instruction conducts cosine operation on binary
floating value in (D1, D0) and stores the COS value in (D11, D10) in binary floating format.
M1002
RST M1018
X0
DCOS D0 D10
D1
D0
D11
D10
COS value
binary floating point
binary floating point
RAD value(degree x /180)Ï€

Table of Contents

Other manuals for Delta DVP-SS2

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-SS2 and is the answer not in the manual?

Delta DVP-SS2 Specifications

General IconGeneral
BrandDelta
ModelDVP-SS2
CategoryController
LanguageEnglish

Related product manuals