Rockwell-automation DeviceLogix System User Manual Bedienungsanleitung Seite 46

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 209
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 45
46 Publication RA-UM003B-EN-P - February 2010
Chapter 2 Navigate the Function Block Editor Interface
Compute/Math Category
The Compute/Math category includes fundamental arithmetic
operations, including the instructions types:
•Add (ADD)
•Multiply (MUL)
Subtract (SUB)
Divide (DIV)
Modulus (DINT)
Modulus (REAL)
Absolute (ABS)
Negative (NEG)
Square Root (SQR)
Power (XPY)
Operation rules
The conditions and outputs of each function block are described
below.
Function Block
Typ e
Output
Add (ADD) = Source A + Source B
Multiply (MUL) = Source A x Source B
Subtract (SUB) = Source A - Source B
Divide (DIV) = Source A / Source B
Modulus (DINT) = Source A - (Source A/ Source B) x Source B
Modulus (REAL) = Source A - (DINT)(Source A/ Source B) x Source B
Absolute (ABS) = Absolute value of (Source A)
Negative (NEG) = - Source A
Square Root (SQR) = Square root of (Source A) *
Power (XPY) = Source A * * Source B
* If Source A is negative, the operation takes the absolute value of the Source A before
calculating the square root and no fault is reported.
Seitenansicht 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 208 209

Kommentare zu diesen Handbüchern

Keine Kommentare