-
Notifications
You must be signed in to change notification settings - Fork 956
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
Asyncio serial client not passing in all serial parameters, may help with sync issues #486
Labels
Comments
dhoomakethu
added a commit
that referenced
this issue
Jul 3, 2020
2. Fix examples 3. Fix #494 - handle_local_echo 4. Fix #500 -- asyncio serial client with already running loop 5. Fix #486 - Pass serial args for asyncio serial client 6. Fix #490 - Typo in decode_data for socker_framer 7. Fix #385 - Support timeouts to break out of responspe await when server goes offline 8. Misc updates
This is fixed with. https://github.com/riptideio/pymodbus/tree/asyncio-bug-fixes Refer e402d9f#diff-90d825c299aa37cc31eb357be29777fbR731. Please check and confirm. |
dhoomakethu
added a commit
that referenced
this issue
Aug 1, 2020
* Closes #491 * 1. update requirements 2. Fix examples 3. Fix #494 - handle_local_echo 4. Fix #500 -- asyncio serial client with already running loop 5. Fix #486 - Pass serial args for asyncio serial client 6. Fix #490 - Typo in decode_data for socker_framer 7. Fix #385 - Support timeouts to break out of responspe await when server goes offline 8. Misc updates * #516 custom data block fix
dhoomakethu
added a commit
that referenced
this issue
Sep 11, 2020
* 1. update requirements 2. Fix examples 3. Fix #494 - handle_local_echo 4. Fix #500 -- asyncio serial client with already running loop 5. Fix #486 - Pass serial args for asyncio serial client 6. Fix #490 - Typo in decode_data for socker_framer 7. Fix #385 - Support timeouts to break out of responspe await when server goes offline 8. Misc updates * #516 custom data block fix * Fix broadcast error with REPL client #515 * Fix #509 Wrong unit ID referenced in framers * Update documentation for serial forwarder example. Fixes #525 * Fix unit tests, support python 3.8 for tests, renamed: pymodbus/server/asyncio.py -> pymodbus/server/async_io.py and pymodbus/client/asynchronous/asyncio -> pymodbus/client/asynchronous/async_io * Ignore python3 code syntax while reporting coverage * Fix tests failing on python 3.6 and osx * Fix typo in makefile * Fix test execution errors specific to python3.6 * Osx travis issue - Fix trial 1 * Travis reverting xcode to 8.x for mac osx
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Versions
Pymodbus Specific
Description
I see frequent framing errors where the client is not waiting for the response to complete, dropping bytes that cause the CRC to fail. I tried to add 'timeout' parameter but it threw an unexpected keyword error. Digging through the source I see that AsyncioModbusSerialClient init does not include several of the serial parameters including timeout, write_timeout, inter_byte_timeout and flow control options. Those could all be passed through which may help with sync issues.
May overlap other sync related issues.
Code and Logs
Function missing **kwargs for additional serial configuration
Success example followed by Failed example (happens intermittent)
The text was updated successfully, but these errors were encountered: