How can two pc's communicate without any hardware using modbus tcp/ip protocol and also by using STM32 IDE ??

I have two pc's, one should act as master and other should act as slave and my requirement is to communicate both pc without any hardware or any physical connections between them with modbus tcp/ip protocol in STM32 IDE in c language

As I am a beginner, i need help from u people

email:[email protected]

I will be thankful to the help....
 
Your question is a bit confusing, as there are details that don't seem to make sense.

I understand you have two PC's (one should be a master and the other a slave) and you want them to communicate to each other using the Modbus/TCP protocol.

The confusing part is your stipulation that the PC's must do this without any hardware or physical connections between them. If no physical connections can be used, then you could use WiFi. Of course, this requires the PC's to both have network interface hardware that supports WiFi (does this violate your no hardware requirement?)

Also, where does the STM32 IDE and C language come in? This IDE and the C language are for programming STMicroelectronics' STM32 family of microcontrollers. Are you using a STM32 microcontroller? If so, how?

Can you provide more context on what you're trying to do? Communication, such as Modbus/TCP, simply provides a means of exchanging data between two devices. What do you intend the PC's to do with this data? Is there additional software on the PC that logs, charts, visualizes, etc. the data?
 
Your question is a bit confusing, as there are details that don't seem to make sense.

I understand you have two PC's (one should be a master and the other a slave) and you want them to communicate to each other using the Modbus/TCP protocol.

The confusing part is your stipulation that the PC's must do this without any hardware or physical connections between them. If no physical connections can be used, then you could use WiFi. Of course, this requires the PC's to both have network interface hardware that supports WiFi (does this violate your no hardware requirement?)

Also, where does the STM32 IDE and C language come in? This IDE and the C language are for programming STMicroelectronics' STM32 family of microcontrollers. Are you using a STM32 microcontroller? If so, how?

Can you provide more context on what you're trying to do? Communication, such as Modbus/TCP, simply provides a means of exchanging data between two devices. What do you intend the PC's to do with this data? Is there additional software on the PC that logs, charts, visualizes, etc. the data?
I want to develop own applications for both master and slave using IDE and C language.
Is it really possible to do??
 
I want to develop own applications for both master and slave using IDE and C language.
Please clarify, is your intention to develop Modbus applications for an STMicroelectronics STM32 microcontroller?

You need to clearly explain what equipment/devices you are using and what you are trying to accomplish in order for us to be able to help you.
 
As this seems to be a homework assignment, I'll tell you what I just told your classmate.
https://control.com/forums/threads/modbus-tcp-ip-communication-suggest-good-platform-for-that.54140/

For assignments such as this, we are not going to do your work for you. We can, however, review the work you've already done and help point you in the right direction. Consider what you're currently learning in the class, how this assignment relates to what you're learning, and how your instructor might expect you to solve this issue, given the knowledge and tools they've taught you.

So if you want assistance, explain the exact requirements of the assignment, what work you've done, and include the code you've written. We can then review it and provide guidance.
 
Top