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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 128
Data Manipulation Instructions
Chapter 6
67
Figure 6.8
LessThan
or EqualTo Comparison
||
04
()
03
120 010
| G |
YYY
030
| < |
237
040
Reference V
alue
When YYY
237, GET/LESEQU comparison is true and 010/03 is energized.
| = |
237
040
Greater Than or Equal To – This comparison is made using the Get, Les
and Equ instructions. The Get value is assigned a reference value. The Les
and Equ values are changing values that are compared to the Get value
(Figure 6.9). When the Les and Equ values are greater than or equal to the
Get value, the comparison is true and logic continuity is established.
NOTE: Only one Get instruction is required for this parallel comparison.
The Les and Equ instructions are programmed on parallel branches.
Figure 6.9
GreaterThan
or EqualTo Comparison
||
05
()
04
120 010
| G |
440
030
| < |
YYY
042
Reference V
alue
When YYY
440, GET/LESEQU comparison is true and 010/04 is energized.
| = |
YYY
042
The Get Byte and Limit Test instructions are used together to compare
an octal value to upper and lower limits that are also octal values. These
values can range from 000
8
to 377
8
.
The Get Byte and Limit Test instructions are programmed in the condition
area of the ladder diagram rung. Together, they form a single condition for
6.2.2
Get Byte and Limit Test
Instructions
Przeglądanie stron 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 345 346

Komentarze do niniejszej Instrukcji

Brak uwag