Delta-electronics DELTA DUP-B Bedienungsanleitung Seite 368

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 491
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 367
Chapter 3 Creating and Editing Screens
FCMP (Floating Point Value Comparison)
Equation
Var1 = FCMP (Var2, Var3)
Explanation
Compare the floating point value in Var2 and Var3 and store the result in Var1.
The comparison methods include:
Var1=0, Var2 = Var3
Var1=1, Var2 > Var3
Var1=2, Var2 < Var3
Remark
The calculation result can be stored as signed DWORD.
Var1 can be internal memory only. Var2 and Var3 can be internal memory or
constant.
Example
Compare the floating point value in $0 and $2 and store the result in $4 (this is an
operation of signed 32-bit data).
Revision May, 2010 3-347
Seitenansicht 367
1 2 ... 363 364 365 366 367 368 369 370 371 372 373 ... 490 491

Kommentare zu diesen Handbüchern

Keine Kommentare