Delta DVP-ES2 User Manual Page 437

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 436
3. Instruction Set
3-321
API Mnemonic Operands Function
133
D ASIN P
Arc Sine
Controllers
ES2/EX2 SS2 SA2
SE
SX2
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
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
S: Source device (binary floating value) D: Operation result
Explanations:
1. ASIN instruction performs arc sine operation on S and stores the result in D
2. ASIN value = SIN
-1
3. See the figure below for the relation between input S and the result:
R
S
2
2
-
0 1,0-1,0
S: Input (SIN value)
R: Result (ASIN value)
4. If operation result in D is 0, Zero flag M1020 = ON.
5. The decimal value of the SIN value designated by S should be within -1.0 ~ +1.0. If the value
exceeds the range, M1067 and M1068 will be ON and instruction will be disabled.
Program Example:
When X0 = ON, DASIN instruction performs arc sine operation on the binary floating value in (D1,
D0) and stores the ASIN value in (D11, D10) in binary floating format..
DASIN
X0
D0 D10
Page view 436
1 2 ... 432 433 434 435 436 437 438 439 440 441 442 ... 701 702

Comments to this Manuals

No comments