![]() Modbus Library.Modbus TCP slave to Modbus Master converter. Yes I understood that Modbus TCp isn't RTU or ASCII over TCP, what I meant is that modbus TCP is like any TCP communication, the only difference is the data structure (right?). I am forced to use modbus and even if I wasn't the situation I am working on makes using modbus the, or a, logical solution. Thank you very much for your answer, I was looing hope. ![]() I would like to start from scratch so libraries are not what I am looking for.What I am asking for is if someone could give me a simple code written in C for a client and/or a server that communicate using Modbus, since I am not sure of what I will be using any type of Modbus would be a great help (RTU/TCP/ASCII).The simpler the better, what I would like the code to demonstrate is, for example: an initialization to the server, a request, an answer, closing the connection.Thank you very much for your time. I am not sure if I want to be using ModBus/TCP, ModBus/RTU or ModBus/ASCII for now.I have searched for client/server examples in C and I could find libraries but no simple example of communication. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |