EasyManuals Logo
Home>Omron>Controller>SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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 #662 background imageLoading...
Page #662 background image
622
Floating-point Math Instructions Section 3-15
Description TANQ(477) calculates the tangent of the angle (in radians) 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 format.)
Specify the desired angle (–65,535 to 65,535) in radians in S+1 and S. If the
angle is outside of the range –65,535 to 65,535, an unpredictable value will be
output, but the Error Flag will not be turned ON. For information on converting
between degrees and radians, see
3-15-9 DEGREES TO RADIANS:
RAD(458)
and 3-15-10 RADIANS TO DEGREES: DEG(459).
If the absolute value of the result is greater than the maximum value that can
be expressed as floating-point data, the result will be output as
±∞ or 0.
The following diagram shows the relationship between the angle and result.
Precautions TANQ(477) differs from TAN(462) in the following respects:
• The instruction has improved performance.
• The instruction length is 15 steps.
• The Condition Flags are not refreshed.
• An unpredictable value will be output if the angle data is out-of-range.
• The data cannot be input or output at a Programming Console. A question
mark will be displayed.
Data Registers ---
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area S R
R+1 R
S
S+1TAN
Source (32-bit floating-point data)
Result (32-bit floating-point data)
3
2
Ï€
2
Ï€
2
3
2
ππ
−2 π−π
0
−1
1
π 2 π
S
R
R: Result (tangent)
S: Angle (radian) data
−
−

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals