run both TCP master and TCP slave at same time? #59
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @test2012vnz , Thank you for the question. The stack esp-modbus v1.0.x supports one Master and one Slave of each type. |
Beta Was this translation helpful? Give feedback.
Hi @test2012vnz ,
Thank you for the question. The stack esp-modbus v1.0.x supports one Master and one Slave of each type.
So, yes the TCP master and TCP slave can work. The esp-modbus v2.0 supports several instances of Modbus Master and Slave with its independent setup options and possible handling in the same application. The examples describe creation of one instance at a time as it was in previous stack. The code of Modbus Master and Slaves can be combined in your application to realize complex functionality. Also, you can take a look to test_apps to get more ideas. Please describe your project and idea to let me identify possibility and limitation in this case and provide suggestions.