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 #389 background imageLoading...
Page #389 background image
364
Floating-point Math Instructions Section 5-24
5-24-13 TANGENT: TAN(––)
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, TAN(––) is not executed. When the exe-
cution condition is ON, TAN(––) calculates the tangent 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(––).
If the absolute value of the result is greater than the maximum value that can
be expressed as floating-point data, the Overflow Flag (SR 25404) will turn
ON and the result will be output as
±∞.
The following diagram shows the relationship between the angle and result.
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
−−−
TAN(−− )
S
R
000
@TAN(−− )
S
R
000
R+1 R
S
Source (32-bit floating-point data)
S+1
Result (32-bit floating-point data)
TAN
S: Angle (radian) data
R: Result (tangent)
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