Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port0 and port1 work with modbus RTU two instance of a slave at the same time (IDFGH-7798) #9

Closed
dorry3 opened this issue Jul 12, 2022 · 5 comments

Comments

@dorry3
Copy link

dorry3 commented Jul 12, 2022

port0 and port1 work with modbus RTU two instance of a slave at the same time?

@github-actions github-actions bot changed the title port0 and port1 work with modbus RTU two instance of a slave at the same time port0 and port1 work with modbus RTU two instance of a slave at the same time (IDFGH-7798) Jul 12, 2022
@alisitsyn
Copy link
Collaborator

Hello @dorry3,

The esp-modbus supports one instance of master and one slave of each type to work simultaneously. It is not possible to start two Modbus RTU slaves at the same time.

@alisitsyn alisitsyn self-assigned this Jul 12, 2022
@Silvesterrr
Copy link

Hello @dorry3,

The esp-modbus supports one instance of master and one slave of each type to work simultaneously. It is not possible to start two Modbus RTU slaves at the same time.

"of each type?" So does it means that now it's possible to have for example 1 rtu master, 1 rtu slave and 1 tcp slave simultaneously?

@alisitsyn
Copy link
Collaborator

alisitsyn commented Jan 30, 2023

No, it was not clear enough. Only one master and one slave instance can work simultaneously in the application. For example: Slave RTU + Master TCP, Slave RTU + Master RTU, Master RTU + Slave TCP.

@alisitsyn
Copy link
Collaborator

alisitsyn commented Jul 17, 2023

the status of it is in progress and will be implemented in stack v2.0.0_beta1.

@alisitsyn
Copy link
Collaborator

This functionality is implemented in v2.0.0-beta release: #45
This version is able to create several Master and Slave instances in one user application. Each instance has its own communication options. The documentation, examples, tests are part of this initial release.

The issue will be closed. Feel free to reopen the issue or submit a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants