Delta-electronics DELTA DUP-B Bedienungsanleitung Seite 363

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 491
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 362
Chapter 3 Creating and Editing Screens
FCNV (Convert Integer to Floating Point Value)
Equation
Var1 = FCNV (Var2)
Explanation
Convert an integer in Var2 to floating point value and store in Var1.
Remark
The calculation result can be stored as signed DWORD.
Var1 can be internal memory only. Var2 can be internal memory or constant.
Example
Convert an integer in $0 to floating point value and store in $2 (this is an operation
of signed 32-bit data).
If $0 = 100, $2 = 100.0 after executing FCNV command.
ICNV (Convert Floating Point Value to Integer)
Equation
Var1 = ICNV (Var2)
Explanation
Convert a floating point value in Var2 to an integer and store in Var1.
Remark
The calculation result can be stored as signed DWORD.
Var1 can be internal memory only. Var2 can be internal memory or constant.
Example
Convert a floating point value in $0 to an integer and store in $2 (this is an operation
of signed 32-bit data).
3-342 Revision May, 2010
Seitenansicht 362
1 2 ... 358 359 360 361 362 363 364 365 366 367 368 ... 490 491

Kommentare zu diesen Handbüchern

Keine Kommentare