367
Floating-point Math Instructions
Section 5-24
The source data must be between –1.0 and 1.0. If the absolute value of the
source data exceeds 1.0, an error will occur and the instruction won’t be exe-
cuted.
The result is output to words R+1 and R as an angle (in radians) within the
range of 0 to
π
.
The following diagram shows the relationship between the input data 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 1.0.
EQ:
ON if both the exponent and mantissa of the result are 0.
5-24-16 ARC TANGENT: ATAN(––)
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.
R+1
R
S
Source (32-bit floating-point data)
S+1
Result (32-bit floating-point data)
COS
–1
S: Input data (cosine value)
R: Result (radians)
R
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
−−−
ATAN(
−−
)
S
R
000
@ATAN(
−−
)
S
R
000
Содержание SYSMAC CQM1H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ......
Страница 11: ......
Страница 15: ...xvi...
Страница 87: ...62 Calculating with Signed Binary Data Section 1 7...
Страница 169: ...144 Serial Communications Board Section 2 6...
Страница 537: ......
Страница 565: ......
Страница 569: ......
Страница 573: ......
Страница 577: ......