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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Double-precision Floating-point Instructions
Variations
Applicable Program Areas
Operand Specifications
Description
552
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
ASIND(854) computes the angle (in radians) for a sine value expressed as a
double-precision (64-bit) floating-point number in words S to S+3 and places
the result in words D to D+3.
(The floating point source data must be in IEEE754 format.)
SIN
–1
(
S+3
S+2
S+1
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 will not be
executed.
The result is output to words D to D+3 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 6140
W0 to W508
H0 to H508
A0 to A956
T0000 to T4092
C0000 to C4092
D0 to D32764
@ D0 to @ D32767
*D0 to *D32767
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
S
)
D+3
D+2
Section 3-15
ASIND(854)
@ASIND(854)
Not supported.
Interrupt tasks
OK
D
A448 to A956
D+1
D

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents