User manual

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