ControlNet
Encyclopedia

Introduction

ControlNet is an open industrial network protocol for industrial automation applications, also known as a fieldbus
Fieldbus
Fieldbus is the name of a family of industrial computer network protocols used for real-time distributed control, now standardized as IEC 61158....

. ControlNet was earlier supported by ControlNet International, but in 2008 support and management of ControlNet was transferred to ODVA
Open DeviceNet Vendors Association
Open DeviceNet Vendors Association is an international organization that supports computing network technologies based upon the Common Industrial Protocol . These include DeviceNet, EtherNet/IP, CIP Safety and CIP Sync. Members of ODVA include representatives of leading automation companies...

, which now manages all protocols in the Common Industrial Protocol
Common Industrial Protocol
The Common Industrial Protocol is an industrial protocol for industrial automation applications. It is supported by ODVA.Previously known as Control and Information Protocol, CIP encompasses a comprehensive suite of messages and services for the collection of manufacturing automation applications...

 family.

Features which set ControlNet apart from other fieldbuses include the built-in support for fully redundant cables and the fact that communication on ControlNet can be strictly scheduled and highly deterministic. Due to the unique physical layer, common network sniffers such as Wireshark
Wireshark
Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education...

 cannot be used to sniff ControlNet packets. Rockwell Automation provides ControlNet Traffic Analyzer software to sniff and analyze ControlNet packets.

Architecture

Physical Layer

RG-6
RG-6
RG-6/U is a common type of coaxial cable used in a wide variety of residential and commercial applications. The term "RG-6" itself is quite generic and refers to a wide variety of cable designs, which differ from one another in shielding characteristics, center conductor composition, and...

 coaxial cable
Coaxial cable
Coaxial cable, or coax, has an inner conductor surrounded by a flexible, tubular insulating layer, surrounded by a tubular conducting shield. The term coaxial comes from the inner conductor and the outer shield sharing the same geometric axis...

 with BNC connector
BNC connector
The BNC connector ' is a common type of RF connector used for coaxial cable. It is used with radio, television, and other radio-frequency electronic equipment, test instruments, video signals, and was once a popular computer network connector. BNC connectors are made to match the characteristic...

s, though optical fiber is sometimes used for long distances.
The network topology is a bus structure with short taps. ControlNet also supports a star topology if used with the appropriate hardware.
ControlNet can operate with a single RG-6
RG-6
RG-6/U is a common type of coaxial cable used in a wide variety of residential and commercial applications. The term "RG-6" itself is quite generic and refers to a wide variety of cable designs, which differ from one another in shielding characteristics, center conductor composition, and...

 coaxial cable
Coaxial cable
Coaxial cable, or coax, has an inner conductor surrounded by a flexible, tubular insulating layer, surrounded by a tubular conducting shield. The term coaxial comes from the inner conductor and the outer shield sharing the same geometric axis...

 bus, or a dual RG-6
RG-6
RG-6/U is a common type of coaxial cable used in a wide variety of residential and commercial applications. The term "RG-6" itself is quite generic and refers to a wide variety of cable designs, which differ from one another in shielding characteristics, center conductor composition, and...

 coaxial cable
Coaxial cable
Coaxial cable, or coax, has an inner conductor surrounded by a flexible, tubular insulating layer, surrounded by a tubular conducting shield. The term coaxial comes from the inner conductor and the outer shield sharing the same geometric axis...

 bus for cable redundancy. In all cases, the RG-6 should be of quad-shield variety.
Maximum cable length without repeaters is 1000m and maximum number of nodes on the bus is 99. However, there is a tradeoff between number of devices on the bus and total cable length. Repeaters can be used to further extend the cable length. The network can support up to 5 repeaters (10 when used for redundant netwoks). The repeaters do not utilize network node numbers and are available in copper or fiber optic choices.

The physical layer signaling uses Manchester code
Manchester code
In telecommunication and data storage, Manchester code is a line code in which the encoding of each data bit has at least one transition and occupies the same time...

 at 5 Mbit/s.

Link Layer

ControlNet is a scheduled communication network designed for cyclic data exchange. The protocol operates in cycles, known as NUIs, where NUI stands for Network Update Interval.
Each NUI has two phases, the first phase is dedicated to scheduled traffic, where all nodes with scheduled data are guaranteed a transmission opportunity.
The second phase is dedicated to unscheduled traffic. There is no guarantee that every node will get an opportunity to transmit in every unscheduled phase.
Both the scheduled and unscheduled phase use an implicit token ring media access method.
The amount of time each NUI consists of is known as the NUT, where NUT stands for Network Update Time. It is configurable from 2 to 100 ms. The default NUT on an unscheduled network is 5 ms.

