Delta DVP-ES2 Manuale Utente Pagina 414

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 702
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 413
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-298
API Mnemonic Operands Function
116
D RAD P
Degree Radian
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 *
DRAD, DRADP: 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 (degree) D: Conversion result (radian)
Explanation:
1. Use the following formula to convert degree to radian:
Radian degree × (π/180)
2. Flags: M1020 Zero flag, M1021 Borrow flag, M1022 Carry flag
If the absolute value of the result exceeds the max. floating point value, carry flag M1022 = ON.
If the absolute value of the result is less than min. floating point value, borrow flag M1021 = ON.
If the conversion result is 0, zero flag M1020 = ON.
Program Example:
When X0 = ON, convert degree value of the binary floating point in (D1, D0) to radian and save the
binary floating point result in (D11, D10).
X0
DRAD D0 D10
D 1 D 0
D11
D10
binary floating point
Degree value
binary floating point
Radian value (degree x
π
/
180)
Vedere la pagina 413
1 2 ... 409 410 411 412 413 414 415 416 417 418 419 ... 701 702

Commenti su questo manuale

Nessun commento