Rockwell-automation 1772-LP3 PLC - 2/30 Programmable Controller Progra Instrukcja Użytkownika Strona 128

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 127
Data Manipulation Instructions
Chapter 6
66
Figure 6.6
GreaterThan
Comparison
||
02
()
01
120 010
| G |
100
030
| < |
YYY
031
Reference V
alue
When YYY>100, GET/LES comparison is true and 010/01 is energized.
Equal To – An equal-to comparison is made with the Get and Equ
instructions (Figure 6.7). The Get value is the changing variable and is
compared to the reference value of the Equ instruction for an equal-to
condition. When the Get value equals the Equ value, the comparison is true
and logic continuity is established.
Figure 6.7
EqualTo
Comparison
||
03
()
02
120 010
| G |
YYY
030
| = |
100
035
Reference V
alue
When YYY=100, GET/EQU comparison is true and 010/02 is energized.
Less Than or Equal To – This comparison is made using the Get, Les
and Equ instructions. The Get value is the changing value. The Les and
Equ instructions are assigned a reference value (Figure 6.8). When the
Get value is either less than or equal to the value at the Les and Equ
instructions, the comparison is true and logic continuity is established.
NOTE: Only one Get instruction is required for a parallel comparison. The
Les and Equ instructions are programmed on parallel branches.
Przeglądanie stron 127
1 2 ... 123 124 125 126 127 128 129 130 131 132 133 ... 345 346

Komentarze do niniejszej Instrukcji

Brak uwag