cancel
Showing results for 
Search instead for 
Did you mean: 

TCP to Modbus RTU client

IIsha
Associate

Hello all

I am new in this forum

And would like to get yours help regurding adding to my working code the TCP to Modubs RTU client protocol.

the code is working on STM32F103 and I intend to add to my PCB Ethernet TCP to Serial RS232 Module in order to enable Ethernet link.

can anyone send information that can help me to understand if possible to start with this kind of code modification

thanks 

Ilan

2 REPLIES 2
AvaTar
Lead

> ... adding to my working code the TCP to Modubs RTU client protocol.

I hope you don't overreach.

There is no "Modbus TCP to RTU" protocol. RTU and TCP are variants of the same protocol over different media. Your product would be a gateway.

And having worked with both, don't understimate it. Both media (serial & Ethernet) have quite different properties, and are not trivial to handle (if you want a robust product).

The first step would be do download the protocol specifications, and study them carefully.

IIsha
Associate

Hi

and thanks for your response

I think I did mistake here, I need to implement Modbus TCP

Server (my device is a slave)

And I intend to add to my PCB Ethernet TCP to Serial RS232

Module in order to keep using ST F series

do you think /know if it will be difficult to handle this kind

of hardware configuration will prevent to achieve robust product