Delta AH500 Programming Manual page 498

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
1504
FACOS
Device X
Y
M
S
D
Symbol:
Explanation:
1.
Arccosine value=cos
The relation between cosine values and arccosine values are shown below.
2.
If the absolute value of the conversion result is larger than the value which can be represented
by the maximum floating-point number, SM602 is ON.
3.
If the absolute value of the conversion result is less than the value which can be represented
by the minimum floating-point number, SM601 is ON.
4.
If the conversion result is 0, SM600 is ON.
Example:
When X0.0 is ON, the arccosine of the floating-point number in (D1, D0) is stored in (D11, D10). The
arccosine value in (D11, D10) is converted into the degree, and the conversion result is stored in
(D21, D20). The degree in (D21, D20) is converted into the integer, and the conversion result is
stored in (D31, D30). The integer in (D31, D30) is converted into the binary-coded decimal value,
and the conversion result is stored in Y0.15~Y0.0.
6 - 3 3 0
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 : Arccosine value
-1
Arccosine of the floating-point
number
L
SM SR
E
PR
AH500
Double word
Double word
Function
K
16# "$"
DF
-

Advertisement

Table of Contents
loading

Table of Contents