ArticleslgStudy

computer science

DeviceNet

DeviceNet is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand DeviceNet rather than just read about it. In short: DeviceNet is a network protocol used in the automation industry to interconnect control devices for data exchange. It utilizes the Common Industrial Protocol over a Controller Area Network media layer and defines an application layer to cover a range of device profiles.

Key takeaways

  • DeviceNet belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect DeviceNet to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of DeviceNet from memory before moving on to harder problems.

Reference excerpt

DeviceNet is a network protocol used in the automation industry to interconnect control devices for data exchange. It utilizes the Common Industrial Protocol over a Controller Area Network media layer and defines an application layer to cover a range of device profiles. Typical applications include information exchange, safety devices, and large I/O control networks.

History DeviceNet was originally developed by American company Allen-Bradley (now owned by Rockwell Automation). It is an application layer protocol on top of the CAN (Controller Area Network) technology, developed by Bosch. DeviceNet adapts the technology from the Common Industrial Protocol into an open standard. In order to promote the use of DeviceNet worldwide, Rockwell Automation has adopted the "open" concept and decided to share the technology to third-party vendors. Hence it is now managed by ODVA, an independent organization located in North America. ODVA maintains specifications of DeviceNet and oversees advances to DeviceNet. In addition, ODVA ensures compliance to DeviceNet standards by providing conformance testing and vendor conformity. ODVA later decided to bring DeviceNet back to its predecessor's umbrella and collectively refer to the technology as the Common Industrial Protocol or CIP, which includes the following technologies:

EtherNet/IP ControlNet DeviceNet ODVA claims high integrity between the three technologies due to the common protocol adaptation, which makes industrial controls much simpler compared to other technologies. DeviceNet has been standardized as IEC 62026-3.

Architecture Technical Overview Define the OSI seven-layer architecture model the physical layer, data link layer and application layer

Network in addition to the signal, but also including power, self-powered support network function (generally used in small devices, such as photo detectors, limit switches or proximity switches, etc.) [2] Allows three bit rates: 125 kbit/s, 250 kbit/s and 500 kbit/s, the main trunk under different bit rates (trunk) is inversely proportional to the length and bitrate Flat cable network can be used Single network can have up to 64 nodes, node address (called MAC ID in DeviceNet) by 0–63. Usually the default address for a new out of the box device is 63 Duplicate node address detection function Supports master-slave and end-to-end (peer-to-peer) communication architecture, but most of the equipment is operating in the former network architecture Multiple network allows a single master function Can be used in high-noise environments

Physical layer Nodes are distributed along a DeviceNet network by the means of a trunkline-dropline topology. This topology allows for ease in wiring and access to the network from multiple taps. In addition, nodes can be easily removed and added to reduce production downtime, increase network flexibility, and decrease troubleshooting time. Since the physical layer is optically isolated from the device, communication power and device power can share the same bus (further reducing the complexity of the network and components within). (Introduction) DeviceNet supports 125 kbit/s, 250 kbit/s and 500 kbit/s data rates. Depending on the chosen cable type, DeviceNet can support communication up to 500 meters (using round, large diameter cable). Typical round cable supports up to 100 meters, while flat-style cable supports up to 380 meters at 125 kbit/s and 75 meters at 500 kbit/s. (Physical Layer )

Data link layer DeviceNet uses a differential serial bus (Controller Area Network) as its Data Link Layer. Using CAN as a backbone, DeviceNet requires minimal bandwidth to transmit and package messages. In addition, a smaller processor may be selected in the design of the device thanks to the data frame format and the ease at which the processor can parse the data. See below for full format. (The Data Link Layer) CAN Data Frame Format

1 bit => Start of frame 11 bits => Identifier 1 bit => RTR bit 6 bits => Control field 0–8 bytes => Data field 15 bits => CRC sequence 1 bit => CRC delimiter 1 bit => Acknowledge 1 bit => Ack delimiter 7 bits => End of frame >2 bits => Interframe space

Reference: Table: Data Frame Format. Upon transmitting the first packet of data, the Start of Frame bit is sent to synchronize all receivers on the network. The CAN identifier (denoted from 0–63) and RTR bit combine to set priority, at which the data can be accessed or changed. Lower identifiers have priority over higher identifiers. In addition to transmitting this data to other devices, the device also monitors the data sent. This redundancy validates the data transmitted and eliminates simultaneous transmissions. If a node is transmitting at the same time as another node, the node with the lower 11 bit identifier will continue to transmit while the device with the higher 11 bit identifier will stop. (Introduction & Physical Layer.) The next six bits contain information for specifying the Control Field. The initial two bits are fixed, while the last four are used to specify length field of the Data Field. The Data Field contains from zero to eight bytes of usable data. (Physical Layer.) The following data frame is the CRC field. The frame consists of 15 bits to detect frame errors and maintains numerous format delimiters. Due to ease of implementation and immunity to most noisy networks, CAN provides a high level of error checking and fault confinement. (Physical Layer.)

Network DeviceNet incorporates a connection-based network. A connection must initially be established by either an UCMM (Unconnected Message Manager) or a Group 2 Unconnected Port. From there, Explicit and Implicit messages can be sent and received. Explicit messages are packets of data that generally require a response from another device. Typical messages are configurations or non-time sensitive data collection. Implicit messages are packets of data that are time-critical and generally communicate real-time data over the network. An Explicit Message Connection has to be used to established first before an Implicit Message Connection is made. Once the connection is made, the CAN identifier routes data to the corresponding node. (The Network and Transport Layers.)

See also Common Industrial Protocol EtherNet/IP ControlNet CANopen

External links Website of the Open DeviceNet Vendor Association Notes

Worked examples

Example 1 — a first encounter with DeviceNet

Start with the simplest possible case. Write down what DeviceNet claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to DeviceNet before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about DeviceNet ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of DeviceNet

In research
DeviceNet appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses DeviceNet in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
DeviceNet is common in secondary-school and first-year university syllabi. It links to neighbouring topics Industrial automation, Industrial computing, Serial buses, so understanding it makes those chapters shorter.
In everyday life
Look for DeviceNet outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “DeviceNet” →

How to study DeviceNet in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what DeviceNet means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain DeviceNet out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is DeviceNet in simple terms?

DeviceNet is a network protocol used in the automation industry to interconnect control devices for data exchange. It utilizes the Common Industrial Protocol over a Controller Area Network media layer and defines an application layer to cover a range of device profiles.

Why does DeviceNet matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study DeviceNet?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on DeviceNet.

Tags

  • Industrial automation
  • Industrial computing
  • Serial buses

Keep exploring