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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 491
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 333
Chapter 3 Creating and Editing Screens
Example
Divide the value of $0 by 2.0 and store the value in $0 (this is a floating point
operation of signed 32-bit data).
Divide the value of $2 by $4 and store the value in $6 (this is a floating point
operation of signed 32-bit data).
FMOD (Get Floating Remainder)
Equation
Var1 = FMOD (Var2, Var3)
Explanation
Perform the division of Var2 and Var3, and store the remainder in Var1.
Remark
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 and Var3 can be internal memory or
constant.
The value contained within Var3 cannot be equal to 0 (zero).
Revision May, 2010 3-313
Przeglądanie stron 333
1 2 ... 329 330 331 332 333 334 335 336 337 338 339 ... 490 491

Komentarze do niniejszej Instrukcji

Brak uwag