Rockwell Automation 5720 DriveLogix System User Manual

Page 177

Advertising
background image

Publication 20D-UM002C-EN-P - November 2003

Communicating with Devices on a ControlNet Link 7-31

2. In RSNetWorx software, open the ControlNet configuration for the

target ControlNet PLC-5 controller, insert a Receive Scheduled Message
and enter the following Message size:

3. In the RSNetWorx software, reschedule (save) the network.

The ControlNet PLC-5 controller does not perform type checking. Make sure
the PLC-5 data type can correctly receive the DriveLogix produced tag to
ensure proper data is being received.

When a ControlNet PLC-5 controller consumes a tag that is produced by a
Logix5000 controller, it stores the data in consecutive 16-bit integers. The
ControlNet PLC-5 controller stores floating-point data, which requires 32-bits
regardless of the type of controller, as follows:

• The first integer contains the upper (left-most) bits of the value.
• The second integer contains the lower (right-most) bits of the value.

To re-construct the floating point data within the ControlNet PLC-5
controller, first reverse the order of the integers and then copy them to a
floating-point file.

Consuming a tag from a ControlNet PLC-5 controller

To consume a tag from a ControlNet PLC-5 controller,:

1. In RSNetWorx software, open the ControlNet configuration of the

ControlNet PLC-5 controller, insert a Send Scheduled Message.

2. In RSLogix 5000 software, add the ControlNet PLC-5 controller to the

Controller Organizer.

3. Create a user-defined data type that contains these members:

If the produced tag
contains:

Then, for the Message size, enter:

INTs

The number of integers in the produced tag

DINTs

Two times the number of DINTs or REALs in the produced
tag. For example, if the produced tag contains 10 DINTs,
enter 20 for the Message size.

REALs

Data type:

Description:

DINT

Status

INT[x], where “x” is the output size of the
data from the ControlNet PLC-5 controller.
(If you are consuming only one INT, no
dimension is required.)

Data produced by a ControlNet PLC-5
controller

Advertising
This manual is related to the following products: