Restart the sequence – Rockwell Automation Logix5000 Controllers Messages Programming Manual User Manual

Page 30

Advertising
background image

Chapter 3 Send a message to multiple controllers

When the index equals the local_array_length, the controller sends the message to

all other controllers.

1. The first CLR instruction sets the index equal to 0. This lets the logic load

the configuration properties for the first controller into the MSG

instruction and start the sequence of messages again.

2. The second CLR instruction sets the LocalIndex member of the MSG

instruction equal to 0. This lets the logic load the value from the first

controller into the first element of local_array.

Restart the sequence

30

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

Advertising