Omron CS1G/H-CPUxxH Instructions Manual page 622

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only)
Description
Area
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
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.)
–1
SIN
(
S+3
S+2
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 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.
S
En_00000 to En_32764
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
---
---
,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+1
S
D+3
R
S: Input data (sine value)
R: Result (radians)
Section 3-16
D
D+2
D+1
D
601

Advertisement

Table of Contents
loading

Table of Contents