3 - send a message to multiple controllers, Introduction, Age 23 – Rockwell Automation Logix5000 Controllers Messages Programming Manual User Manual

Page 23: Chapter 3, Send a message to multiple, Controllers, Send a message to multiple controllers

Advertising
background image

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.

Introduction

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

23

Advertising