Rockwell Automation 1734-AENTR EtherNet/IP Network Configuration User Manual User Manual

Page 85

Advertising
background image

Rockwell Automation Publication ENET-UM001L-EN-P - March 2014

85

Interlocking and Data Transfer between Controllers Chapter 6

EXAMPLE

Read integers from a PLC-5 controller.

ATTENTION: 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.

ATTENTION: 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

Advertising