Controlnet Network Configuration: User Manual
Controlnet Network Configuration: User Manual
Controlnet Network Configuration: User Manual
Configuration
1756 ControlLogix, 1756 GuardLogix, 1769 CompactLogix,
1769 Compact GuardLogix, 1789 SoftLogix, Studio 5000
Logix Emulate
Publication CNET-UM001G-EN-P
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss.
Attentions help you identify a hazard, avoid a hazard, and recognize the consequence.
IMPORTANT Identifies information that is critical for successful application and understanding of the product.
BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may reach dangerous
temperatures.
ARC FLASH HAZARD: Labels may be on or inside the equipment, for example, a motor control center, to alert people to potential Arc Flash. Arc Flash
will cause severe injury or death. Wear proper Personal Protective Equipment (PPE). Follow ALL Regulatory requirements for safe work practices and
for Personal Protective Equipment (PPE).
Grammatical and editorial style changes are not included in this summary.
Global changes
This table identifies changes that apply to all information about a subject in
the manual and the reason for the change. For example, the addition of new
supported hardware, a software design change, or additional reference
material would result in changes to all of the topics that deal with that subject.
Subject Reason
Updated the Legal notices. Legal information changed.
Chapter 1
ControlNet Overview Use ControlNet Communication Modules in a Control System ............ 11
Bridge Across Networks ............................................................................ 12
Exchange Information on a ControlNet Network ................................... 15
Network Update Time (NUT) .............................................................. 16
Requested Packet Interval (RPI) ......................................................... 17
Actual Packet Interval (API) ................................................................ 18
Understand the Effect of the NUT on the API ............................. 18
Schedule the Network .......................................................................... 18
Control of Scheduled I/O............................................................... 19
Understand the Network Keeper ........................................................ 19
Default Parameters ............................................................................. 20
ControlNet Network Capacity and Topology ........................................... 21
Topology................................................................................................ 21
Number of Nodes .................................................................................23
Lengths..................................................................................................23
Chapter 2
Connect a Computer to the Configure the ControlNet Communication Driver in RSLinx Classic
ControlNet Network Software..................................................................................................... 25
Chapter 3
Configure a ControlNet Module Use Logix Designer Application .............................................................. 27
Configure the I/O Configuration Tree in Your Project .................... 27
Add and Configure a Local ControlNet Module ............................... 27
Add and Configure a Remote ControlNet Module ........................... 30
Communication Format................................................................32
Download the Project to the Logix 5000 Controller .......................... 33
Electronic Keying ................................................................................. 34
Exact Match .................................................................................... 35
Compatible Keying ........................................................................36
Disabled Keying ............................................................................ 38
Use RSNetWorx for ControlNet Software .............................................. 40
Schedule a ControlNet Network for the First Time ......................... 40
Schedule the Network Offline ............................................................ 40
Chapter 4
Control I/O Set Up the Hardware ................................................................................. 51
Requested Packet Interval (RPI) .............................................................. 52
Communication Format ........................................................................... 52
Direct or Rack-optimized Connections.............................................. 53
Direct Connections for I/O Modules ............................................54
Rack-optimized Connections for I/O Modules ........................... 55
Ownership ............................................................................................56
Choose the Type of Ownership for a Module............................... 57
Add a Remote Adapter .............................................................................. 58
Add Distributed I/O .................................................................................. 58
Distributed I/O Communication Formats .........................................59
Access Distributed I/O .............................................................................. 60
Validate Connections ................................................................................ 62
Chapter 5
Produce and Consume Tags Terminology ...............................................................................................65
(interlock controllers) Set Up the Hardware .................................................................................65
Determine Connections for Produced and Consumed Tags .................67
Organize Tags for Produced or Consumed Data .................................... 68
Adjust for Bandwidth Limitations ........................................................... 68
Produce a Tag ............................................................................................ 69
Consume a Tag .......................................................................................... 72
Chapter 6
Messaging Set Up the Hardware ................................................................................. 77
Guidelines for MSG Instructions ............................................................ 78
Determine Connections for Messages .....................................................79
Guidelines for Caching Message Connections ..................................79
Enter Message Logic ..................................................................................79
Add the ControlNet Modules and Remote Devices to the Local
Controller’s I/O Configuration .......................................................... 80
Enter a Message .................................................................................. 80
Configure a Message Instruction.............................................................. 81
Stagger the Messages ................................................................................ 82
Chapter 7
Communicate with PanelView Set Up the Hardware ................................................................................ 83
Terminals Determine Connections to PanelView Terminals .................................. 84
Add a PanelView Terminal ....................................................................... 84
Organize Controller Data for a PanelView Terminal ............................. 88
Index
Use this manual if you program applications that use a ControlNet network
with one of these Logix 5000 controllers:
• CompactLogix controller
• ControlLogix controller
• PowerFlex 700S with DriveLogix controller
• SoftLogix5800 controller
Also be familiar with the following:
• Networking concepts
• Logix Designer software
• FactoryTalk® Linx™ or RSLinx Classic software
• RSNetWorx for ControlNet software
Studio 5000 environment The Studio 5000 Automation Engineering & Design Environment® combines
engineering and design elements into a common environment. The first
element is the Studio 5000 Logix Designer® application. The Logix Designer
application is the rebranding of RSLogix 5000® software and will continue to
be the product to program Logix 5000™ controllers for discrete, process,
batch, motion, safety, and drive-based solutions.
Legal Notices Rockwell Automation publishes legal notices, such as privacy policies, license
agreements, trademark disclosures, and other terms and conditions on the
Legal Notices page of the Rockwell Automation website.
A full list of all open source software used in this product and their
corresponding licenses can be found in the OPENSOURCE folder. The default
installed location of these licenses is C:\Program Files (x86)\Common
Files\Rockwell\Help\FactoryTalk Services Platform\Release
Notes\OPENSOURCE\index.htm.
ControlNet Overview
Use ControlNet You can fit various ControlNet modules into your control system.
a Control System • The controllers produce and consume tags among themselves.
• The controllers initiate MSG instructions that send/receive data or
configure devices.
• The computer uploads and downloads projects to the controllers.
• The computer configures devices on the ControlNet network and
configures the network itself.
Item Description
1 Personal computer running SoftLogix5800 controller with 1784-PCICS card
2 1756-CNB module (as an adapter) with 1756 I/O modules
3 PowerFlex 700S drive
4 1794-ACN15 adapter with 1794 I/O modules
5 1734-ACNR adapter with 1734 I/O modules
6 PanelView terminal
7 CompactLogix 1769-L35CR controller with local 1769 I/O modules
8 ControlLogix controller with 1756-CN2, 1756-CN2R, 1756-CNB, or 1756-CNBR module as the scanner
Bridge Across Networks Some ControlNet modules support the ability to bridge or route
communication to and from different networks, depending on the
capabilities of the platform and communication devices.
Destination Modules for a 1768 CompactLogix System Modules for a 1769 CompactLogix System Modules for a ControlLogix Chassis
Network
DeviceNet • 1768-L43 or 1768-L45 controller • 1769-L32C or 1769-L35CR controller • 1756-CN2 module
• 1768-CNB(R) module • 1769-SDN scanner or 1788-CN2DN module(1) • 1756-CN2R module
• 1769-SDN scanner • 1756-CNB module
• 1756-CNBR module
• 1756-DNB module
Destination Modules for a 1768 Modules for a 1769 Modules for a ControlLogix Modules for a 1769
Network CompactLogix System CompactLogix System Chassis CompactLogix Packaged
Controller System
ControlNet • 1768-L43 or 1768-L45 controller Not applicable • 1756-CN2 module Not applicable
• 1768-ENBT module • 1756-CN2R module
• 1768-CNB(R) module • 1756-CNB module
• 1756-CNBR module
• 1756-ENBT module
• 1756-EN2T module
• 1756-EN2TR module
• 1756-EN3TR module
DeviceNet • 1768-L43 or 1768-L45 controller • 1769-L32E or 1769-L35E • 1756-DNB module • 1769-L23E-QB1B controller
• 1768-ENBT module controller • 1756-ENBT module • 1769-L23E-QBFC1B controller
• 1769-SDN scanner • 1769-SDN scanner or 1788- • 1756-EN2T module • 1769-L23-QBFC1B controller
EN2DN module(1) • 1756-EN2TR module • 1769-SDN scanner
• 1756-EN3TR module
With unscheduled data, the device from which a message originates, such as a
Logix 5000 controller, contains the path information that makes sure the
message reaches its consumers.
For a full explanation of unscheduled and scheduled data, see Network
Update Time (NUT) on page 16 on page 16.
Because the producing module holds this information, other modules along
the path simply pass the information along and do not need to store it. The
significant benefits include the following:
In traditional I/O systems, controllers poll input modules to obtain their input
status. In a Logix system, digital input modules are not polled by a controller.
Instead, they produce (multicast) their data either upon a change of state
(COS) or periodically. The frequency of update depends upon the options
chosen during configuration and where on the network the input module
resides. The input module, therefore, is a producer of input data and the
controller is a consumer of the data.
The controller can also produce data for other controllers to consume. The
produced and consumed data is accessible by multiple controllers over the
Logix backplane and the ControlNet network. This data exchange conforms to
the producer/consumer model.
Network Update Time (NUT) The network update time (NUT) is the shortest interval in which data can be
sent on a ControlNet network. It represents the fastest possible update rate
for scheduled data transfers on that network. For example, a network that
runs with a five ms NUT cannot send scheduled data at a rate faster than five
ms. It can, however, send data at a slower rate. The minimum NUT you can
specify is two ms. The NUT is divided into a three-part structure.
Table 4 - NUT Structure
Maintenance The node with the lowest address transmits information to keep the other nodes synchronized. This time is automatically
subtracted from your NUT. However, the time required for network maintenance is brief (microseconds) when compared to that
used for the scheduled and unscheduled portions of the NUT.
Item Description
Boundary moves according to scheduled traffic load
Unscheduled traffic
Network maintenance
Scheduled traffic. Each device transmits only once
Start
Requested Packet Interval The RPI is the update rate specified for a particular piece of data on the
network. By using a rack-optimized connection, the RPI can specify the rate
(RPI) for an entire rack of I/O. With a direct connection, the RPI can specify the
rate for a particular module or peer-to-peer data. When you add a module to
the I/O configuration of a controller, you must configure the RPI, specifying
how often to produce data for that module. For example, if you specify an RPI
of 50 ms, every 50 ms the I/O module sends its data to the controller or the
controller sends its data to the I/O module.
Set the RPI only as fast as needed by the application. The RPI also determines
the number of packets per second that the module will handle on a
connection. Each module has a limit of how many packets it can handle per
second. If you exceed this limit, the module cannot open any more
connections.
When you run RSNetWorx for ControlNet software, an Actual Packet Interval
(API) is calculated. The API is equal to or faster than the RPI.
Actual Packet Interval (API) The API is the actual update rate for a particular piece of data on the network.
A ControlNet network sets this rate equal to or faster than the RPI, based on
the binary multiple of the NUT, which is the next fastest rate at which a
module can send data. If this cannot be done, a ControlNet network provides
reports that it cannot support the configuration.
Understand the Effect of This example illustrates how the NUT affects the API. A module on the
network can produce data only at binary multiples of the NUT to a maximum
the NUT on the API of the NUT multiplied by 128. These multiples are referred to as rates on a
ControlNet network. Therefore, with a NUT of 5 ms, the module can send
data at these rates.
Table 5 - NUT Example Data Rates
In this example, if you specify an RPI of 25 ms, then the network produces an
API of 20 ms, which is the next fastest rate at which the module can send data.
The module places the data on the network at every fourth network update
interval to produce the 20 ms API. Similarly, if you specify an RPI of 150 ms,
the network produces an API of 80 ms.
Schedule the Network Connections over a ControlNet network can be one of the following:
Control of Scheduled I/O Scheduled connections let you send and receive data repeatedly at a
predetermined rate. You can use the 1756-CNB or the 1756-CN2 module to
control scheduled I/O when you use it in conjunction with a ControlLogix
controller. When you place the module in the I/O configuration list of a
ControlLogix controller and configure a second ControlLogix chassis with a
remote 1756-CNB or 1756-CN2 module on the same ControlNet network, you
can perform remote control operations on the I/O, or to a second controller in
the second chassis.
In this case, the ControlLogix controller and the 1756-CN2 module in the local
chassis together act as a scanner, while the 1756-CN2 module in the remote
chassis with the I/O plays the role of an adapter.
Understand the Network Every ControlNet network requires at least one module to store programmed
parameters for the network and configures the network with those
Keeper parameters when the module is started. This module is called a keeper
because it keeps the network configuration. RSNetWorx for ControlNet
software configures the keeper.
To review the valid keeper devices on your network, follow this procedure in
RSNetWorx for ControlNet software.
Default Parameters When a ControlNet network is first established, it relies on a default set of
parameters capable of sending only unscheduled data. Default parameters in
all ControlNet devices include the following:
Item Description
Trunkline
Node
Tap with dropline
Item Description
Node
Tap with 1 m (3.28 ft) dropline
Coaxial repeater
Tip: Coax repeaters are typically used in trunkline and star topologies. See the ControlNet Coax
Media Planning and Installation Guide, publication CNET-IN002, for more specific information on
coax topologies you can create.
With fiber media, you can configure your network in trunkline, star, and ring topologies. Only the
1786-RPFRL and 1786-RPFRXL repeaters support a ring topology.
For more information, consult the ControlNet Fiber Media Planning and Installation Guide,
publication CNET-IN001.
Item Description
Node
Fiber cables
Coaxial cable
Tap with 1 m (3.28 ft) dropline
ControlNet Repeater Adapter and Fiber Ring Module
Number of Nodes Each ControlNet network supports up to 99 nodes. Logix 5000 controllers
support multiple ControlNet networks, providing the flexibility to add nodes
to a ControlNet network or boost performance.
Maximum Allowable Segment Length = 1000 m (3280 ft) - 16.3 m (53.4 ft) X
[Number of Taps - 2]
After preparing the driver for use, connect the card or cable to the computer,
and then connect the computer to the network.
Configure the ControlNet To configure a ControlNet communication driver, perform this procedure in
RSLinx Classic software.
Communication Driver in
IMPORTANT If you are using a 1794-U2CN cable to connect to the network, you are not required to
RSLinx Classic Software configure the driver.
IMPORTANT The example configuration process shown in this chapter uses a 1756-CN2R/B
ControlLogix ControlNet bridge module in a ControlLogix controller project.
However, the overall configuration process, described in Configure the I/O
Configuration Tree in Your Project on page 27, generally applies to any of the
ControlNet communication modules covered in this manual.
Use Logix Designer Use the Logix Designer application to configure the I/O tree in your project.
Application
Configure the I/O When you use the Product_Name_RSL5K> application to configure a
ControlNet communication module, you must perform these tasks.
Configuration Tree in Your
1. Add and Configure a Local ControlNet Module on page 27.
Project 2. Add and Configure a Remote ControlNet Module on page 30.
Add and Configure a Local After you have started the Logix Designer application and created a controller
ControlNet Module project, you can add ControlNet communication modules. A local ControlNet
module is a module that resides in the same chassis as the controller.
IMPORTANT When you create a new Logix Designer project with the CompactLogix 1769-L32C or
1769-L35CR controller, the Controller Organizer creates a ControlNet port in the local
chassis. In this case, you do not need to add a separate local communication module.
2. On the Select Module Type dialog box, type ControlNet in the Enter
Search Text for Module Type box, choose the local ControlNet
communication module, and then click Create.
IMPORTANT This procedure shows the New Module dialog box for a 1756-CN2R/B. However,
various dialogs appear during configuration depending on the ControlNet
module you select. For help configuring a module, refer to the online help in the
Logix Designer application.
3. Complete the fields on the New Module dialog box and then click OK.
Add and Configure a After you have added the local ControlNet communication module, you must
add remote ControlNet communication modules. A remote ControlNet
Remote ControlNet Module module is a module that resides in a chassis separate from the controller.
To add a remote ControlNet module, perform this procedure.
2. On the Select Module Type dialog box, type ControlNet in the Enter
Search Text for Module Type box, select a remote ControlNet
communication module, and then click OK.
IMPORTANT This procedure shows the New Module dialog box for a 1756-CN2. However,
various dialogs appear during configuration depending on the ControlNet
module you select. For help configuring a module, refer to the online help in the
Logix Designer application.
3. Complete the fields on the New Module dialog box and then click OK.
Field Action
Name Type a name for the local ControlNet module.
Node Enter the module’s node number on the network.
Description Type a description of the local ControlNet module.
Chassis Size Enter the total number of slots in the chassis.
Comm Format Choose a communication format, as described in Communication Format
on page 52below.
You do not need to assign a communication format for 1784-PCIC, 1784-
PCICS, or 1788-CNx cards.
Slot Enter the module’s slot number in the chassis.
Revision Choose a major and minor revision of Logix Designer software.
Electronic Keying Choose a keying option, as described in Electronic Keying on page 37 on
page 34.
Download the Project to the When you have added the local and remote ControlNet communication
modules to your Logix Designer project, download the new configuration to
Logix 5000 Controller your Logix 5000 controller.
3. From the Who Active dialog box, browse to and select the controller to
which to download a project and click Download.
Electronic Keying Electronic Keying reduces the possibility of using the wrong device in a
control system. Electronic Keying compares the device defined in the project
to the installed device. If keying fails, a fault occurs.
These attributes are compared:
Attribute Description
Vendor The device manufacturer.
Carefully consider the implications of each keying option when selecting one.
IMPORTANT Changing Electronic Keying parameters online interrupts connections to the device
and any devices that are connected through the device. Connections from other
controllers can also be broken.
A loss of data may occur if an I/O connection to a device is interrupted.
Exact Match Exact Match keying requires all keying attributes, that is, Vendor, Product
Type, Product Code (catalog number), Major Revision, and Minor Revision, of
the physical module and the module created in the software to match
precisely in order to establish communication. If any attribute does not match
precisely, I/O communication is not permitted with the module or with
modules connected through it, as in the case of a communication module.
Use Exact Match keying when you need the system to verify that the module
revisions in use are exactly as specified in the project, such as for use in
highly-regulated industries. Exact Match keying is also necessary to enable
Example In the following scenario, Exact Match keying prevents I/O communication.
Communication is prevented.
Physical Module:
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 2
IMPORTANT Changing electronic keying selections online may cause the I/O Communication
connection to the module to be disrupted and may result in a loss of data.
Compatible Keying Compatible Keying indicates that the module determines whether to accept
or reject communication. Different module families, communication
adapters, and module types implement the compatibility check differently
based on the family capabilities and on prior knowledge of compatible
products.
Communication is prevented.
Physical Module:
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 2
Communication is allowed.
Physical Module:
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16D
Major Revision = 3
Minor Revision = 2
IMPORTANT Changing electronic keying selections online may cause the I/O communication
connection to the module to be disrupted and may result in a loss of data.
Disabled Keying Disabled Keying indicates the keying attributes are not considered when
attempting to communicate with a module. Other attributes, such as data size
and format, are considered and must be acceptable before I/O
communication is established. With Disabled Keying, I/O communication
may occur with a module other than the type specified in the I/O
Configuration tree with unpredictable results. We generally do not
recommend using Disabled Keying.
ATTENTION: Be extremely cautious when using Disabled Keying; if used incorrectly, this option can lead to personal
injury or death, property damage, or economic loss.
If you use Disabled Keying, you must take full responsibility for
understanding whether the module being used can fulfill the functional
requirements of the application.
Communication is prevented.
Physical Module:
Vendor = Allen-Bradley
Product Type = Analog Input Module
Catalog Number = 1756-IF16
Major Revision = 3
Minor Revision = 2
Communication is allowed.
Physical Module:
Vendor = Allen-Bradley
Product Type = Digital Input Module
Catalog Number = 1756-IB16
Major Revision = 3
Minor Revision = 2
Use RSNetWorx for You must use RSNetWorx for ControlNet software to schedule the network in
order to activate the configured I/O devices in your application. You must also
ControlNet Software reschedule the network if a change is made to an already-scheduled network.
Schedule a ControlNet RSNetWorx for ControlNet software stores information in keeper devices.
These ControlNet communication modules are keeper-cable devices:
Network for the First Time
• 1756-CN2 and 1756-CN2R modules
• 1756-CNB and 1756-CNBR modules
• 1768-CNB and 1768-CNBR module
• 1769-L32C and 1769-L35CR controllers
• 1784-PCICS and 1784-PKTCS cards
If you configure a keeper on one network and then use it on another network,
the conflicting information can make it difficult to use RSNetWorx for
ControlNet software to schedule the new network. In extreme cases, it may be
difficult to go online:
• Your Logix Designer software project uses one controller and one
network. We recommend that you use only one 1756-CN2, 1756-CNB, or
1768-CNB module in the local chassis when scheduling the network
offline.
• Your Logix Designer software project is complete but has not been
downloaded to the controller.
2. From the Module Properties dialog box, click the RSNetWorx tab.
3. In the ControlNet file field, type a name for a new ControlNet file.
4. Click Apply.
5. When a message appears prompting you to create the file, click Yes.
c.
Schedule the Network Prior to scheduling a network online, make sure that all keepers are
unconfigured or do not conflict with the current network. If your network has
Online already been scheduled and you made a change to it, you must reschedule it.
2. From the New File dialog box, select a ControlNet configuration for
the new file and click OK.
4. From the Browse for Network dialog box, expand the tree to find and
select a communication path to the ControlNet network and click
OK.
9. Click the Media Configuration tab, modify the settings if needed, and
click OK.
Generally, you can use the default media configuration. Adjust the
configuration if your network is longer or uses repeaters.
IMPORTANT If the media configuration does not accurately represent the maximum
propagation delay between any two nodes, your network may experience errors.
Reschedule a ControlNet If you change a previously scheduled network, you must reschedule the
Network that has network to apply the changes. For example, if you add I/O to an existing
ControlNet network, you must reschedule the network for the I/O to become
Previously been Scheduled active.
2. From the Open dialog box, select the ControlNet file that matches the
existing network and click Open.
7. Click OK.
IMPORTANT It is better to optimize connections. However, in some cases involving multiple
controllers, the Merge changes into existing schedule option is available. This
option lets controllers whose connections have not changed to continue
uninterrupted operation. When you merge changes into the existing schedule,
those controllers whose connections have not changed remain in Run mode
rather than changing to Program mode.
Control I/O
Set Up the Hardware In this example, the Logix 5000 controller uses a ControlNet communication
module in the local chassis to connect to the ControlNet network. The
distributed (remote) I/O has a ControlNet adapter to connect it to the
ControlNet network.
RPI is used only for a module that produces or consumes data. For example, a
local ControlNet communication module does not require an RPI because it is
not a data-producing member of the system, but only a bridge.
In Logix 5000 controllers, I/O values update at an interval that you configure
via the I/O configuration folder of the project. The values update
asynchronously to the execution of logic. At the specified interval, the
controller updates a value independently from the execution of logic.
Communication Format When you configure a remote ControlNet communication module or an I/O
module, you choose a communication format. The chosen communication
format determines the data structure for tags associated with the module.
Many I/O modules support different formats. Each format uses a different
data structure.
Direct or Rack-optimized Logix 5000 controllers use connections to transmit I/O data. These
connections can be direct or rack-optimized connections.
Connections
Term Definition
Direct connection A direct connection is a real-time, data-transfer link between the controller and an analog or digital I/O module that enables your
controller to collect more data from an I/O module. For example, with a direct connection, the controller can collect diagnostic status
data from a 1756-IA8D module that would not be collected in a rack-optimized connection.
The controller maintains and monitors the connection with the I/O module. Any break in the connection, such as a module fault or the
removal of a module while under power, sets fault bits in the data area associated with the module.
Rack-optimized (Digital I/O modules only). A rack-optimized connection consolidates connection usage between the controller and all the digital I/O
connection modules in the chassis or DIN rail. Instead of a direct connection for each I/O module, the entire chassis or DIN rail has one
connection.
Anytime a remote chassis houses I/O modules that use rack-optimized connections, the remote ControlNet communication module
connecting these modules to their owner-controller must also use a rack-optimized connection. However, you can use both direct
and rack-optimized connections to the same remote chassis. For example, if your remote chassis houses six digital I/O modules and
your application requires direct connections for three and rack-optimized connections for the others, you can choose direct
connections for the first three and rack-optimized connections for the second three. In this case, even though you must use a rack-
optimized connection for the remote ControlNet communication module, the owner-controller still makes direct connections with the
three I/O modules configured as such.
Each remote ControlNet communication module is limited to five rack-optimized connections.
Rack-optimized Connection.
Direct Connections for I/O In this example, assume that each distributed I/O module is configured for a
Modules direct connection to the controller.
Tip: Direct connections to many modules may not be feasible because the module supports a finite
number of connections, and direct connections may require more resources than the module has
available.
In this case, use rack-optimized connections. Refer to Rack-optimized Connections for I/O Modules
on page 60 on page 55 for more information on how to limit connection use and network traffic.
Rack-optimized In this example, assume that each digital I/O module is configured for a rack-
optimized connection to the controller. Analog modules must be configured
Connections for I/O Modules for direct connections.
The rack-optimized connection limits connections, but can also limit the
status and diagnostic information that is available from the digital
I/O modules.
Ownership In a Logix 5000 system, modules multicast data. This means that multiple
controllers can receive the same data at the same time from a single module.
When you choose a communication format, you have to choose whether to
establish an owner or listen-only relationship with the module.
Type of Ownership Definition
Owner controller The controller that creates the primary configuration and communication connection to a module. The owner controller writes
configuration data and can establish a connection to the module. The owner controller is the only device that controls the outputs.
Listen-only connection An I/O connection where another controller provides the configuration data for the I/O module. A controller using a listen-only
connection only monitors the module. It does not write configuration data and can maintain a connection to the I/O module only when
the owner controller is actively controlling the I/O module.
Listen-only Connection.
Output module Does not own the module ---------------------------------> Owner, such as not listen-only
Owns the module ---------------------------------> Listen-only
Output modules Owner The controller that establishes an owner connection to an output module configures that module. Only one owner
connection is allowed for an output module. If another controller attempts to establish an owner connection, the
connection attempt is rejected.
Listen-only Once a controller owns and configures an output module, other controllers can establish listen-only connections to that
module. These controllers can receive multicast data while another controller owns the module. If the owner controller
breaks its connection to the output module, all controllers with listen-only connections no longer receive multicast data.
Add a Remote Adapter The type of distributed I/O determines your choice of a remote ControlNet
adapter. Before choosing a remote adapter, you must add local and remote
ControlNet modules to a Logix Designer project. For more information on
adding ControlNet modules to a project, see Add and Configure a Local
ControlNet Module on page 30 on page 27 and Add and Configure a Remote
ControlNet Module on page 33 on page 30.
Table 15 - Remote Adapter Options
Add Distributed I/O To communicate with I/O modules in your system, you add a bridge, adapter,
and I/O modules to the I/O Configuration folder of the controller. Within the
folder, you organize modules into a hierarchy of tree/branch and parent/child.
3. From the Module Properties dialog box, configure the distributed I/O
module.
IMPORTANT This procedure shows the Module Properties dialog box for a 1794-
IB16XOB16P/A digital combo module. However, various dialogs appear during
configuration depending on the type of distributed I/O. For help configuring a
module, refer to the online help in Logix Designer application.
To Then
Use the module’s default configuration • Type the module name, communication
format, and RPI.
• Click Finish.
Customize the configuration • Type the module name, communication
format, and RPI.
• Click Next to proceed through subsequent
screens to configure additional
parameters, such as filter times and fault
actions.
Distributed I/O Your selection of communication format when you add distributed I/O
modules is based on whether you want rack-optimized or direct connections
Communication Formats to each distributed I/O module and corresponds directly with the
communication format you chose for your remote adapter.
Remote Adapter Communication Format Distributed I/O Communication Format
Rack Optimization Rack Optimization
None An appropriate direct-connection format
Access Distributed I/O I/O information is presented as a structure of multiple fields dependent on
the specific features of the I/O module. The name of the structure is based on
the location of the I/O module in the system. Each I/O tag is automatically
created when you configure the I/O module in Logix Designer software. Each
tag name follows this format:
Location:SlotNumber:Type.MemberName.SubMemberName.Bit
Address Variable Definition
Location Identifies the network location by using one of these values:
• LOCAL—Local DIN rail or chassis
• ADAPTER_NAME—Remote adapter or bridge that you specify
SlotNumber Slot number of I/O module location in its chassis.
Type Identifies one of these types of data:
• I—Input
• O—Output
• C—Configuration
• S—Status
MemberName Specific data from the I/O module depending on the type of data the module
can store. For example, Data and Fault are possible fields of data for an I/O
module. Data is the common name for values that are sent to or received from
I/O points.
SubMemberName Specific data related to a MemberName.
Bit (optional) Specific point on the I/O module depending on the size of the I/O module (0...31
for a 32-point module).
This example shows an I/O tree configured with a remote FLEX I/O adapter
and two remote FLEX I/O modules.
Example:
1
Table 16 - Example Tag Names
1
The tags listed are not a complete list of the tags created for each module type. For a
full list of the tags created for each module, see the Tag Monitor tool in the Logix
Designer application.
Validate Connections You need to verify that the controller can communicate with the devices that
you have just configured.
5. From the Module Properties dialog box, click the Connection tab.
This chapter explains how to interlock (produce and consume tags) controllers
via a ControlNet network.
Topic Page
Terminology on page 65 71 on page 65
Set Up the Hardware on page 83 72 on page 83
Determine Connections for Produced and Consumed Tags on page 67 73 on page 67
Organize Tags for Produced or Consumed Data on page 68 75 on page 68
Adjust for Bandwidth Limitations on page 68 76 on page 68
Produce a Tag on page 69 77 on page 69
Consume a Tag on page 72 79 on page 72
Terminology A Logix 5000 controller lets you produce (broadcast) and consume (receive)
system-shared tags.
Term Definition
Produced tag A tag that a controller makes available for use by other controllers. Multiple controllers can simultaneously
consume (receive) the data. A produced tag sends its data to one or more consumed tags (consumers)
without using logic. The produced tag sends its data at the RPI of the fastest consuming tag.
Consumed tag A tag that receives a produced tag’s data. The data type of the consumed tag must match the data type,
including any array dimensions, of the produced tag. The RPI of the fastest consumed tag determines the
rate at which the produced tag is produced.
For two controllers to share produced or consumed tags, they must reside on
the same ControlNet network.
Set Up the Hardware In this example, the controller in the first chassis produces a tag that is
consumed by the controller in the second chassis.
Item Description
Chassis 1 can contain any of these combinations:
• 1756 ControlLogix controller with a 1756-CN2 or 1756-CN2R communication module in the chassis.
• 1756 ControlLogix controller with a 1756-CNB or 1756-CNBR communication module in the chassis.
• 1768-L43 CompactLogix controller with a 1768-CNB or 1768-CNBR communication module in the chassis.
• 1769-L32C or 1769-L35CR CompactLogix controller.
• 1789 SoftLogix controller with a 1784-PCICS communication card.
• PowerFlex 700S with DriveLogix controller and a 1788-CNx ControlNet communication card.
• Non-Logix 5000 controller or other device connected to ControlNet via a ControlNet scanner card.
Determine Connections for Logix controllers can produce (broadcast) and consume (receive) system-
shared tags that are sent and received via the ControlNet communication
Produced and Consumed module. Each produced and consumed tag requires connections.
Tags Table 17 - Tag Type and Connections
Consumed Each consumed tag requires one connection for the controller that is consuming the tag.
ControlLogix 250
SoftLogix5800
Organize Tags for Produced Follow these guidelines as you organize your tags for produced or consumed
data (shared data).
or Consumed Data
Table 19 - Guidelines for Produced or Consumed Data Tags
Function Guidelines
Create the tags at the controller scope. You can produce and consume only controller-scoped tags.
Produce and consume specific tags. You cannot produce or consume these types:
• Alias
• Axis type
• BOOL
• Consumed
• I/O
• INT
• Message
Use one of these data types:
To share other data types, create a user-defined data type that contains the
• DINT
• REAL
required data. Use the same data type for the produced tag and corresponding
• Array of DINTs or REALs consumed tag or tags.
• User-defined
Limit the size of the tag to ≤ 480 bytes. If you must transfer more than 480 bytes, create logic to transfer the data in smaller packets or create multiple
produce/consume tags.
To share tags with a PLC-5C controller, use To This Then
a user-defined data type.
Produce Integers, BOOLs or Create a user-defined data type that contains an array of INTs with an even
combinations of both number of elements, such as INT[2].
Only one REAL value Use the REAL data type.
More than one REAL Create a user-defined data type that contains an array of REALs.
value
Consume Integers Create a user-defined data type that contains these members:
Data type Description
DINT Status
BIT 0
• 0 PLC5 in PROG mode
• 1 PLC5 in RUN mode
INT[x], where x is the output size of Data produced by a PLC-5C
the data from the PLC-5C controller. If controller
you are consuming only one INT, omit
x.
Use the highest permissible RPI for your If the controller consumes the tag over a ControlNet network, use a binary multiple of the ControlNet network update
application. time (NUT). For example, if the NUT is 5 ms, use an RPI of 5, 10, 20, or 40 ms.
Combine data that goes to the same If you are producing several tags for the same controller, group the data in these ways:
controller. • To reduce the number of connections, group the data into one or more user-defined data types.
• To conserve network bandwidth , group the data according to similar update intervals.
Adjust for Bandwidth When you share a tag over a ControlNet network, the tag must fit within the
bandwidth of the network:
Limitations
Adjustment Description
Increase the requested packet interval (RPI) of your At higher RPIs, connections can take turns sending data during an update period.
connections. This is the recommended method.
Reduce your network update time (NUT). At a faster NUT, fewer connections have to share an update period.
For a ControlNet 1756-CN2, 1756-CN2R, 1756-CNB, or Are most of the modules in the chassis non- Then choose this communication format for the
1756-CNBR bridge module in a remote chassis, choose diagnostic, digital I/O modules? remote 1756-CN2 or 1756-CNB module
the most efficient communication format for that Yes Rack optimization
chassis.
No None
The rack optimization format uses an additional eight bytes for each slot in its chassis. Analog modules or
modules that are sending or receiving diagnostic, fuse, timestamp, or schedule data require direct
connections and cannot take advantage of the rack-optimized form. Selecting None frees up the eight
bytes per slot for other uses, such as produced or consumed tags.
Separate the tag into two or more smaller tags. 1. Group the data according to similar update rates. For example, you could create one tag for data that is
critical and another tag for data that is not as critical.
2. Assign a different RPI to each tag.
Create logic to transfer the data in smaller sections For information on how to do this, see the Logix 5000 Controllers Common Procedures Programming
(packets). Manual, publication 1756-PM001.
Produce a Tag A Logix 5000 controller can produce only controller-scoped, user-created tags
in the local controller’s tag structure. Logix 5000 controllers cannot produce
I/O tags or tags aliased to I/O tags.
1. Open the Logix Designer project containing the tag you want to
produce.
IMPORTANT You can create produced tags only when your Logix Designer project is offline.
3. From the Controller Tags dialog box, type the name of the new tag in
an available Tag Name field.
4. Right-click the new tag name and choose Edit Tag Properties.
6. In the Data Type field, type a data type that the controller can produce.
A controller cannot produce a tag by using MSG or INT data types.
7. Click the Connection tab.
Consume a Tag Logix 5000 controllers can consume only controller-scoped user-created tags
from another controller’s tag structure. The Logix 5000 controllers cannot
consume I/O tags or tags aliased to I/O tags.
IMPORTANT You can create consumed tags only when your Logix Designer project is offline.
1. Open the Logix Designer project that contains the controller that you
want to consume the produced tag.
2. Make sure the controller producing the tag to be consumed is in the
consuming controller’s I/O configuration, as shown in this example.
8. Click Connection.
9. From the Consumed Tag Connection dialog box, complete these fields:
• From the Producer pull-down menu, choose Producing_controller.
This menu contains all possible paths to previously configured
controllers in the I/O tree.
• In the Remote Data field, type the name of the produced tag in the
producing controller.
Messaging
This chapter explains how to use MSG instructions to send data to and receive
data from other modules on a ControlNet network.
Topic Page
Set Up the Hardware on page 83 84 on page 83
Guidelines for MSG Instructions on page 78 85 on page 78
Determine Connections for Messages on page 79 86 on page 79
Enter Message Logic on page 79 86 on page 79
Configure a Message Instruction on page 81 88 on page 81
Stagger the Messages on page 82 90 on page 82
Item Description
IMPORTANT The 1769-L32C and 1769-L35CR controllers can produce and consume tags over a
ControlNet network to other Logix 5000 controllers. However, Compact I/O modules
that are local to the 1769-L32C and 1769-L35CR controllers are not accessible to other
Logix 5000 controllers.
Guidelines for MSG Follow these guidelines as you work with message instructions.
Instructions Table 21 - Guidelines for MSG Instructions
Function Guidelines
For each MSG instruction, create a control tag. Each MSG instruction requires its own control tag. This tag contains control elements for messages,
such as DN and EN, error codes, and information to execute the message, such as destination path and
number of words to transfer:
• Data type = MESSAGE
• Scope = controller
• The tag cannot be part of an array or a user-defined data type
Keep the source or destination data at the controller A MSG instruction can access only tags that are in the Controller Tags folder (controller scope).
scope.
If your MSG is to a module that uses 16-bit integers, use If your message is to a module that uses 16-bit integers, such as an SLC 500 controller, and it transfers
a buffer of INTs in the MSG and DINTs throughout the integers, not REALs, use a buffer of INTs in the message and DINTs throughout the project.
project. This increases the efficiency of your project because Logix 5000 controllers execute more efficiently
and use less memory when working with 32-bit integers (DINTs).
If you want to enable more than 16 MSGs at one time, use If you enable more than 16 MSGs at one time, some MSG instructions may experience delays in entering
some type of management strategy. the queue. To guarantee the execution of each message, you can take these actions:
• Enable each message in sequence.
• Enable the messages in smaller groups.
• Program a message to communicate with multiple modules.
• Program logic to coordinate the execution of messages.
Cache connected MSGs that execute most frequently. Cache the connection for those MSG instructions that execute most frequently, up to the maximum
number permissible for your controller revision.
This optimizes execution time because the controller does not have to open a connection each time the
message executes.
For more information on programming MSG instructions, see the Logix 5000
Controllers General Instructions Reference Manual, publication 1756-RM003.
The individual system user manuals for Logix 5000 controllers also provide
MSG examples unique to specific controller platforms.
Determine Connections for Messages transfer data to other modules, such as other controllers, I/O
modules or operator interfaces. Each message uses one connection,
Messages regardless of how many modules are in the message path. To conserve
connections, you can configure one message to read from or write to multiple
modules. Also, you can configure multiple messages for the same path and use
only one connection if only one message is active at a time; however, this
requires that you write your ladder logic correctly to make sure that only one
message is active at any time.
These connected messages can leave the connection open (cache) or close the
connection when the message has finished transmitting.
Table 22 - Message Connections and Communication Methods
Guidelines for Caching Follow these guidelines to determine whether to cache a connection.
Message Connections
Message Execution Appropriate Action
Repeated Cache the connection.
This keeps the connection open and optimizes message completion time. Opening a connection during
the execution of each message increases execution time.
Enter Message Logic To send or receive data from a ControlNet module via a message, you must
program a MSG instruction in the local controller’s logic. If the target module
is configured in the I/O Configuration folder of the controller, browse to
choose the module or manually type the message path in the MSG instruction.
Add the ControlNet Modules Browse to choose the target device of a MSG instruction and add that remote
device to the I/O configuration folder of the local controller. Within the I/O
and Remote Devices to the configuration folder, organize the local and remote devices into a hierarchy of
Local Controller’s I/O tree/branch and parent/child.
Item Description
Local controller and communication module
Remote controller and communication modules
Local communication module for the local controller
Remote communication module for the remote controller
Remote controller
For more information on how to add ControlNet modules and remote devices
to the local controller’s I/O configuration, see Chapter 4.
Enter a Message Use relay ladder logic to enter a MSG instruction. Click to configure the
MSG instruction, as shown in the example below.
Example: Enter a MSG instruction as shown below.
ATTENTION: If user_bit and count_messages.EN = 0 (MSG instruction is not already enabled), then
execute a MSG instruction that sends data to another controller.
Tip: We recommend an XIO of the MSG control block tag.en, such as the count_messages.EN portion
of this rung, as an in-series precondition for all message instructions.
Do not manipulate the control bits of a message instruction.
7. Specify the path of the module for which you sent the message
instruction to the I/O configuration tree:
• If the module has been added, click Browse to the choose the path.
• If the module has not been added, type the path in the Path field.
8. Click OK.
Stagger the Messages As you add messages to your project, you may have to coordinate the
execution of the messages. To avoid errors and assure that each message is
processed, follow these rules.
Rule 1 Enable no more than 16 messages at one time, including block transfers.
Rule 2 Enable no more than 10 of these types of messages at one time:
• CIP data table reads or writes that are not cached
• CIP generic
• PLC-2, PLC-3, PLC-5, or SLC (all types)
• Block transfer reads or writes that are not cached
Set Up the Hardware In this example, the controller in the local chassis shares data with an HMI
application on a ControlNet network. This application could be running any
of these:
• PanelView terminal
• PanelView Plus terminal
• Workstation running RSView 32 software
• Workstation running an RSView Enterprise application, such as
RSView Machine Edition software or RSView Supervisory Edition
software
Figure 14 - Example of Communication with PanelView and RSView Products
Item Description
Local controller in any of these combinations:
• 1756 ControlLogix controller with a 1756-CN2 or 1756-CN2R communication module in the
chassis
• 1756 ControlLogix controller with a 1756-CNB or 1756-CNBR communication module in the
chassis
• 1768-L43 CompactLogix controller with a 1768-CNB or 1768-CNBR communication module
in the chassis
• 1769-L32C or 1769-L35CR CompactLogix controller
• 1789 SoftLogix controller with a 1784-PCICS communication card
• PowerFlex 700S with DriveLogix controller and a 1788-CNx ControlNet communication
card
When you use PanelView terminals with Logix 5000 controllers over a
ControlNet network, remember these limitations:
• A maximum of four PanelView Standard terminals can request data
from a Logix 5000 controller.
• The number of PanelView Plus terminals that can request data from a
Logix 5000 controller is dependent on the number of available
unconnected buffers in the Logix 5000 controller.
A typical PanelView Plus application uses 5 unconnected buffers in a Logix
5000 controller. With 32 unconnected buffers available at any time in a Logix
5000 controller, a maximum of 6 PanelView Plus terminals can request data
from a Logix 5000 controller. Keep in mind, however, that if 6 PanelView Plus
terminals are requesting data from a single Logix 5000 controller, few
unconnected buffers remain for anything else.
Organize Controller Data for Organize data for a PanelView or PanelView Plus terminal based on how the
data is used.
a PanelView Terminal
Data Type Required Actions
Time-critical scheduled data Use the I/O tags of the terminal. The terminal supports a maximum of
(PanelView terminals only) 32 input tags and 32 output tags.
The tags for this data were created when you added the PanelView
terminal to the I/O configuration of the controller. They are similar to
the tags of I/O modules.
Not time-critical (PanelView or Create arrays to store the data.
PanelView Plus terminals) 1. For each screen, create a BOOL array with enough elements for the
bit-level objects on the screen.
For example, the BOOL[32] array gives you 32 bits for push buttons
and indicators.
2. For each screen, create a DINT array with enough elements for the
word-level objects on the screen.
For example, the DINT[28] array gives you 28 values for numeric entry
controls and numeric displays.
To access the scheduled I/O tags of the PanelView terminal, use these address
formats.
Terminal Function Address Definition
Writes the data name_of_terminal:I.Data[x].y
Reads the data name_of_terminal:O.Data[x].y
Index network 23
for produced and consumed tags 63
validate 57
consumed tags
creating in Logix Designer software 67
A defined 61
determine connections 63
access guidelines 64
access data 55 organize tag data 64
produced and consumed data 13 control I/O 47
scheduled I/O tags 81 ControlNet module
actual packet interval 15, 16 bridge across networks 10
adjust configure 25
media configuration 38, 42 overview 9
tags for bandwidth limitations 64 ControlNet network
API. See actual packet interval 15 capacity 20
connect a computer 23
B
IX ControlNet network topology 18
bandwidth schedule 16
limitations 64 scheduleIXControlNetnetworkschedule
rack-optimized communication format 37
48
requested packet interval rate 48 D
unscheduled maximum node address data types 61, 64, 65, 67
18 distributed I/O
bridge across networks 10 access data 55
communication formats 55
C
download Logix Designer project 31
cache message connections 73
capacity of ControlNet network 20 E
communicate electronic keying 32
between computer and devices 23 enter message logic 73
between controller and devices 57
communicate across networks 10 I
with I/O modules 53
I/O
with PanelView products 77
control 47
communication driver 23
rack optimized connections 51
communication format
scheduled 16
distributed I/O 55
interlocking controllers. See produced tags
effect on requested packet interval 48
or consumed tags 61
rack optimized 51
select 48, 55
K
communication path 42
configure keeper, network 17
configure ControlNet module 25 keying, electronic 32
ControlNet communication driver 23
message instructions 74
L R
local ControlNet module 25 rack-optimized communication format 51
Logix 5000 controller remote ControlNet module 28
consumed tags 67 requested packet interval 48
direct or rack-optimized connections RPI. See requested packet interval 48
49 RSLinx Classic software 23
local ControlNet module 25 RSNetWorx for ControlNet software
produced tags 65 configure network keeper 17
remote ControlNet module 28 schedule network 37
Logix Designer software RSView software 77
add PanelView terminal 78
communication format 48 S
create consumed tag 67 schedule ControlNet network 16, 37
create produced tag 65 scheduled I/O 16
download project 31 scheduled maximum node address 18
select
M
communication driver 23
media configuration 38, 42 communication format 48, 55
message instructions communication path 42
cache message connections 73 local communication module 25, 78
configure 74 PanelView terminal 78
guidelines 72 remote communication module 28
staggering messages 76 set
message logic 73 communication format 48
network schedule parameters 38, 42
N requested packet interval 48
network keeper 17 scheduled maximum node address 18
network update time 13, 18, 48, 64 unscheduled maximum node address
NUT. See network update time 14 18
SMAX. See scheduled maximum node
O address 18
staggering messages in Logix Designer
ownership types 51, 52 76
P T
PanelView terminal tags. See produced tags or consumed tags
connection to Logix 5000 controller 78 61
controller data 81 topology of ControlNet network 18
hardware setup 77
Logix Designer software setup 78 U
select 78
UMAX. See unscheduled maximum node
peer-to-peer messaging 71
address 18
produced tags
unscheduled maximum node address 18
defined 61
determine connections 63 V
guidelines 64
organize tag data 64 validate connections 57
produced tags 65
Literature Library Find installation instructions, manuals, brochures, and technical data publications. rok.auto/literature
Product Compatibility and Download Center Get help determining how products interact, check features and capabilities, and rok.auto/pcdc
(PCDC) find associated firmware.
Documentation feedback
Your comments help us serve your documentation needs better. If you have any suggestions on how to improve our content, complete the form at
rok.auto/docfeedback.
Rockwell Automation maintains current product environmental information on its website at rok.auto/pec.
Allen-Bradley, expanding human possibility, Logix, Rockwell Automation, and Rockwell Software are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Rockwell Otomayson Ticaret A.Ş. Kar Plaza İş Merkezi E Blok Kat:6 34752, İçerenkÖy, İstanbul, Tel: +90 (216) 5698400 EEE YÖnetmeliğine Uygundur