By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: What is Timeout in Communication Protocols?
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Ask
  • Courses
  • Videos
  • Q & A
  • EE
  • Measure
  • Control
  • More
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
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 !
What is a Control Panel and its types?
Recognizing a Porpoising PID Controller
PID Controller Selection
Setpoints and Alarms in Control System
Control Loops Objective Questions and Answers
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
208kSubscribersSubscribe
38kFollowersFollow

Recent Comments

  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers
  • anuj kapoor on DCS Program to Maintain Draft in Furnace
  • anuj kapoor on IoT based Smart Boiler Control System with Cloud PLC and SCADA

Related Articles

What is Rapid Spanning Tree Protocol

What is Rapid Spanning Tree Protocol? – RSTP Network

Networked SCADA Architecture

Types of SCADA System Architecture

Difference Between Modbus TCP IP and Profinet

Difference Between Modbus TCP IP and Profinet

HART Communication Tutorial 2

HART Communication Tutorial Part 5

Relation Control

Relation Control System

What is PID Controller

What is PID Controller?

4-20mA Current Loop for Flow Transmitter and Control Valve Positioner

4–20 mA Process Control Loops

PID Controller Loop Tuning Questions and Answers

PID Controller Loop Tuning Questions and Answers – Part 2

More Articles

FF Function block location

Foundation Fieldbus Logics

Pressure Regulators vs Pressure Control Valves

Pressure Control Valves vs Pressure Regulators

Comparison between Transit time and Doppler Flow Meter

Difference between Transit time and Doppler Ultrasonic Flow Meter

Parts of PLC

Parts of PLC

Improved Sprocket Segment Bolting to body

A Plant Bucket Elevators chains too short chain lives problem eliminated

PLC Controls a Valve

PLC Controls a Valve Video

Convert 4-20ma current output to foundation fieldbus

H2 S and Total Sulfur Using Lead Acetate Principle

H2S Measurement Using Lead Acetate Principle

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?