Rockwell Automation 1789-L10_L30_L60 SoftLogix 5800 System User Manual User Manual

Page 227

Advertising
background image

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

227

Communicate with Devices on a ControlNet Network

Appendix B

Produce a Tag to a PLC-5 Controller for the ControlNet Network

Complete these steps to produce a tag that a PLC-5 controller for the
ControlNet network can consume.

1. Determine the type of data to produce..

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

PLC-5 controller for the ControlNet network, insert a Receive Scheduled
Message and enter the following Message size.

3. In the RSNetWorx software, reschedule and save the network.

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

When a PLC-5 controller for the ControlNet network consumes a tag that is
produced by a Logix5000 controller, it stores the data in consecutive 16-bit
integers. The 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 reconstruct the floating point data within the PLC-5 controller, first reverse
the order of the integers and then copy them to a floating-point file.

If

And you are producing

Then

INT

N/A

Create a user-defined data type that contains an array of INTs with an even number of elements, such as
INT[2]. When you produce INTs, you must produce two or more.
Create a produced tag and choose the user-defined data type you created.

DINT or REAL

Only one DINT or REAL value

Create a produced tag and choose the DINT or REAL data type, as appropriate.

More than one DINT or REAL

Create a user-defined data type that contains an array of DINTs or REALs, as appropriate.
Create a produced tag and choose the user-defined data type you created.

If the produced tag contains

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

Advertising