Delta-electronics DELTA DUP-B Manuel d'utilisateur Page 336

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 491
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 335
Chapter 3 Creating and Editing Screens
Example
Perform the function of SIN30
o
and store the result in $0 (this is a floating point
operation of signed 32-bit data).
Perform the sine function of $2 and store the result in $4 (this is a floating point
operation of signed 32-bit data).
COS (Cosine Function)
Equation
Var1 = COS (Var2)
Explanation
Perform the cosine function of the value within Var2, and store the result in Var1.
Remark
The definition of Var2 is an angle, not radius.
This is the operation of signed 32-bit data.
The calculation result can be stored as signed DWORD. When the data exceeds
the length of designated unit, the data out of range will be discarded.
Var1 can be internal memory only. Var2 can be internal memory or constant.
The display format of the variables must be floating point.
The input variable must be a signed decimal value without the decimal point.
Revision May, 2010 3-315
Vue de la page 335
1 2 ... 331 332 333 334 335 336 337 338 339 340 341 ... 490 491

Commentaires sur ces manuels

Pas de commentaire