Delta DVP-ES2 Manuale Utente Pagina 441

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 702
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 440
3. Instruction Set
3-325
API Mnemonic Operands Function
135
D ATAN P
Arc Tangent
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 *
DATAN, DATANP: 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. ATAN instruction performs arc tangent operation on S and stores the result in D
2. ATAN value=TAN
-1
3. See the figure below for the relation between the input and the result:
R
S
2
2
-
0
S: Input (TAN value)
R: Result (ATAN value)
4. If operation result in D is 0, Zero flag M1020 = ON.
Program Example:
When X0 = ON, DATAN instruction performs arc tangent operation on the binary floating value in
(D1, D0) and stores the ATAN value in (D11, D10) in binary floating format.
DATAN
X0
D0 D10
D1 D0
D11 D10
ATAN value
Binary floating point
binary floating point
Vedere la pagina 440
1 2 ... 436 437 438 439 440 441 442 443 444 445 446 ... 701 702

Commenti su questo manuale

Nessun commento