Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: What is Timeout in Communication Protocols?
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > Communication > What is Timeout in Communication Protocols?

What is Timeout in Communication Protocols?

Timeout in communication protocols is the time limit a system waits for a response before assuming failure or delay.

Last updated: September 19, 2024 2:03 pm
Viral Nagda
Communication Control Systems
No Comments
Share
5 Min Read
SHARE

In communication protocols, a certain sender and receiver cannot wait for a lifetime if data is not being communicated. This results in lag of communication and breaks the network, because the bandwidth is not utilized. For this, to continue with the other network work even if one communication fails, a setting called timeout is used in these protocols.

Contents
What is timeout?What happens when the timeout is too fast or too slow?Factors

An incorrect setting of this parameter can result in improper operation of communication. In this post, we will see why a timeout plays an important role in communication protocols.

What is timeout?

What is Timeout in Communication Protocols

Let us understand a basic concept first. In any communication, there are two parties – transmitter and receiver. A transmitter will send a message and the receiver will receive it. In return, the receiver will send an acknowledgment to the transmitter that it has received the message. The transmitter waits for this acknowledgement and it understands that the message has been communicated properly. For this purpose, there is a waiting time for getting this acknowledgment.

In this time interval, the acknowledgment should reach the transmitter. After the time elapses, if still the acknowledgment is not received, then it means the communication has not happened. This causes the transmitter to throw an exception message in the whole network, alarming about the failure in communication. This waiting time is called a timeout in communication protocols.

Typical values of timeout are in milliseconds or seconds. Most of the controllers have a default value for this timeout. It is set according to the function of the product. If required, then you can change the value of this timeout according to your applications.

What happens when the timeout is too fast or too slow?

Timeout is first of all important to set. Because every request by a transmitter will not be responded to by the receiver. So, a waiting time must be given for this response to be received in the transmitter. When the request has been sent, the timeout timer starts. In between, if the response has been received, then the timer resets to zero and starts again on the next request.

If the timeout is set too slow or long, then it will result in communication lag of the network. Because, if there are many devices in the network with a single master and multiple slaves, then the next slave will have to wait to give its response till the response of the first slave is over and acknowledged. Due to this, the network becomes slow and all the resources will not be utilized efficiently. Also, if other devices are added in the future, then a lot of network traffic will increase leading to increased congestion.

If the timeout is set too fast or short, then it will cause data loss or an unreliable network. This is because the slave devices will not get much time to respond to a request. If the ideal time for communication is 5 seconds, and you have set the time to 3 seconds, then communication errors will arrive every time; because you have not given ample time for the network to settle.

So, it is necessary to ensure that timeout is set properly so that the data packets are not lost. It is not necessary that data packets will reach at the same time every interval. So, a proper in-between value ensures a buffer in case some lag happens in the network. It must not be too fast nor too slow.

Factors

Timeout is also dependent on various factors like:

  1. Total number of devices in a network
  2. Data length
  3. Distance between each device
  4. Electrical noise around
  5. In a PLC or HMI program, apart from communication, there are other actions too like periodic functions or time-based functions which recur in a fixed interval every time. This time, along with communication time, adds to overall processing speed. So, depending upon your program written for these actions, timeout must be set accordingly. Otherwise, it can cause a lag in processing speed and indirectly, a delay in communication.

In this way, we saw the role of timeout in communication protocols.

Read Next:

  • What is IEC 61508?
  • Modbus versus DNP3 Protocols
  • OSI Layers of Communication
  • Networking Interview Questions
  • Basics of SCADA Hardware
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

Electrical and Instrumentation – Automation Pre-engineering Documents
Using of MCT instead of Cable Glands on the Cabinets
Wireless HART Communication Protocol Overview
OTDR Testing
Difference between ON-OFF Controller and PID Controller
4-wire Passive versus Active Transmitters
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

What is FAT and SAT? Difference between them
Understanding a Process Control Loop
Purpose of Gateways, Bridges & Routers in Networking
How to Select the Right Type of Controller
What is Override Control? – Need & Applications
Overview of HIPPS System
Liquid Level Switch Control Pump and Lamp
Technical Evaluation for DCS and ESD – Distributed Control System

Keep Learning

Pressure Control Loop

Pressure Control Loop Wiring Connections

HMI

Learn about SCADA and HMI Systems

Difference between HART and Foundation Fieldbus

Difference between HART and Foundation Fieldbus

How Twisted Wire Cables Eliminates Noise Voltage

Inductive Coupling Effects

Stripping tower unit

Process Control High Level Alarm Fault Analysis

Opposite Acting Valves

What is Split Range Control Loop ?

HART Communication Tutorial 1

HART Communication Tutorial Part 4

Fixed Type Motor control center (MCC)

Motor Control Center (MCC) Signal Interface Termination (SIT)

Learn More

Difference Between RTD, Thermocuples and Thermistors

Difference Between RTD, Thermocouple and Thermistor

PLC Retrofitting Project

What is a PLC Retrofitting Project? – Importance, Procedure

Jog button in Motor Start Stop Logic using PLC

What is Motor Jogging ?

Pirani Gauge Working Principle

Pirani Gauge Working Principle

Electrical & Electronics Measurements Objective Questions

Electrical & Electronics Measurements Objective Questions – Set 2

Convert Raw Counts to Engineering Units

Raw Counts to Engineering Units : Conversion Formula

PLC Programmer Unknown Do's

Unknown Do’s Need to Know as a PLC Programmer

Electrical Machines Questions and Answers

Parallel Operation of Single Phase Transformers

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?