EasyManuals Logo

Xinje XD5 User Manual

Xinje XD5
389 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 #168 background imageLoading...
Page #168 background image
167
4-9-9Cosine [COS]
1. Summary
Floating Cosine [COS]
16 bits
-
32 bits
COS
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands
Function
Data Type
S
Soft element address need to do cos
32 bits, BIN
D
Result address
32 bits, BIN
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
COS D50 D60
X0
S· D·
This instruction performs the mathematical COS operation on the floating point value in S
(angle RAD). The result is stored in D.
D51 D50
D61 D60
S·
D·
Note: Before the instruction is executed, the data in parameter S must be floating number;
otherwise, the execution result will be wrong.
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S
D
Word
Description
(D51,D50) RAD (D61,D60) COS
Binary Floating Binary Floating
RAD value (angle× π/180)
Assign the binary floating value
COS value
Binary Floating

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XD5 and is the answer not in the manual?

Xinje XD5 Specifications

General IconGeneral
BrandXinje
ModelXD5
CategoryController
LanguageEnglish

Related product manuals