Send a msg instruction – Rockwell Automation 1789-L10_L30_L60 SoftLogix 5800 System User Manual User Manual

Page 220

Advertising
background image

220

Rockwell Automation Publication 1789-UM002J-EN-P - December 2012

Appendix B

Communicate with Devices on a ControlNet Network

Send a MSG Instruction

To send an MSG from Soft1 to Soft2, follow these steps.

1. For Soft1, create a controller-scoped tag and choose the Message data type.
2. Enter an MSG instruction.

In this example logic, a message is sent when a specific condition is met.
When count_send is set, send count_msg.

3. Configure the MSG instruction on the Configuration tab.

4. On the Communication tab, specify the communication path.

A communication path requires pairs of numbers. The first number in the
pair identifies the port from which the message exits. The second number
in the pair designates the node address of the next device.

count_send

/

count_msg.en

EN

DN

ER

Type - Unconfigured

Message Control

count_msg

...

MSG

For this item

Specify

Message Type

CIP Data Table Read or
CIP Data Table Write

Source Tag

Tag containing the data to be transferred

Number of Elements

Number of array elements to transfer

Destination Tag

Tag to which the data will be transferred

Item

Specify

Communication Path
(each SoftLogix controller resides in its own
computer)

1,2,2,27,1,5
Where:
1 is the SoftLogix backplane of Soft1
2 is 1784-PCICS card in slot 2
2 is the ControlNet port
27 is the ControlNet node of Soft2
1 is the SoftLogix backplane of Soft2
5 is the controller slot of Soft2

Communication Path
(each SoftLogix controller resides in the
same computer)

1,5
Where:
1 is the SoftLogix backplane of Soft1
5 is the controller slot of Soft2

IMPORTANT

Ladder-triggered messages use the unscheduled portion of ControlNet
bandwidth and will work without rescheduling the network.

Advertising