Delta AH500 Programming Manual page 524

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
1522
BASIN
Device X
Y
M
S
D
Symbol:
Explanation:
1.
The source value specified by S is a binary-coded decimal value, and the instruction is used to
get the arcsine of the source value specified by S. The operation result (the degree) is stored
in D.
2.
The value in S represents the sign, i.e. 0 represents the positive sign, and 1 represents the
negative sign. The integer part is stored in S+1, and the fractional part is stored in S+2.
3.
The operation result is rounded off to the nearest whole digit.
4.
The operation result is a binary-coded decimal value (the degree) wiithin the range between 0°
and 90°, or within the range between 270° and 360°.
Example:
The value in D0 represents the sign, the integer part is stored in D1, and the fractional part is stored
in D2. After the instruction BASIN is executed, the arcsine value is rounded off to the nearest whole
digit, and the result is stored in D10.
Additional remark:
6 - 3 5 6
Operand
P
S, D
S
T
C
HC
D
Pulse instruction 16-bit instruction (5 steps) 32-bit instruction
AH500
S : Source value
D : Arcsine value
D0
0 0
0
0
Binary -coded
BASIN
decimal value
D1
0 0
0
0
Binary -coded
decimal value
D2
8 6
6
0
Binary -coded
decimal value
Arcsine of the binary-coded
decimal number
L
SM SR
E
PR
AH500
Word
Word
D10
0 0
6
0
Binary -coded
decimal value
Function
K
16# "$"
DF
-

Advertisement

Table of Contents
loading

Table of Contents