3 . I n s t r u c t i o n S e t
M N 0 5 0 0 3 0 0 3 E F o r m o r e i n f o r m a t i o n v i s i t :
w w w. e a t o n . c o m
3 - 3 2 1
API Mnemonic
Operands
Function
133
D ASIN P
S, D
Floating Point Arcsine Operation
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T
C
D
E
F
S
*
*
*
D
*
DASIN, DASINP: 9 steps
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32
16
P
32
16
P
32
16
P
32 16
P
32
16
P
Operands:
S
: Specified source (binary floating point)
D
: Area where calculated result is stored
Description:
1. ASIN
value=SIN
-1
2.
See the figure below for the relation between radians and the result of the arcsine operation:
S: Radian
R: Result
R
S
2
2
-
0
-1,0
1,0
3.
If the result in D is 0, the zero flag M1020=ON.
4.
The decimal floating point of the SIN value designated by
S
should be within -1.0 ~ +1.0. If the
value falls outside of this range, error bits M1067 and M1068 will be ON.
Program Example:
When X0= ON, calculate the ASIN of the specified binary floating point value (D1, D0) and save the
result in (D11, D10). The result stored in (D11, D10) is in the binary floating point format.
DA SIN
X0
D0
D10
D1
D0
D11
D10
ASIN value
Binary floating point
binary floating point
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...