Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 531

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Floating-point Math Instructions
Flags
Precautions
3-14-13 TANGENT: TAN(462)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
498
Name
Label
Error Flag
ER
Equals Flag
=
Overflow Flag
OF
Underflow Flag
UF
Negative Flag
N
The source data in S+1 and S must be in IEEE754 floating-point data format.
Calculates the tangent of a 32-bit floating-point number (in radians) and
places the result in the specified result words.
TAN(462)
S
R
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Operation
ON if the source data is not a number (NaN).
ON if the absolute value of the source data exceeds
65,535.
OFF in all other cases.
ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
OFF
OFF
ON if the result is negative.
OFF in all other cases.
S: First source word
R: First result word
Step program areas
Subroutines
OK
S
CIO 0 to CIO 6142
W0 to W510
H0 to H510
A0 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
@ D0 to @ D32767
*D0 to *D32767
#00000000 to #FFFFFFFF
(binary)
---
Section 3-14
TAN(462)
@TAN(462)
Not supported.
Interrupt tasks
OK
R
A448 to A958
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents