Configure the message, Step to the next controller, Configure the message step to the next controller – Rockwell Automation Logix5000 Controllers Messages Programming Manual User Manual

Page 29

Advertising
background image

Send a message to multiple controllers Chapter 3

The following table explains how to configure the message.

On this tab

If you want to

For this item

Type or select

Configuration

Read (receive) data from
the other controllers

Message Type

The read-type that corresponds to the other
controllers

Source Element

Tag or address that contains the data in the first

controller

Number Of Elements 1
Destination Element local_array[*]
Index

0

Write (send) data to the
other controllers

Message Type

The write-type that corresponds to other
controllers

Source Element

local_array[*]

Index

0

Number Of Elements 1
Destination Element Tag or address that contains the data in the first

controller

Communication

Path

Path to the first controller

Cache Connections

Clear the Cache Connections check box (more

efficient since this procedure continuously changes
the path of the message)

After the MSG instruction sends the message, the following actions occur.

1. The first ADD instruction increments the index. This lets the logic load the

configuration properties for the next controller into the MSG instruction.

2. The second ADD instruction increments the LocalIndex member of the

MSG instruction. This lets the logic load the value from the next controller

into the next element of local_array.

Configure the message

Step to the next controller

Rockwell Automation Publication 1756-PM012F-EN-P - October 2014

29

Advertising