Rockwell-automation 1772-LP3 PLC - 2/30 Programmable Controller Progra Manuel d'utilisateur Page 283

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 346
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 282
File Logic Instructions
Chapter 16
164
Figure 16.3
FILETOFILE
AND Example Rung
FILE TO FILE AND
COUNTER ADDR:
050
POSITION: 001
FILE LENGTH: 006
FILE A: 410-415
FILE B: 574-601
FILE R: 610-615
RA
TE PER SCAN:
006
050
(EN)
17
050
(DN)
15
This output instruction operates on the contents of data Files A and B and
places the result of the operation OR in File R (Figure 16.1).
The logic operation OR compares each bit in File A to the corresponding
bit in File B. If either of the bits is a 1, a 1 is stored in the corresponding
bit location in File R. If neither of the compared bits is a 1, a 0 is stored in
File R (Table 16.B).
Table 16.B
Truth
T
able for Logical OR
Bit In File A Bit In File B Bit In File R
1
1
0
0
1
0
1
0
1
1
1
0
Instruction Overview:
Output instruction
Key sequence [FILE] 16
Requires 6 words of user program
Can operate in incremental, distributed complete or complete mode
Counter is internally indexed by the instruction
16.1.2
FiletoFile OR
Vue de la page 282
1 2 ... 278 279 280 281 282 283 284 285 286 287 288 ... 345 346

Commentaires sur ces manuels

Pas de commentaire