Modbus question

mk42

Lifetime Supporting Member
Join Date
Jun 2013
Location
MI
Posts
3,278
Got a PM from a user "shwe", thought it should be a thread instead:

I need a help from you
As i am beginner please help me in understanding Modbus TCP/IP v/s UDP

Why do we need to convert RS485 to TCP


RS485 conversion is completely different to the TCP vs UDP question. What are you trying to do?
 
I am surprised to hear all these Modbus UDP conversations lately and not just in this forum, I hear that from other sources.
Is this all coming forum the same user (or company) who is trying to push something?
As pointed above, this is not something standard.
It’s not a big deal to write transport from TCP to UDP, there is a bigger issue.
While UDP will reduce overhead of handshaking, my big concern is how implementer should handle timeouts?
For example, with EtherNet/IP it’s clearly defined as 4x RPI and minimum 100ms. Both devices will monitor and enforce that.
How this will be handled with ModBus UDP since there is not standard?
It means that every vendor will try to make it’s own..
So what will happen when devices start talking?
 
There is no such animal as Modbus UDP. Just about any serial protocol can be encapsulated in UDP (or TCP). Typically you have a terminal server on each end to encapsulate and unencapsulate the serial data, but that's not required.
 
There is no such animal as Modbus UDP.
The link I had posted above has source code for such.

Yes, there is no 'Standard' for Modbus/UDP, and for reasons I don't comprehend, people seem to want to mess with it; hence the questions that pop up.

Me - I stick to conventional. No time to mess proprietary diversions.
 

Similar Topics

I am trying to figure out some communication specifics for a Modbus RTU network that I will be integrating with and could use some help to make...
Replies
9
Views
2,074
Hello guys, Did you set up a SEL3530 Modbus Server before? Suppose a Modbus TCP server can process request from multiple client, right? However...
Replies
1
Views
984
Hello guys, I got a question. I have a Wago 750-841 with some modules. I try to control the PLC using Modbus TCP which is working great so far...
Replies
0
Views
1,270
Hi all, I'm working on a wastewater plant where I have a ControlLogix PLC as the master PLC, alongside three packaged systems that are being...
Replies
10
Views
3,858
I have used a half dozen fieldbus protocols over the years but never Modbus TCP. I guess the time has come. I am trying to read sensor data from...
Replies
18
Views
5,895
Back
Top Bottom