Delta Electronics AH500 Manual page 212

Motion control module
Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
133
D
ASIN
Device
X
Y
M
S
D
 S: Source value (binary floating-point value); D: Arcsine value
 Arcsine value=sin
E xp la nat io n
 The decimal floating-point value into which the sine value in S is
 If a conversion result is 0, a zero flag will be ON.
 SM1064 is the zero flag in an Ox motion subroutine, and SM968 is the
 SM1049 is the operation error flag in an Ox motion subroutine, and
 When X0.0 is ON, the arcsine of the binary floating-point value in (D1,
E xa mple
A dditio nal
re mark
5 - 9 7
Operand
P
S, D
S
K
16#
F
KnM KnS
Pulse instruction 16-bit instruction 32-bit instruction (6 steps)
-1
The relation between sine values and arcsine values is shown below.
-1 ,0
converted can only be in the range of -1.0 to +1.0. If it is not in the range,
the instruction will not be executed, an operation error flag will be ON,
and the error code 16#0E19 will appear.
zero flag in O100.
SM953 is the operation error flag in O100.
D0) is stored in (D11, D10).
X0.0
D 1
S
D
D 11
Please refer to section 5.3 for more information about performing
operations on floating-point numbers.
Ch ap te r 5 Ap plie d Instruc tions
Arcsine of a binary
floating-point number
D
W
T
R
S: Sine va lu e
R: Arcsine v alue
2
0
1 ,0
-
2
DASIN
D0
D10
Binary floating- point value
D 0
Ar csine v alue
D 10
Binary floating- point value
Function
C
V
Z
S

Advertisement

Table of Contents
loading

Table of Contents