Modbus slave tcp and master serial


Thread Starter


Hi my name is Robert and I need to use modbus in mbed microcontroller
<pre>But I need tcp slave and serial master, libraries you provide to mbed
doesn't support two instances.</pre>
I would my program uses tcp and serial because I need to establish communications between server (tcp) and Serial controller. Imagine, Is a traductor, I wait tcp petitions and when tcp petition arrives I traduce it in a serial communication context and the program send data of the packet to the serial port and receive a response to the device use modbus protocol in all cases.