![Omron CVM1D Скачать руководство пользователя страница 299](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532299.webp)
294
5-21-13 TANGENT: TAN(462)
(462)
TAN
S
R
Ladder Symbol
Variations
↑
TAN(462)
Operand Data Areas
S: First source word
CIO, G, A, T, C, #, DM
R: First result word
CIO, G, A, DM
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.
R+1
R
S
Source (floating-point data, 32 bits)
S+1
Result (tangent value, floating-point
data, 32 bits)
TAN
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
.
Relation Between Input Data and Result
S: Angle (radian) data
R: Result (tangent)
R
Precautions
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.
Flags
ER (A50003):
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.
EQ (A50006):
The exponent and mantissa of the result are 0.
Description
Floating-point Math Instructions
Section 5-21
Содержание CVM1D
Страница 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Страница 463: ...iv...
Страница 465: ...vi...