Delta D25886 Bedienungsanleitung Seite 156

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 339
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 155
4. Motion Control Instructions
DVP-MC operating manual 4-115
4.6.28. CMP_R
API
Controller
155
CMP_R
Comparison of floating numbers
10MC11T
Explanation of the instruction:
CMP-R is used for comparison of two 32-bit floating number with the result value displayed in one of the three
output bit devices.
When EN is On, compare S1 less than or greater than, or equal to S2 with the result placed in the
corresponding LT, GT or EQ. When EN is Off, the status of the bit device where the comparison result is
placed will keep unchanged.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “CMP_R” is executed as “EN” turns on. BOOL M,I,Q, constant
S1 The compared value 1 REAL Constant
S2 The compared value 2 REAL Constant
LT
“LT” turns on as the operand S1 is less than the
operand S2.
BOOL M,Q
GT
“GT” turns on as the operand S1 is greater than the
operand S2.
BOOL M,Q
EQ
“EQ” turns on as the operand S1 is equal to the operand
S2.
BOOL M,Q
Seitenansicht 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 338 339

Kommentare zu diesen Handbüchern

Keine Kommentare