Skip to content

run both TCP master and TCP slave at same time? #59

Answered by alisitsyn
test2012vnz asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alisitsyn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants