Subscribe

Latest Blog Post

Communications Protocol Structures & Models

Samuel Bouchard
by Samuel Bouchard. Last updated on Dec 12, 2024 5:32 PM
Posted on May 12, 2014 3:37 PM. 2 min read time

Communication protocols describe the set of rules to be used in communication exchange; each one having its own syntax, semantics, and synchronization rules. There are currently two main models for communication protocols being used. The Department of Defense (DOD) went in first with the TCP/IP (Transmission Control Protocol and Internet Protocol) suite in 1970 with which the Internet network evolved. Then the International Organization for Standardization (ISO) effort in the networking domain resulted in the OSI model in 1978. 

OSI (Open System Interconnection) model:

  1. Physical Link: Transportation medium (RS-232, USB, Firewire, Ethernet, optical fiber, radio link)
  2. Data Link: Functional and procedural means of data transfer. Physical addressing and arrangement of bits. (LLC, token bus, x-25, CAN-bus)
  3. Network: Transfer of data sequences and managing routes. (NBF, CNLS)
  4. Transport: Providing reliable data transfer to the upper levels. End-to-end data transfer. Success of data transmission, error check. (TP0,TP1,TP2,TP3,TP4)
  5. Session: Controlling the dialog between terminals. Synchronization of exchanges, session opening and closing. (Half duplex, full duplex, etc.)
  6. Presentation: Formatting and encrypting/decrypting data to be sent on the network. (ASCII)
  7. Application: End user access point, interact with software application. (Modbus)

industrial communication protocols
Summary of OSI and TCP/IP communication protocols model

TCP/IP, a more pragmatic approach from the internet:

  1. Link Layer: The lowest layer (closest to the machine), the physical and logical connection between host and nodes. (Ethernet, IEEE 802)
  2. Internet Layer: Regrouping the methods, protocols, and specification of data packets transportation. (IP for Internet Protocol, using IPv4 or IPv6)
  3. Transportation Layer: Providing end-to-end communication; ensuring reliability, flow control, and multiplexing. (TCP or UDP)
  4. Application Layer: The highest layer (closest to the user) protocols, it uses the transportation and internet layer to establish host-to-host connection. (FTP, HTTP, FMTP, etc.).

Communication Protocols in Industrial Robotics

Most of the protocols being used in the industry apply on level 7 of the OSI model and vary with the type of physical connection being used (level 1 and 2 of the OSI model). The OSI model can apply to many of the protocols used in the industry, like DeviceNet, ControlNet, and Ethernet/IP protocols, but there are no real standards on the model being used and many of them are a blend of OSI and TCP/IP models. Watch the next post on robotics communication protocols for more!

communication protocol

Leave a comment

Samuel Bouchard
Written by Samuel Bouchard
Samuel is CEO and co-founder of Robotiq. His mission is to free human hands from repetitive tasks. He is also the author of Lean Robotics: A Guide to Making Robots Work in Your Factory. He lives in Québec City with his wife and four children.
Connect with the writer:
http://robotiq.com

Related posts

Can You Play Minecraft? You'll Ace the Robot Programming Game

Do you think that you need super programming skills to program robots? Not so!

If you can play computer games — even simple...

Alex Owen-Hill
By Alex Owen-Hill - April 29, 2022
What is the difference between Ethernet/IP and TCP/IP?

When it comes to the industrial protocols that we support here at Robotiq, one of the most frequent questions that gets asked...

Nicolas Lauzier
By Nicolas Lauzier - February 21, 2020
How to Achieve Effortless Programming With Skills

Can robot programming really be this easy? Well yes! We compare the traditional vs the new way of programming.

Robot...

Alex Owen-Hill
By Alex Owen-Hill - October 19, 2017