EasyManuals Logo
Home>Omron>Controller>CQM1H - PROGRAM

Omron CQM1H - PROGRAM User Manual

Omron CQM1H - PROGRAM
602 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 #388 background imageLoading...
Page #388 background image
363
Floating-point Math Instructions Section 5-24
ON if the source data is not recognized as floating-point data.
ON if the absolute value of the source data exceeds 65,535.
EQ: ON if both the exponent and mantissa of the result are 0.
5-24-12 COSINE: COS(––)
Limitations The source data in S+1 and S must be in IEEE754 floating-point data format.
DM 6143 to DM 6655 cannot be used for R.
Description When the execution condition is OFF, COS(––) is not executed. When the
execution condition is ON, COS(––) calculates the cosine of the angle (in radi-
ans) expressed as a 32-bit floating-point value in S+1 and S and places the
result in R+1 and R. (The floating point source data must be in IEEE754 for-
mat.)
Specify the desired angle (–65,535 to 65,535) in radians in S+1 and S. If the
absolute value of the angle exceeds 65,535, an error will occur and the
instruction won’t be executed. For information on converting from degrees to
radians, see 5-24-9 DEGREES TO RADIANS: RAD(––).
The following diagram shows the relationship between the angle and result.
Flags ER: Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
ON if the source data is not recognized as floating-point data.
ON if the absolute value of the source data exceeds 65,535.
EQ: ON if both the exponent and mantissa of the result are 0.
S: First source word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
R: First result word
IR, SR, AR, DM, EM, HR, LR
Ladder Symbols
Operand Data Areas
Third operand: Always 000
−−−
COS(−− )
S
R
000
@COS(−− )
S
R
000
R+1 R
S
Source (32-bit floating-point data)
S+1
Result (32-bit floating-point data)
COS
S: Angle (radian) data
R: Result (cosine)
R

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CQM1H - PROGRAM and is the answer not in the manual?

Omron CQM1H - PROGRAM Specifications

General IconGeneral
BrandOmron
ModelCQM1H - PROGRAM
CategoryController
LanguageEnglish

Related product manuals