Rockwell-automation 1772-LP3 PLC - 2/30 Programmable Controller Progra Manual de usuario Pagina 283

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 346
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 282
1 2 ... 278 279 280 281 282 283 284 285 286 287 288 ... 345 346

Comentarios a estos manuales

Sin comentarios