Delta AS Series Programming Manual page 841

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
1507
Device
X
S
D
Data
type
S
D
Symbol
Explanation
_6
This instruction finds the hyperbolic cosine of the value in S and stores it in D. Hyperbolic cosine value=(e
1.
2.
If the absolute value of the conversion result is larger than the value that can be represented by floating-point
numbers, the value in D is 16#7F800000, and SM602 is ON.
3.
If the absolute value of the conversion result is less than the value that can be represented by floating-point
numbers, the value in D is 16#FF800000, and SM601 is ON.
4.
If the conversion result is zero, SM600 is ON.
Example
When X0.0 is ON, the instruction finds the hyperbolic cosine of the floating-point number in (D1, D0) and stores it
1.
in (D11, D10). The hyperbolic cosine value in (D11, D10) is a floating-point number.
6 - 5 6 2
FCOSH
P
Y
M
S
T
C
S : Source value
D : Hyperbolic cosine value
Operand
S, D
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
Function
Hyperbolic cosine of a floating-point
number
SR
E
K
16#
"$"
32-bit instruction
-
AS
F
)/2.
s
-s
+e

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents