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

Implemented Modbus Function code FC23 client function. #38

Merged
merged 3 commits into from
Dec 20, 2023

Conversation

Okoyl
Copy link

@Okoyl Okoyl commented Dec 19, 2023

I have implemented FC23 support, it allows writing and reading multiple registers on a single transmission.

Copy link
Owner

@hirschenberger hirschenberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thank you for that PR. Can you also please add WriteReadMultiple tests to tests/lib.rs and check them with:

cargo test --features modbus-server-tests

src/tcp.rs Outdated Show resolved Hide resolved
@Okoyl
Copy link
Author

Okoyl commented Dec 19, 2023

Hello, thank you for that PR. Can you also please add WriteReadMultiple tests to tests/lib.rs and check them with:

cargo test --features modbus-server-tests

I added a simple test that checks it twice, it passes the test.

src/tcp.rs Outdated Show resolved Hide resolved
@hirschenberger hirschenberger merged commit d259a8a into hirschenberger:master Dec 20, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants