Tangent: Tan(462) - Omron CVM1D Operation Manual

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Floating-point Math Instructions

5-21-13 TANGENT: TAN(462)

Ladder Symbol
(462)
TAN
Variations
↑TAN(462)
Description
Relation Between Input Data and Result
Precautions
Flags
294
Operand Data Areas
S: First source word
S
R
R: First result word
When the execution condition OFF, TAN(462) is not executed. When the execu-
tion condition is ON, TAN(462) computes the tangent of the angle (in radians)
expressed as the 32-floating-point content of S and S+1, and places the result in
R and R+1.
S+1
TAN
R+1
Specify the angle in radians for S and S+1. For information on converting from
degrees to radian, refer to 5-21-9 DEGREES-TO-RADIANS: RAD(458).
If the absolute value of the result is greater than the maximum value that can be
expressed for floating-point data, the Overflow Flag (A50009) will turn ON and
the result will be output as ±R.
S and S+1must be floating-point data and its absolute value must be less than
65,536.
Note Refer to page 101 for general precautions on operand data areas.
ER (A50003):
EQ (A50006):
CIO, G, A, T, C, #, DM
CIO, G, A, DM
S
R
R
The absolute value of S and S+1is 65,536 or greater.
S and S+1is not floating-point data.
The content of a*DM word is not BCD when set for BCD.
The exponent and mantissa of the result are 0.
Section 5-21
Source (floating-point data, 32 bits)
Result (tangent value, floating-point
data, 32 bits)
S: Angle (radian) data
R: Result (tangent)

Advertisement

Table of Contents
loading

Table of Contents