Allen-Bradley Rockwell Automation 1734-AENT Manual de usuario Pagina 117

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 230
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 116
Publication ENET-UM001I-EN-P - January 2010 117
Interlocking and Data Transfer Between Controllers Chapter 7
This example shows how to use a buffer of INTs.
EXAMPLE
Read integers from a PLC-5 controller.
When condition turns on, reads 16-bit integer values (INTs) and stores them in int_buffer. Then the FAL
instruction moves the values to dint_array. This converts the values to 32-bit integers (DINTs), for use by
other instructions in the ControlLogix controller.
EXAMPLE
Write integers to a PLC-5 controller.
When condition turns on, moves the values in dint_array to int_buffer. This converts the values to 16-bit
integers (INTs). Then the message instruction sends int_buffer to the other controller.
42424
Where Is an
dint_array Array of DINTs that are used in the ControlLogix controller
int_buffer Array of INTs with the same number of elements as
dint_array
Vista de pagina 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 229 230

Comentarios a estos manuales

Sin comentarios