Delta AH500 Programming Manual page 504

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
API
Instruction code
1508
FTANH
Device X
Y
M
S
D
Symbol:
Explanation:
1.
Hyperbolic tangent value=(e
2.
If the conversion result is 0, SM600 is ON.
Example:
1.
When X0.0 is ON, the hyperbolic tangent of the floating-point number in (D1, D0) is stored in
(D11, D10). The hyperbolic tangent value in (D11, D10) is the floating-point number.
2.
If the conversion result is 0, SM600 is ON.
Additional remark:
If the value in S exceeds the range of values which can be represented by the floating-point
numbers, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2013.
6 - 3 3 6
Operand
P
S, D
S
T
C
HC
D
Pulse instruction 16-bit instruction (5-6 steps) 32-bit instruction
AH500
S : Source value
D : Hyperbolic tangent value
s
-s
s
-s
-e
)/(e
+e
).
S
D1
D0
D
D11
D10
Hyperbolic tangent of the
floating-point number
L
SM SR
E
AH500
Double word
Double word
Single- pr ecision
floati ng- point number
Hyperbolic tangent value
Function
PR
K
16# "$"
DF
-

Advertisement

Table of Contents
loading

Table of Contents