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

Flexible Input Output Modules
Two Element Drum Level Control System
How to Analyze a Cascade Control Loop?
Cascade Control Principle
What is HART Protocol ?
Difference Between Batch Process and Continuous Process
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

Process Control Fundamentals
Introduction to PlantPAx Distributed Control System
Difference between Cold Standby and Hot Standby
Overview of HIPPS System
Modbus Function Command Formats
Difference between TCP/IP Model and OSI Model
What is Multi-touch Technology? – Industrial Automation
What is Alarm Prioritization? – Types of Alarms

Keep Learning

How to Use Loop Calibrator

Troubleshooting with Loop Calibrator

Closed Loop Control System

Types of Control Systems

hipps

What is High Integrity Pressure Protection System?

What is Static Grounding

What is Static Grounding?

Centralized vs Decentralized Automation Systems

Centralized vs Decentralized Automation Systems

Ziegler-Nichols Closed Loop Tuning Procedure

Ziegler-Nichols Closed Loop Tuning Procedure

Fieldbus Segment

Basics of Foundation Fieldbus

Modbus ASCII and RTU Message Frame

Background of Modbus – ASCII and RTU Data Frames

Learn More

Power Electronics Objective Questions

Chopper Control Strategies Objective Questions

NIST Traceability

NIST Traceability

What is Transformer Bushing

What is Transformer Bushing? Working Principle

Control Valve Air to Open type

Control Valve Installation, Maintenance, Disassembly & Reassembly

cat5e plenum cable

cat5e Plenum Cable History, Advantages and Disadvantages

Analyzers Questions and Answers

Dissolved Oxygen Analyzer Questions and Answers

Rate of Rise Thermal Detectors Working Principle

Rate of Rise Thermal Detectors Working Principle

Kv-value of a valve is determined by a standardised test

Calculate Flow Coefficient Kv of Solenoid Valve

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?