The maximum size of a scheduled or unscheduled ControlNet data frame is 510 Bytes.

Application Layer

The ControlNet application layer protocol is based on the Common Industrial Protocol
Common Industrial Protocol
The Common Industrial Protocol is an industrial protocol for industrial automation applications. It is supported by ODVA.Previously known as Control and Information Protocol, CIP encompasses a comprehensive suite of messages and services for the collection of manufacturing automation applications...

 (CIP
CIP
-Business:* Carriage and Insurance Paid to, an Incoterm* Construction in Progress, in accountancy, a balance sheet assets item used for assets being constructed, e.g...

) layer which is also used in DeviceNet
DeviceNet
DeviceNet is a network system used in the automation industry to interconnect control devices for data exchange. It uses Controller Area Network as the backbone technology and defines an application layer to cover a range of device profiles...

 and EtherNet/IP
EtherNet/IP
EtherNet/IP is a communications protocol developed by Rockwell Automation, managed by the Open DeviceNet Vendors Association and designed for use in process control and other industrial automation applications....

.

An End User's Experiences

ControlNet's scheduled message system requires that the media be robustly designed and meticulously maintained. A break in the media invariably causes a SNAFU
SNAFU
SNAFU is an acronym that stands for situation normal: all fucked up. It is sometimes bowdlerized to all fouled up or similar. In simple terms, it means that the normal situation is in a bad state, as it always is, therefore nothing unexpected. It is usually used in jest, or as a sign of frustration...

. The network is checked with a handheld device known as a "Network Checker" in conjunction with a DSO running at 100 MHz
Hertz
The hertz is the SI unit of frequency defined as the number of cycles per second of a periodic phenomenon. One of its most common uses is the description of the sine wave, particularly those used in radio and audio applications....

or higher. The media itself (coax) can be checked with a handheld device known as a "Media Checker". It must NOT be placed on an active network. Its purpose is to check for opens, shorts, impedance problems, etc. It can be used to identify the distance (in feet) from the Media Checker to a short in the cable.
In Rockwell PLC systems, the network is configured via RSNetworx For ControlNet. By opening this program the network is scanned and a graphical screen is populated with each node on the network. Each processor has a "scanlist configuration" which shows its connections to remote racks, frequency drives, and any other devices that communicate with it. This program performs for remote racks essentially the same functions as the I/O configuration in the local rack. In the I/O configuration table of Logix, analog cards can be assigned block transfers. In RSNetworx, ControlNet analog cards in remote racks are assigned scheduled messages in blocks of words. Processors communicate with each other via "produced" and "consumed" tags. A processor's produced tag, for instance, may be 50 words. This block will be broadcast for any other processor to consume. Likewise, the same processor may consume 50 words from another processor. Data in this manner can only be produced by one source, but can be consumed by many. Such use of produced & consumed tags require that the network be "scheduled" at some point. ControlNet supports conventional message (MSG) instructions to send data between PLCs as well but as it happens during the unscheduled portion of the network update, those messages don't require scheduling. In those systems utilizing the Logix family of processors, specific mapping of produced and consumed tags is not required to be performed in the RSNetworx for ControlNet software. In both PLC and Logix family systems, the RSNetworx software "schedules" the network after first determining that the pending connections to the various devices can be facillitated with projected bandwidth calculations offering the programmer the option of changing some of the characteristics of the devices before the network scheduling takes place.
When a network is "scheduled", thwe configuration is flashed into the memory of those devices on the network that ar "keeper configurable". That is to say, they have the capability to retain the network's configuration with all of its connections (I/O, produced/consumed tags, etc.) A keeper on a network is NOT a master. It permits devices to rejoin a network when they are removed provided they were on the network during scheduling. ControlNet 1.5 allows for multiple keepers on the ControlNet network where the device with the lowest node number is the designated "active keeper". Should the active keeper be removed from the network, the role of active keeper is passed to the next highest node number of a device that is "keeper capable". This is what allows the original active keeper to rejoin the network when it is returned to the network. It is recommended that keeper capable devices occupy low node numbers starting with node 1. (Node number 0 is not available for devices placed on the network.)

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK