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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Floating-point Math Instructions
Variations
Applicable Program Areas
Operand Specifications
Description
504
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
Index Registers
Indirect addressing
using Index Registers
ATAN(465) computes the angle (in radians) for a tangent value expressed as
a 32-bit floating-point number in S+1 and S and places the result in R+1 and
R.
(The floating point source data must be in IEEE754 format.)
–1
TAN
S+1
R+1
The result is output to words R+1 and R as an angle (in radians) within the
range of – /2 to /2.
The following diagram shows the relationship between the input data and
result.
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)
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Source (32-bit floating-point data)
S
Result (32-bit floating-point data)
R
Section 3-14
ATAN(465)
@ATAN(465)
Not supported.
Interrupt tasks
OK
R
A448 to A958
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents