Yaskawa MP900 Series Ladder Programming Manual Instrukcja Użytkownika Strona 202

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 201
5.7 Data Shift Instructions
5.7.11 Bit Shift Left (SHFTL)
5-133
Instructions
5
( 3 ) Programming Example
In the following programming example, four bits from the first bit address at MB00001E are shifted two bits to the left
when switch 1 (DB000000) turns ON.
The following figure illustrates the result when the above instructions are executed.
0 0 1 1 0 1
0 0 0 1 0 0
EF012
11
Number of bits
to shift = 2
Bit width = 4
First bit address:
MB00001E
Before Shift
After Shift
Bits that overflow are discarded.
Przeglądanie stron 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 414 415

Komentarze do niniejszej Instrukcji

Brak uwag