Rockwell-automation DeviceLogix System User Manual Uživatelský manuál Strana 44

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 209
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 43
44 Publication RA-UM003B-EN-P - February 2010
Chapter 2 Navigate the Function Block Editor Interface
Compare Category
The Compare category includes basic comparison functions, including
the the instruction types:
Greater Than (GRT)
Greater Than or Equal To (GEQ)
•Equal (EQU)
Not Equal (NEQ)
Less Than (LES)
Less Than or Equal (LEQ)
•Mask (MEQ)
Operation rules [all except Mask (MEQ)]
The conditions and outputs of each function block are described
below.
Data ranges
The valid data ranges for all of these instructions are as follows.
Function Block
Typ e
Condition Output
Greater Than (GRT) Source A > Source B 1
Source A <= Source B 0
Greater Than or
Equal (GEQ)
Source A >= Source B 1
Source A < Source B 0
Equal (EQU) Source A == Source B 1
Source A != Source B 0
Not Equal (NEQ) Source A != Source B 1
Source A == Source B 0
Less Than (LES) Source A < Source B 1
Source A >= Source B 0
Less Than or Equal
(LEQ)
Source A <= Source B 1
Source A > Source B 0
Parameters Data Range
Source A -2147483648 ~ 2147483647 (DINT)
-3.402823466e+38F ~ 3.402823466e+38F (REAL)
Source B -2147483648 ~ 2147483647 (DINT)
-3.402823466e+38F ~ 3.402823466e+38F (REAL)
FaultOption 0, 1, 2
Zobrazit stránku 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 208 209

Komentáře k této Příručce

Žádné komentáře