
Chapter 3
Send a message to multiple controllers
You can program one message instruction to communicate with multiple
controllers. To reconfigure a MSG instruction during runtime, write new values
to the members of the MESSAGE data type.
Important:
In the MESSAGE data type, the RemoteElement member stores the tag name or address of the data in the
controller that receives the message.
If the message Then the RemoteElement is the
Reads data Source element
Writes data Destination element
If you use an asterisk [*] to designate the element number of the array, the value in provides the element
number.
The Index box is available only when you use an asterisk [*] in the Source Element or Destination Element. The
instruction substitutes the value of Index for the asterisk [*].
Tip:
To copy the previous components from a sample project, take these steps.
A. On the Help menu, click Quick Start.
B. On the Quick Start window, in the left navigation pane, expand Controller Projects, and then click Open
Sample Project.
C. In the Open Project dialog box, click MSG_To_multiple_Controllers.acd, and click Open.
Rockwell Automation Publication 1756-PM012F-EN-P - October 2014 23