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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 279
Chapter
16
161
File Logic Instructions
This section assumes the reader has Chapter 12, Data Transfer File
Instructions, and is familiar with the concepts and terms introduced in that
section.
The File-to-File logic instructions are:
File-to-File AND
File-to-File OR
File-to-File EXCLUSIVE OR (XOR)
File-to-File Complement
The first three instructions are output instructions that perform a specific
logic operation on the contents of two data Files A and B and place the
result of the logic operation in a third File R (Figure 16.1).
The File Complement instruction takes the logical complement of each bit
in File A and stores it in the corresponding bit locations in File R.
Figure 16.1
FILETOFILE
Logic Operations
1
2
3
4
5
6
File A
Position 003
File Length 006
Logic
operation
AND, OR,
XOR
1
2
3
4
5
6
File B
1
2
3
4
5
6
File R
A logic operation is being performed on step 3 of
Files A and B and the result stored in step 3 of File R.
16.0
General
16.1
FiletoFile Logic
Instructions
Przeglądanie stron 279
1 2 ... 275 276 277 278 279 280 281 282 283 284 285 ... 345 346

Komentarze do niniejszej Instrukcji

Brak uwag