Delta-electronics DELTA DUP-B Instrukcja Użytkownika Strona 335

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 491
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 334
Chapter 3 Creating and Editing Screens
Example
Divide $0 by the value of 2.0 and store the remainder value in $2 (this is a floating
point operation of signed 32-bit data).
Divide $4 by $6 and store the remainder value in $8 (this is a floating point operation
of signed 32-bit data).
SIN (Sine Function)
Equation
Var1 = SIN (Var2)
Explanation
Perform the sine 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.
3-314 Revision May, 2010
Przeglądanie stron 334
1 2 ... 330 331 332 333 334 335 336 337 338 339 340 ... 490 491

Komentarze do niniejszej Instrukcji

Brak uwag